Last active
May 6, 2018 11:08
-
-
Save orotemo/4bbae1ae5a03c750295622c1f4447369 to your computer and use it in GitHub Desktop.
my vimrc addition to https://github.com/thoughtbot/dotfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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