Created
August 17, 2017 11:05
-
-
Save MarioBlazek/dba53b1d19f1c80f99376a35bdfb1e46 to your computer and use it in GitHub Desktop.
Custom vimrc file
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
Plugin 'scrooloose/syntastic' | |
Plugin 'bling/vim-airline' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'tpope/vim-surround' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'mhinz/vim-signify' | |
Plugin 'vim-ctrlspace/vim-ctrlspace' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" | |
" 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_php_checkers = ['php', 'phpcs'] | |
" airline | |
set laststatus=2 | |
set ttimeoutlen=50 | |
let g:airline#extensions#syntastic#enabled = 1 | |
" tabs to spaces | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" " when indenting with '>', use 4 spaces width | |
set shiftwidth=4 | |
" " On pressing tab, insert 4 spaces | |
set expandtab | |
nnoremap <silent><C-p> :CtrlSpace O<CR> | |
map <silent> <C-n> :NERDTreeFocus<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment