diff options
Diffstat (limited to 'nvim')
-rwxr-xr-x | nvim/init.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index e017191..bf9ccc4 100755 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -75,11 +75,13 @@ nmap <C-T> :tabnew<CR> " Copy and cut with standard bindings map <C-c> "+y map <C-x> "+x +" Unmap Ex mode +map Q <NOP> " Perform dot commands over visual blocks: vnoremap . :normal .<CR> " Save file as sudo on files that require root permission cnoremap w!! execute 'silent! write !doas tee % >/dev/null' <bar> edit! -" Capitalize every word on the line +" Camel case every word on the line nmap gcc :s/\v<(.)(\w*)/\u\1\L\2/g<CR> nmap gCC :%s/\v<(.)(\w*)/\u\1\L\2/g<CR> " HTML shortcuts |