Skip to content

Instantly share code, notes, and snippets.

@Osse
Last active January 22, 2020 09:13
Show Gist options
  • Save Osse/f41478e00043051f6137aaddbbb8bf65 to your computer and use it in GitHub Desktop.
Save Osse/f41478e00043051f6137aaddbbb8bf65 to your computer and use it in GitHub Desktop.
function! Comment()
silent s/^/\=escape(b:comment_leader,'\/')
nohlsearch
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment