diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b1ef3d4..2100709 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -277,6 +277,10 @@ call matchadd('ColorColumn', '\%81v', 100) " " set our leader key to space since with hjkl, space is largely useless let mapleader = "\" +" 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 = "\" " set jk to escape, in case capslock is not mapped to escape on the system inoremap jk @@ -302,6 +306,9 @@ map V :vsp ~/.config/nvim/init.vim " when done in MANY successions) " au BufWritePost init.vim so ~/.config/nvim/init.vim +" since u undoes, would it not make sense that U redoes? +nnoremap U + " get rid of the help message popping up when I miss esc and hit F1 nnoremap inoremap