Hotkeys
This commit is contained in:
parent
0727816e6b
commit
6e0c69fd62
@ -1,18 +1,14 @@
|
|||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
|
|
||||||
" core
|
" core
|
||||||
nnoremap <Leader>w :w<Cr>
|
nnoremap <silent><Leader>w :w<Cr>
|
||||||
nnoremap <Leader>x :x<Cr>
|
nnoremap <silent><Leader>x :x<Cr>
|
||||||
nnoremap <Bs> :bd!<Cr>
|
nnoremap <silent><Bs> :bd!<Cr>
|
||||||
nnoremap <Leader><Leader> :b#<Cr>
|
nnoremap <silent><Leader><Leader> :b#<Cr>
|
||||||
|
nnoremap <silent><Esc><Esc> :nohlsearch<Cr>
|
||||||
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
|
|
||||||
nnoremap Q <Nop>
|
nnoremap Q <Nop>
|
||||||
noremap <C-c> <Esc>
|
noremap <C-c> <Esc>
|
||||||
|
|
||||||
nnoremap j gj
|
|
||||||
nnoremap k gk
|
|
||||||
|
|
||||||
vnoremap <Leader>y "+y
|
vnoremap <Leader>y "+y
|
||||||
vnoremap <Leader>d "+d
|
vnoremap <Leader>d "+d
|
||||||
vnoremap <Leader>p "+p
|
vnoremap <Leader>p "+p
|
||||||
@ -24,13 +20,19 @@ nnoremap <Leader>P "+P
|
|||||||
nnoremap <Leader>yy "+yy
|
nnoremap <Leader>yy "+yy
|
||||||
nnoremap <Leader>d "+dd
|
nnoremap <Leader>d "+dd
|
||||||
|
|
||||||
nnoremap <kMinus> <C-W>-
|
nnoremap <A-k> <C-W>-
|
||||||
nnoremap <kPlus> <C-W>+
|
nnoremap <A-j> <C-W>+
|
||||||
|
nnoremap <A-h> <C-W><
|
||||||
|
nnoremap <A-l> <C-W>>
|
||||||
|
|
||||||
noremap <C-j> <C-W>j
|
noremap <C-j> <C-W>j
|
||||||
noremap <C-k> <C-W>k
|
noremap <C-k> <C-W>k
|
||||||
noremap <C-h> <C-W>h
|
noremap <C-h> <C-W>h
|
||||||
noremap <C-l> <C-W>l
|
noremap <C-l> <C-W>l
|
||||||
|
|
||||||
|
nnoremap j gj
|
||||||
|
nnoremap k gk
|
||||||
|
|
||||||
" vim-argwrap
|
" vim-argwrap
|
||||||
nnoremap <silent> <Leader>a :ArgWrap<Cr>
|
nnoremap <silent> <Leader>a :ArgWrap<Cr>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user