Created
January 16, 2018 09:31
-
-
Save anonymous/bea7211d73d8f766678d7a5e352bebfc 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
| call plug#begin() | |
| Plug 'ArunSahadeo/Webval' | |
| Plug 'Valloric/YouCompleteMe' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'chr4/nginx.vim' | |
| Plug 'chrisbra/Colorizer' | |
| Plug 'ctrlpvim/ctrlp.vim' | |
| Plug 'embear/vim-localvimrc' | |
| Plug 'flazz/vim-colorschemes' | |
| Plug 'groenewege/vim-less' | |
| Plug 'jistr/vim-nerdtree-tabs' | |
| Plug 'junegunn/vim-easy-align' | |
| Plug 'kchmck/vim-coffee-script' | |
| Plug 'lepture/vim-jinja' | |
| Plug 'lifepillar/pgsql.vim' | |
| Plug 'majutsushi/tagbar' | |
| Plug 'mxw/vim-jsx' | |
| Plug 'neomake/neomake' | |
| Plug 'pangloss/vim-javascript' | |
| Plug 'scrooloose/nerdtree' | |
| Plug 'sirtaj/vim-openscad' | |
| Plug 'tpope/vim-commentary' | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'tpope/vim-surround' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| Plug 'vim-scripts/SyntaxRange' | |
| call plug#end() | |
| let g:airline_powerline_fonts = 1 | |
| let g:javascript_plugin_flow = 1 | |
| let g:javascript_plugin_jsdoc = 1 | |
| let g:javascript_plugin_ngdoc = 1 | |
| let g:localvimrc_persistent = 1 | |
| let g:localvimrc_sandbox = 0 | |
| set colorcolumn=81 | |
| set completeopt-=preview | |
| set expandtab | |
| set ignorecase | |
| set incsearch | |
| set list | |
| set listchars=tab:▶→,trail:␠ | |
| set mouse=a | |
| set nostartofline | |
| set nowrap | |
| set number | |
| set relativenumber | |
| set shiftwidth=4 | |
| set termguicolors | |
| set background=dark | |
| colorscheme VIvid | |
| if !exists("autocmds_loaded") | |
| autocmd BufEnter * syntax sync fromstart | |
| autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
| autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o | |
| endif | |
| call SyntaxRange#Include('-- begin pgsql', '-- end pgsql', 'python') | |
| " ============================================================================ | |
| " = Neomake = | |
| " ============================================================================ | |
| let g:neomake_python_enabled_makers = ['mypy'] | |
| call neomake#configure#automake('w') | |
| " ============================================================================ | |
| " = Leaders = | |
| " ============================================================================ | |
| nmap <Leader>f <Plug>NERDTreeTabsFind<CR> | |
| nmap <Leader>F <Plug>NERDTreeTabsOpen<CR><C-W><C-P><Plug>NERDTreeTabsFind<CR> | |
| nmap <Leader>t <Plug>NERDTreeTabsToggle<CR> | |
| nnoremap <Leader>~ :let @/ = ""<CR> | |
| nnoremap <Leader>c :%s/\C\V\<<C-r><C-w>\>//gn<CR><C-O> | |
| nnoremap <Leader>o o<Esc>k | |
| nnoremap <Leader>O O<Esc>j | |
| nnoremap <Leader>r :%s/\C\V\<<C-r><C-w>\>//cg<Left><Left><Left> | |
| nnoremap <Leader>R :%s/\C\V\<<C-r><C-w>\>/<C-r><C-w>/cg<Left><Left><Left> | |
| nnoremap <Leader>v :$tabedit $MYVIMRC<CR> | |
| nnoremap <Leader>w :%s/ \+$//<CR><C-O> | |
| nnoremap <Leader>2 :set shiftwidth=2<CR> | |
| nnoremap <Leader>4 :set shiftwidth=4<CR> | |
| " ============================================================================ | |
| let autocmds_loaded = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment