]> code.delx.au - dotfiles/blobdiff - .vim/macros.vim
vim: remove unneeded ! from command declarations
[dotfiles] / .vim / macros.vim
index 57730194d63ce5bf3e79566aa0117132d79e39bd..25ab3899a8db32242375dc862eca74df6c219714 100644 (file)
@@ -7,7 +7,7 @@ map <F10> :call WrapToggle()<CR>
 imap <F10> <C-o>:call WrapToggle()<CR>
 
 " Python Calculator
-command! -nargs=+ Calc :r! python -c "from math import *; print <args>"
+command -nargs=+ Calc :r! python -c "from math import *; print <args>"
 
 " Unhighlight search results and redraw the screen
 nmap <C-l> :nohlsearch<CR>:redraw!<CR>
@@ -41,22 +41,22 @@ vnoremap > >gv
 command SudoWrite call SudoWriteFunction()
 
 " I frequently type :Q or :WQ, etc instead of :q, :wq
-command! WQA :wqa
-command! WqA :wqa
-command! WQa :wqa
-command! Wqa :wqa
-command! WA :wa
-command! Wa :wa
-command! WQ :wq
-command! Wq :wq
-command! W :w
-command! Wn :wn
-command! WN :wn
-command! Wp :wp
-command! WP :wp
-command! QA :qa
-command! Qa :qa
-command! Q :q
+command WQA :wqa
+command WqA :wqa
+command WQa :wqa
+command Wqa :wqa
+command WA :wa
+command Wa :wa
+command WQ :wq
+command Wq :wq
+command W :w
+command Wn :wn
+command WN :wn
+command Wp :wp
+command WP :wp
+command QA :qa
+command Qa :qa
+command Q :q
 
 " Make the number pad work
 map \eOX =