From d228b792e7aebd573470b4d10c9cbf9deb404719 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sun, 17 Apr 2022 12:02:21 -0500 Subject: unmap Ex mode in vim --- nvim/init.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 :tabnew " Copy and cut with standard bindings map "+y map "+x +" Unmap Ex mode +map Q " Perform dot commands over visual blocks: vnoremap . :normal . " Save file as sudo on files that require root permission cnoremap w!! execute 'silent! write !doas tee % >/dev/null' edit! -" Capitalize every word on the line +" Camel case every word on the line nmap gcc :s/\v<(.)(\w*)/\u\1\L\2/g nmap gCC :%s/\v<(.)(\w*)/\u\1\L\2/g " HTML shortcuts -- cgit v1.2.3