Improved .vimrc :W command

This commit is contained in:
Nathan Schneider
2026-04-13 23:18:43 -06:00
parent bb414a4be4
commit 896fde616a
+2 -1
View File
@@ -38,7 +38,8 @@ set shell=bash\ -l
" Shortcuts " Shortcuts
command! Proximate :e ~/Cloud/Notes/Proximate.md command! Proximate :e ~/Cloud/Notes/Proximate.md
command! W :w|b#|bd# command! W w | bp | bw #
command! Q :wa|qa
command! -range Comment call CommentWrap(<line1>, <line2>) command! -range Comment call CommentWrap(<line1>, <line2>)
function! CommentWrap(start, end) function! CommentWrap(start, end)