Skip to content

Instantly share code, notes, and snippets.

@orotemo
Last active May 6, 2018 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orotemo/4bbae1ae5a03c750295622c1f4447369 to your computer and use it in GitHub Desktop.
Save orotemo/4bbae1ae5a03c750295622c1f4447369 to your computer and use it in GitHub Desktop.
set t_Co=256
colorscheme distinguished
set hlsearch
set colorcolumn=80
autocmd BufRead,BufNewFile *.skim set filetype=slim
autocmd BufRead,BufNewFile *.hamlc set filetype=haml
autocmd BufRead,BufNewFile *.json set filetype=javascript
autocmd BufRead,BufNewFile [A-Z]*file set filetype=config
autocmd BufRead,BufNewFile *.vcl set filetype=config
autocmd BufRead,BufNewFile *.thor set filetype=ruby
autocmd BufRead,BufNewFile nginx.conf* set filetype=nginx
autocmd BufRead,BufNewFile sys.config set filetype=erlang
" Map search next and prev
nnoremap <F3> :cp<CR>
nnoremap <F4> :cn<CR>
" Map next and prev tabs
nnoremap <F8> :tabp<CR>
nnoremap <F9> :tabn<CR>
nnoremap <Left> <Left>
nnoremap <Right> <Right>
nnoremap <Up> <Up>
nnoremap <Down> <Down>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment