Skip to content

Instantly share code, notes, and snippets.

@wtfaremyinitials
Last active July 15, 2019 08:38
Show Gist options
  • Save wtfaremyinitials/76734823ee6f5f6ec3a110ac51ed4128 to your computer and use it in GitHub Desktop.
Save wtfaremyinitials/76734823ee6f5f6ec3a110ac51ed4128 to your computer and use it in GitHub Desktop.
command! w w>>chat|enew!
cabbrev w <c-r>=(getcmdtype()==':' && getcmdpos()==1 ? 'W' : 'w')<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment