diff options
-rw-r--r-- | vimrc | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -10,9 +10,10 @@ call pathogen#infect() if has("gui_running") set guioptions=c - colo gruvbox + colo hybrid set bg=dark - set guifont=Envy\ Code\ R\ 9 + "set guifont=Envy\ Code\ R\ 9 + set guifont=Fira\ Mono\ Medium\ 9 else set bg=light endif @@ -28,8 +29,7 @@ set nobackup set nowb set noswapfile set wrap -set scrolloff=3 -set autochdir +set scrolloff=2 if expand("%:p") =~ '\.*blender\.*' set tabstop=4 @@ -65,6 +65,14 @@ au Bufread,BufNewFile *.oz set ft=oz au Bufread,BufNewFile *.rb set sw=2 ts=2 sts=2 au BufRead,BufNewFile *.html call HtmlDjangoSettings() +au BufRead,BufNewFile ~/.notes call Notes() + +function! Notes() + set ft=markdown + set foldmethod=marker + colo hybrid + set tw=80 +endfunction function! HtmlDjangoSettings() if (&ft=='htmldjango') |