Add fterminal plug in nvim, xkill key in qtile

This commit is contained in:
Smirnov Olexandr 2020-12-15 19:06:36 +02:00
parent e6bd4f6c12
commit 88cbabb443
3 changed files with 23 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
case "$1" in case "$1" in
"on"|"-on"|"--on"|1) xset led on ;; "on"|"-on"|"--on"|1) xset led on ;;
"off"|"-off"|"--off"|0) xset led off ;; "of"|"off"|"-off"|"--off"|0) xset led off ;;
esac esac

View file

@ -6,7 +6,7 @@ call plug#begin('~/.vim/plugged')
Plug 'iamcco/markdown-preview.nvim' Plug 'iamcco/markdown-preview.nvim'
Plug 'dhruvasagar/vim-table-mode' Plug 'dhruvasagar/vim-table-mode'
Plug 'easymotion/vim-easymotion' Plug 'easymotion/vim-easymotion'
Plug 'vifm/vifm.vim' Plug 'voldikss/vim-floaterm'
" File manger & seacher " File manger & seacher
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } 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_do_mapping = 0
let g:EasyMotion_smartcase = 1 let g:EasyMotion_smartcase = 1
nmap f <Plug>(easymotion-s) 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 F <Plug>(easymotion-overwin-line)
nmap s <Plug>(easymotion-overwin-f2) nmap s <Plug>(easymotion-overwin-f2)
@ -116,15 +116,25 @@ nmap <C-p> :CtrlP<CR>
" Indent guides " Indent guides
let g:indent_guides_enable_on_vim_startup = 1 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 " == Maping
"imap fd <Esc> "imap fd <Esc>
let mapleader="," let mapleader=","
" Change window " Window
map <C-j> <C-W>j nmap <C-h> :wincmd h<CR>
map <C-k> <C-W>k nmap <C-j> :wincmd j<CR>
map <C-h> <C-W>h nmap <C-k> :wincmd k<CR>
map <C-l> <C-W>l 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 " Tab's
noremap <C-Tab> :tabnext<CR> noremap <C-Tab> :tabnext<CR>

View file

@ -176,6 +176,10 @@ keys = [
lazy.spawncmd(), lazy.spawncmd(),
desc="Spawn a command using a prompt widget" desc="Spawn a command using a prompt widget"
), ),
Key([mod, "shift"], "Escape",
lazy.spawn("xkill"),
desc="Xkill"
)
] ]
# Workspaces name, keys # Workspaces name, keys
@ -299,6 +303,6 @@ floating_layout = layout.Floating(
{"wname": "pinentry"}, {"wname": "pinentry"},
{"wmclass": "ssh-askpass"}, {"wmclass": "ssh-askpass"},
]) ])
auto_fullscreen = False auto_fullscreen = True
focus_on_window_activation = "smart" focus_on_window_activation = "smart"
wmname = "LG3D" wmname = "LG3D"