latest vimrc updates
* added dracula colo as a plugin * added fzf-vim,vim-clang and vim-coloresque plugins
This commit is contained in:
parent
d85950ce1c
commit
97f2d268c0
17
vimrc
17
vimrc
@ -1,3 +1,4 @@
|
|||||||
|
" try not to put any lines in your vimrc that you don't understand :)
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
filetype off "required
|
filetype off "required
|
||||||
@ -28,14 +29,19 @@ endif
|
|||||||
call plug#begin()
|
call plug#begin()
|
||||||
Plug 'drewtempelmeyer/palenight.vim'
|
Plug 'drewtempelmeyer/palenight.vim'
|
||||||
Plug 'jacoborus/tender.vim'
|
Plug 'jacoborus/tender.vim'
|
||||||
|
Plug 'dracula/vim', { 'as': 'dracula' }
|
||||||
Plug 'lervag/vimtex', { 'for': 'tex' }
|
Plug 'lervag/vimtex', { 'for': 'tex' }
|
||||||
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
Plug 'justmao945/vim-clang'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'tpope/vim-repeat'
|
Plug 'tpope/vim-repeat'
|
||||||
|
Plug 'gorodinskiy/vim-coloresque'
|
||||||
Plug 'Yggdroot/indentLine'
|
Plug 'Yggdroot/indentLine'
|
||||||
Plug 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
Plug 'preservim/nerdcommenter'
|
Plug 'preservim/nerdcommenter'
|
||||||
@ -64,6 +70,7 @@ let g:gitgutter_terminal_reports_focus=0
|
|||||||
let g:gitgutter_sign_allow_clobber=0
|
let g:gitgutter_sign_allow_clobber=0
|
||||||
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
let g:deoplete#enable_ignore_case = 1
|
||||||
|
|
||||||
let g:livepreview_cursorhold_recompile = 0
|
let g:livepreview_cursorhold_recompile = 0
|
||||||
let g:livepreview_previewer = 'evince'
|
let g:livepreview_previewer = 'evince'
|
||||||
@ -101,7 +108,7 @@ set statusline+=%*
|
|||||||
|
|
||||||
let g:syntastic_javascript_checkers = ['jsl']
|
let g:syntastic_javascript_checkers = ['jsl']
|
||||||
let g:syntastic_python_checkers = ['pylint']
|
let g:syntastic_python_checkers = ['pylint']
|
||||||
let g:syntastic_c_compiler = 'gcc'
|
let g:syntastic_c_compiler = 'clang'
|
||||||
let g:syntastic_c_check_header = 1
|
let g:syntastic_c_check_header = 1
|
||||||
let g:syntastic_c_auto_refresh_includes = 1
|
let g:syntastic_c_auto_refresh_includes = 1
|
||||||
let g:syntastic_cpp_check_header = 1
|
let g:syntastic_cpp_check_header = 1
|
||||||
@ -244,15 +251,19 @@ filetype indent plugin on
|
|||||||
set autoindent
|
set autoindent
|
||||||
set backspace=2
|
set backspace=2
|
||||||
|
|
||||||
|
set splitbelow splitright " splits open at bottom and right
|
||||||
|
set lazyredraw " don't redraw while executing macros (good performance config)
|
||||||
|
|
||||||
set listchars=trail:•,tab:>-
|
set listchars=trail:•,tab:>-
|
||||||
set list " show/hide tabs and EOL chars (hidden characters)
|
set list " show/hide tabs and EOL chars (hidden characters)
|
||||||
set confirm " ask confirmation like save before quit.
|
set confirm " ask confirmation like save before quit.
|
||||||
set wildmenu " Tab completion menu when using command mode
|
set wildmenu " Tab completion menu when using command mode
|
||||||
set scrolloff=5 " scroll offset, min lines above/below cursor
|
set scrolloff=3 " scroll offset, min lines above/below cursor
|
||||||
"set scrolljump=5 " jump 5 lines when running out of the screen - NO
|
"set scrolljump=5 " jump 5 lines when running out of the screen - NO
|
||||||
set sidescroll=10 " minimum columns to scroll horizontally
|
set sidescroll=10 " minimum columns to scroll horizontally
|
||||||
set showcmd " show command status
|
set showcmd " show command status
|
||||||
set showmatch " flashes matching parenthese when cursor over the other one
|
set showmatch " flashes matching parenthese when cursor over the other one
|
||||||
|
set mat=2 " how many tenths of a second to blink when matching brackets
|
||||||
set noshowmode " show editing mode in status (-- INSERT --)
|
set noshowmode " show editing mode in status (-- INSERT --)
|
||||||
set ruler " show cursor position
|
set ruler " show cursor position
|
||||||
set errorbells " bells in terminal
|
set errorbells " bells in terminal
|
||||||
@ -269,7 +280,7 @@ set noscrollbind
|
|||||||
set updatetime=1000
|
set updatetime=1000
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
colo tender " new fav highlighting
|
colo dracula " new fav highlighting
|
||||||
set mouse=a " enable mouse in n,v,i,c,h modes
|
set mouse=a " enable mouse in n,v,i,c,h modes
|
||||||
|
|
||||||
set laststatus=2 " show powerline status bar
|
set laststatus=2 " show powerline status bar
|
||||||
|
Loading…
Reference in New Issue
Block a user