Improved .vimrc :W command
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user