mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Add fterminal plug in nvim, xkill key in qtile
This commit is contained in:
parent
e6bd4f6c12
commit
88cbabb443
3 changed files with 23 additions and 9 deletions
2
bin/kbhl
2
bin/kbhl
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
case "$1" in
|
||||
"on"|"-on"|"--on"|1) xset led on ;;
|
||||
"off"|"-off"|"--off"|0) xset led off ;;
|
||||
"of"|"off"|"-off"|"--off"|0) xset led off ;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'iamcco/markdown-preview.nvim'
|
||||
Plug 'dhruvasagar/vim-table-mode'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'vifm/vifm.vim'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
|
||||
" File manger & seacher
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
|
|
@ -104,7 +104,7 @@ let g:vim_markdown_folding_disabled = 1
|
|||
let g:EasyMotion_do_mapping = 0
|
||||
let g:EasyMotion_smartcase = 1
|
||||
nmap f <Plug>(easymotion-s)
|
||||
map <Leader>w <Plug>(easymotion-bd-w)
|
||||
nmap <Leader>w <Plug>(easymotion-bd-w)
|
||||
nmap F <Plug>(easymotion-overwin-line)
|
||||
nmap s <Plug>(easymotion-overwin-f2)
|
||||
|
||||
|
|
@ -116,15 +116,25 @@ nmap <C-p> :CtrlP<CR>
|
|||
" Indent guides
|
||||
let g:indent_guides_enable_on_vim_startup = 1
|
||||
|
||||
" Floaterm
|
||||
nmap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>
|
||||
imap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>
|
||||
|
||||
" == Maping
|
||||
"imap fd <Esc>
|
||||
let mapleader=","
|
||||
|
||||
" Change window
|
||||
map <C-j> <C-W>j
|
||||
map <C-k> <C-W>k
|
||||
map <C-h> <C-W>h
|
||||
map <C-l> <C-W>l
|
||||
" Window
|
||||
nmap <C-h> :wincmd h<CR>
|
||||
nmap <C-j> :wincmd j<CR>
|
||||
nmap <C-k> :wincmd k<CR>
|
||||
nmap <C-l> :wincmd l<CR>
|
||||
nmap <A-q> :wincmd q<CR>
|
||||
nmap <A-c> :wincmd n<CR>
|
||||
nmap <A-z> :wincmd K<CR>
|
||||
nmap <A-x> :wincmd L<CR>
|
||||
nmap <A-h> :wincmd <<CR>
|
||||
nmap <A-l> :wincmd ><CR>
|
||||
|
||||
" Tab's
|
||||
noremap <C-Tab> :tabnext<CR>
|
||||
|
|
|
|||
|
|
@ -176,6 +176,10 @@ keys = [
|
|||
lazy.spawncmd(),
|
||||
desc="Spawn a command using a prompt widget"
|
||||
),
|
||||
Key([mod, "shift"], "Escape",
|
||||
lazy.spawn("xkill"),
|
||||
desc="Xkill"
|
||||
)
|
||||
]
|
||||
|
||||
# Workspaces name, keys
|
||||
|
|
@ -299,6 +303,6 @@ floating_layout = layout.Floating(
|
|||
{"wname": "pinentry"},
|
||||
{"wmclass": "ssh-askpass"},
|
||||
])
|
||||
auto_fullscreen = False
|
||||
auto_fullscreen = True
|
||||
focus_on_window_activation = "smart"
|
||||
wmname = "LG3D"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue