Skip to content

Instantly share code, notes, and snippets.

@hsanchez
Forked from stephencelis/.gvimrc
Created December 7, 2011 10:32
Show Gist options
  • Save hsanchez/1442321 to your computer and use it in GitHub Desktop.
Save hsanchez/1442321 to your computer and use it in GitHub Desktop.
MacVim meets WriteRoom
" MacVim meets WriteRoom.
if has("autocmd")
augroup txt
au!
autocmd GUIEnter *.txt set nolist
autocmd GUIEnter *.txt set columns=80
autocmd GUIEnter *.txt set noruler
autocmd GUIEnter *.txt set nonumber
autocmd GUIEnter *.txt set linebreak
autocmd VimEnter *.txt set fullscreen
augroup END
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment