Changed theme
This commit is contained in:
20
vimrc
20
vimrc
@ -17,12 +17,11 @@ Plugin 'tmhedberg/SimpylFold'
|
|||||||
" Git management
|
" Git management
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
" Autocomplete for python
|
" Autocomplete for python
|
||||||
Plugin 'davidhalter/jedi-vim', { 'for': 'python' }
|
Plugin 'davidhalter/jedi-vim'
|
||||||
" Asynchronous syntax check
|
" Asynchronous syntax check
|
||||||
Plugin 'dense-analysis/ale'
|
Plugin 'dense-analysis/ale'
|
||||||
" Color schemes
|
" Color schemes
|
||||||
Plugin 'jnurmine/Zenburn'
|
Plugin 'morhetz/gruvbox'
|
||||||
Plugin 'altercation/vim-colors-solarized'
|
|
||||||
" Code completion using <tab>
|
" Code completion using <tab>
|
||||||
" Plugin 'ervandew/supertab'
|
" Plugin 'ervandew/supertab'
|
||||||
|
|
||||||
@ -36,12 +35,9 @@ set number
|
|||||||
set cursorline
|
set cursorline
|
||||||
set showmatch
|
set showmatch
|
||||||
set laststatus=2 " Always display statusline
|
set laststatus=2 " Always display statusline
|
||||||
if has('gui_running')
|
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme solarized
|
let g:gruvbox_contrast_dark='hard'
|
||||||
else
|
colorscheme gruvbox
|
||||||
colorscheme zenburn
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Indentation
|
" Indentation
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
@ -75,7 +71,7 @@ map <C-j> <C-w>j
|
|||||||
map <C-k> <C-w>k
|
map <C-k> <C-w>k
|
||||||
map <C-l> <C-w>l
|
map <C-l> <C-w>l
|
||||||
nnoremap <space> za
|
nnoremap <space> za
|
||||||
nmap <F5> :w<CR>:!clear;python %<CR>
|
nmap <F5> :w<CR>:!clear;python3 %<CR>
|
||||||
nmap <F6> :!%:p<CR>
|
nmap <F6> :!%:p<CR>
|
||||||
nmap <F7> :NERDTreeToggle<CR>
|
nmap <F7> :NERDTreeToggle<CR>
|
||||||
nmap <F8> :TagbarToggle<CR>
|
nmap <F8> :TagbarToggle<CR>
|
||||||
@ -83,7 +79,13 @@ nmap <F8> :TagbarToggle<CR>
|
|||||||
" Plugin Ale
|
" Plugin Ale
|
||||||
packloadall
|
packloadall
|
||||||
silent! helptags ALL
|
silent! helptags ALL
|
||||||
|
let g:ale_fixers = {
|
||||||
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
|
\ 'javascript': ['eslint'],
|
||||||
|
\ 'python': ['add_blank_lines_for_python_control_statements', 'autopep8', 'isort']
|
||||||
|
\}
|
||||||
|
|
||||||
" Other Plugin
|
" Other Plugin
|
||||||
let g:SimpylFold_docstring_preview=1
|
let g:SimpylFold_docstring_preview=1
|
||||||
let g:airline#extensions#tabline#enabled=1
|
let g:airline#extensions#tabline#enabled=1
|
||||||
|
let g:airline_powerline_fonts=1
|
||||||
|
Reference in New Issue
Block a user