Created
July 26, 2015 12:23
-
-
Save StephanMeijer/b02588bf406d8e9ab268 to your computer and use it in GitHub Desktop.
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
" <plugins> | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/syntastic' | |
Plug 'rstacruz/sparkup' | |
Plug 'junegunn/vim-easy-align' | |
Plug 'kien/ctrlp.vim' | |
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' | |
Plug 'ervandew/supertab' | |
Plug 'Valloric/MatchTagAlways' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'itchyny/lightline.vim' | |
Plug 'tpope/vim-fugitive' | |
Plug 'bronson/vim-trailing-whitespace' | |
Plug 'tpope/vim-surround' | |
Plug 'haya14busa/incsearch.vim' | |
Plug 'ap/vim-buftabline' | |
call plug#end() | |
" </plugins> | |
" <stop_swap_messages> | |
set shortmess+=A | |
" </stop_swap_messages> | |
" <disable_wrong_habits> | |
" Mouse input | |
autocmd BufEnter * set mouse= | |
" Arrow keys | |
map <up> <nop> | |
map <down> <nop> | |
map <left> :bprev<CR> | |
map <right> :bnext<CR> | |
imap <up> <nop> | |
imap <down> <nop> | |
imap <left> <nop> | |
imap <right> <nop> | |
" </disable_wrong_habits> | |
" <regex> | |
" Ruby New Hash Notation | |
" | |
" Convert old notation ( :key => value ) to new ( key: value) | |
command RNHN :%s/\%V:\v(\w+)(.+)\=\>/\1:/g | |
" </regex> | |
" <mappings> | |
map Q mzgg=G`z | |
" </mappings> | |
" <color> | |
" <color_correction> | |
if !has('gui_running') | |
set t_Co=256 | |
endif | |
" </color_correction> | |
" <colorscheme> | |
set background=dark | |
" </colorscheme> | |
" <colorcolumn> | |
set colorcolumn=80 | |
highlight ColorColumn ctermbg=235 guibg=#2c2d27 | |
let &colorcolumn=join(range(81,999),",") | |
let &colorcolumn="80,".join(range(90,999),",") | |
" </colorcolumn> | |
" </color> | |
" <statusline> | |
let g:lightline = { | |
\ 'colorscheme': 'wombat', | |
\ } | |
set laststatus=2 | |
" </statusline> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment