vimrc: added vim-startify, stole settings from @an3e
This commit is contained in:
parent
c1fca13f90
commit
2cfbbb8c75
1 changed files with 27 additions and 0 deletions
27
.vimrc
27
.vimrc
|
@ -8,6 +8,7 @@ call vundle#begin()
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
Plugin 'airblade/vim-gitgutter'
|
Plugin 'airblade/vim-gitgutter'
|
||||||
Plugin 'altercation/vim-colors-solarized'
|
Plugin 'altercation/vim-colors-solarized'
|
||||||
|
Plugin 'mhinz/vim-startify'
|
||||||
Plugin 'cespare/vim-toml'
|
Plugin 'cespare/vim-toml'
|
||||||
Plugin 'ludovicchabant/vim-gutentags'
|
Plugin 'ludovicchabant/vim-gutentags'
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
@ -37,6 +38,8 @@ let load_doxygen_syntax = 1
|
||||||
let g:airline_theme='solarized'
|
let g:airline_theme='solarized'
|
||||||
let g:airline_solarized_bg='dark'
|
let g:airline_solarized_bg='dark'
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||||
|
let g:gutentags_cache_dir = '~/.cache/gutentags'
|
||||||
"set autoindent
|
"set autoindent
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set icon
|
set icon
|
||||||
|
@ -57,6 +60,30 @@ set listchars=eol:¶,tab:\»\ ,trail:~,extends:>,precedes:<
|
||||||
set list
|
set list
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
|
" Fast tab navigation
|
||||||
|
nnoremap <C-t> :tabnew<CR>
|
||||||
|
nnoremap <C-d> :tabclose<CR>
|
||||||
|
"
|
||||||
|
inoremap <C-t> <Esc>:tabnew<CR>
|
||||||
|
inoremap <C-d> <Esc>:tabclose<CR>
|
||||||
|
|
||||||
|
" Fast split/window navigation with <Ctrl-hjkl>
|
||||||
|
noremap <C-h> <C-w><C-h>
|
||||||
|
noremap <C-j> <C-w><C-j>
|
||||||
|
noremap <C-k> <C-w><C-k>
|
||||||
|
noremap <C-l> <C-w><C-l>
|
||||||
|
"
|
||||||
|
tnoremap <C-h> <C-w><C-h>
|
||||||
|
tnoremap <C-j> <C-w><C-j>
|
||||||
|
tnoremap <C-k> <C-w><C-k>
|
||||||
|
tnoremap <C-l> <C-w><C-l>
|
||||||
|
"
|
||||||
|
inoremap <C-h> <C-o><C-w><C-h>
|
||||||
|
inoremap <C-j> <C-o><C-w><C-j>
|
||||||
|
inoremap <C-k> <C-o><C-w><C-k>
|
||||||
|
inoremap <C-l> <C-o><C-w><C-l>
|
||||||
|
|
||||||
|
" Folding toggle
|
||||||
inoremap <F9> <C-O>za
|
inoremap <F9> <C-O>za
|
||||||
nnoremap <F9> za
|
nnoremap <F9> za
|
||||||
onoremap <F9> <C-C>za
|
onoremap <F9> <C-C>za
|
||||||
|
|
Loading…
Reference in a new issue