Last active
May 2, 2021 17:14
-
-
Save martinthenext/3ca2c4c3d34122ea6a43036c1058ce31 to your computer and use it in GitHub Desktop.
vimrc
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
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
" plugin on GitHub repo | |
" | |
" Syntactic | |
Plugin 'vim-syntastic/syntastic' | |
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_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
let g:syntastic_mode_map = { 'mode': 'passive', | |
\ 'active_filetypes': [], | |
\ 'passive_filetypes': [] } | |
let g:syntastic_auto_loc_list=1 | |
nnoremap <silent> <C-L> :SyntasticCheck<CR> | |
nnoremap <silent> <C-K> :SyntasticReset<CR> | |
" FZF | |
set rtp+=~/.fzf | |
Plugin 'junegunn/fzf' | |
Plugin 'junegunn/fzf.vim' | |
nnoremap <C-P> :Files<CR> | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
syntax on | |
set nu | |
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%) | |
set laststatus=2 | |
set cindent | |
set cinkeys-=0# | |
set indentkeys-=0# | |
set ignorecase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment