Fix inline comments for keymaps

master
Hektor Misplon 2021-03-28 10:37:23 +02:00
parent 5b0a9b629b
commit f8f15baa4a
1 changed files with 23 additions and 23 deletions

46
.vimrc
View File

@ -41,31 +41,31 @@ nn <space> <nop>
let mapleader = " " let mapleader = " "
let maplocalleader = ";" let maplocalleader = ";"
" Splits & navigation " Splits & navigation
nm ss :sp<CR><c-w>w " Split horizontal nm ss :sp<CR><c-w>w| " Split horizontal
nm sv :vs<CR><c-w>w " Split vertical nm sv :vs<CR><c-w>w| " Split vertical
nn sw <c-w>w " Navigate splits nn sw <c-w>w| " Navigate splits
nn sh <c-w>h " " nn sh <c-w>h| " "
nn sj <c-w>j " " nn sj <c-w>j| " "
nn sk <c-w>k " " nn sk <c-w>k| " "
nn sl <c-w>l " " nn sl <c-w>l| " "
nn sH <c-w>8< " Resize splits nn sH <c-w>8<| " Resize splits
nn sJ <c-w>8- " " nn sJ <c-w>8-| " "
nn sK <c-w>8+ " " nn sK <c-w>8+| " "
nn sL <c-w>8> " " nn sL <c-w>8>| " "
nn s= <c-w>= " Equalize splits nn s= <c-w>=| " Equalize splits
" Open " Open
nn sb :Lex<cr> " File tree nn sb :Lex<cr>| " File tree
nn <leader>t :term<cr> " Open terminal nn <leader>t :term<cr>| " Open terminal
" Remaps " Remaps
ino <nowait> jj <esc> " Normal now ino <nowait> jj <esc>| " Normal now
nn <left> <nop> " Hard mode nn <left> <nop>| " Hard mode
nn <down> <nop> " " nn <down> <nop>| " "
nn <up> <nop> " " nn <up> <nop>| " "
nn <right> <nop> " " nn <right> <nop>| " "
ino <left> <nop> " " ino <left> <nop>| " "
ino <down> <nop> " " ino <down> <nop>| " "
ino <up> <nop> " " ino <up> <nop>| " "
ino <right> <nop> " " ino <right> <nop>| " "
" Search " Search
nn <leader>/ :noh<cr> nn <leader>/ :noh<cr>
nn <leader>f :Ag <cr> nn <leader>f :Ag <cr>