Skip to content

Instantly share code, notes, and snippets.

@farrokhi
Created January 19, 2020 11:14
Show Gist options
  • Save farrokhi/11f682e767424a8a3c47cc46fd823f70 to your computer and use it in GitHub Desktop.
Save farrokhi/11f682e767424a8a3c47cc46fd823f70 to your computer and use it in GitHub Desktop.
vim header file for text documents with proper line-breaking

Text file with hard line-breaks:

# vim:ts=4:sw=4:tw=79:wm=2

Golang source files with proper tab and spacing:

// vim:noet:noai:ts=4:sw=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment