mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-13 16:32:30 -05:00
Adding mappings for <ctrl>up and <ctrl>down to move by a chunk of text
in either direction instead of mirroring up/down without <ctrl>
This commit is contained in:
parent
cb0122bff1
commit
a323216a19
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
||||||
" <Leader><C-w> | (N) -> remove whitespace
|
" <Leader><C-w> | (N) -> remove whitespace
|
||||||
" <Shift-p> | (N) -> paste and replace the current word
|
" <Shift-p> | (N) -> paste and replace the current word
|
||||||
" <Shift-p> | (V) -> paste and replace the selection
|
" <Shift-p> | (V) -> paste and replace the selection
|
||||||
|
" <Ctrl-Up> | (A) -> move up a chunk of text
|
||||||
|
" <Ctrl-Down> | (A) -> move down a chunk of text
|
||||||
"
|
"
|
||||||
" (neocomplcache)
|
" (neocomplcache)
|
||||||
" <Tab> | (I) -> write the part common to all suggestions
|
" <Tab> | (I) -> write the part common to all suggestions
|
||||||
|
@ -89,6 +91,10 @@
|
||||||
"map shift-p to paste and replace the current word or selection
|
"map shift-p to paste and replace the current word or selection
|
||||||
nnoremap <S-p> "_diwP
|
nnoremap <S-p> "_diwP
|
||||||
vnoremap <S-p> "_d"0P
|
vnoremap <S-p> "_d"0P
|
||||||
|
|
||||||
|
"map ctrl-up and ctrl-down to moving up/down by a block of text
|
||||||
|
map <C-Up> <C-U>
|
||||||
|
map <C-Down> <C-D>
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"PLUGIN KEYBINDINGS {{{
|
"PLUGIN KEYBINDINGS {{{
|
||||||
|
|
Loading…
Reference in a new issue