diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 12:02:21 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 12:02:21 -0500 |
commit | d228b792e7aebd573470b4d10c9cbf9deb404719 (patch) | |
tree | a9e062751509ea0280829c6666a9805380877f34 | |
parent | 51c91732f84707686e92f01d3d6387fba88675bd (diff) | |
download | dotconfig-d228b792e7aebd573470b4d10c9cbf9deb404719.tar.xz dotconfig-d228b792e7aebd573470b4d10c9cbf9deb404719.zip |
unmap Ex mode in vim
-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 |