Created
September 14, 2015 11:02
-
-
Save lbn/1b637c20d14755fffee0 to your computer and use it in GitHub Desktop.
My .vimrc on 14.09.2015
This file contains 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 tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set t_Co=256 | |
let g:solarized_termcolors=256 | |
set background=dark | |
set cursorline | |
set cursorcolumn | |
set colorcolumn=80 | |
set nocompatible | |
filetype off | |
call plug#begin('~/.vim/plugged') | |
Plug 'gmarik/vundle' | |
Plug 'majutsushi/tagbar' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'tpope/vim-fugitive' | |
Plug 'MarcWeber/vim-addon-mw-utils' | |
Plug 'tomtom/tlib_vim' | |
Plug 'garbas/vim-snipmate' | |
Plug 'lbn/vim-snippets' | |
Plug 'sukima/xmledit' | |
Plug 'altercation/vim-colors-solarized' | |
Plug 'rking/ag.vim' | |
Plug 'scrooloose/syntastic' | |
Plug 'https://github.com/moll/vim-node.git' | |
Plug 'https://github.com/walm/jshint.vim.git' | |
Plug 'https://github.com/godlygeek/tabular.git' | |
Plug 'https://github.com/jelera/vim-javascript-syntax.git' | |
Plug 'https://github.com/tpope/vim-surround.git' | |
Plug 'https://github.com/jamescarr/snipmate-nodejs.git' | |
Plug 'https://github.com/mileszs/ack.vim.git' | |
Plug 'https://github.com/scrooloose/nerdtree.git' | |
Plug 'klen/python-mode' | |
Plug 'tkztmk/vim-vala' | |
Plug 'wincent/Command-T' | |
Plug 'kien/ctrlp.vim' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'rust-lang/rust.vim' | |
Plug 'tpope/vim-markdown' | |
" Javascript | |
Plug 'kchmck/vim-coffee-script' | |
Plug 'digitaltoad/vim-jade' | |
au FileType javascript call JavaScriptFold() | |
" Livescript | |
Plug 'gkz/vim-ls' | |
Plug 'danro/rename.vim' | |
Plug 'wesQ3/vim-windowswap' | |
Plug 'bkad/CamelCaseMotion' | |
Plug 'fatih/vim-go' | |
Plug 'editorconfig/editorconfig-vim' | |
Plug 'powerline/powerline' | |
call plug#end() | |
colorscheme solarized | |
au BufNewFile,BufRead *.rs set filetype=rust | |
filetype plugin indent on | |
nmap <F8> :TagbarToggle<CR> | |
nmap <F7> :NERDTreeToggle<CR> | |
nmap =j :%!python -m json.tool<CR> | |
nnoremap <Leader>s :%s/\<<C-r><C-w>\>/ | |
"background erase | |
set t_ut= | |
"Set Python breakpoint | |
au FileType python map <silent> <leader>b oimport pdb; pdb.set_trace()<esc> | |
au FileType python map <silent> <leader>B Oimport pdb; pdb.set_trace()<esc> | |
"Line numbers | |
set number | |
"let g:syntastic_python_checkers = ['pylint'] | |
let g:syntastic_javascript_checkers = ['eslint'] | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_wq = 0 | |
autocmd BufWinLeave *.* mkview | |
autocmd BufWinEnter *.* silent loadview | |
let g:pymode_rope_lookup_project = 0 | |
let g:pymode_rope = 0 | |
let g:pymode_rope_autoimport = 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment