add U for redo in vim, set localeader to leader
This commit is contained in:
parent
db0d76c976
commit
9000b8b873
1 changed files with 7 additions and 0 deletions
|
@ -277,6 +277,10 @@ call matchadd('ColorColumn', '\%81v', 100)
|
||||||
"
|
"
|
||||||
" set our leader key to space since with hjkl, space is largely useless
|
" set our leader key to space since with hjkl, space is largely useless
|
||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
|
" maps the leader for buffer local mappings (e.g. vim-waikiki for files under
|
||||||
|
" the root dir to the same key -- might lead to incompatibilities, will have
|
||||||
|
" to test)
|
||||||
|
let maplocalleader = "\<Space>"
|
||||||
" set jk to escape, in case capslock is not mapped to escape on the system
|
" set jk to escape, in case capslock is not mapped to escape on the system
|
||||||
inoremap jk <ESC>
|
inoremap jk <ESC>
|
||||||
|
|
||||||
|
@ -302,6 +306,9 @@ map <leader>V :vsp ~/.config/nvim/init.vim<cr>
|
||||||
" when done in MANY successions)
|
" when done in MANY successions)
|
||||||
" au BufWritePost init.vim so ~/.config/nvim/init.vim
|
" au BufWritePost init.vim so ~/.config/nvim/init.vim
|
||||||
|
|
||||||
|
" since u undoes, would it not make sense that U redoes?
|
||||||
|
nnoremap U <C-r>
|
||||||
|
|
||||||
" get rid of the help message popping up when I miss esc and hit F1
|
" get rid of the help message popping up when I miss esc and hit F1
|
||||||
nnoremap <F1> <ESC>
|
nnoremap <F1> <ESC>
|
||||||
inoremap <F1> <ESC>
|
inoremap <F1> <ESC>
|
||||||
|
|
Loading…
Reference in a new issue