Changed theme
This commit is contained in:
24
vimrc
24
vimrc
@ -17,12 +17,11 @@ Plugin 'tmhedberg/SimpylFold'
|
||||
" Git management
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
" Autocomplete for python
|
||||
Plugin 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
" Asynchronous syntax check
|
||||
Plugin 'dense-analysis/ale'
|
||||
" Color schemes
|
||||
Plugin 'jnurmine/Zenburn'
|
||||
Plugin 'altercation/vim-colors-solarized'
|
||||
Plugin 'morhetz/gruvbox'
|
||||
" Code completion using <tab>
|
||||
" Plugin 'ervandew/supertab'
|
||||
|
||||
@ -31,17 +30,14 @@ filetype plugin indent on
|
||||
|
||||
" Syntax
|
||||
syntax enable
|
||||
let python_highlight_all = 1
|
||||
let python_highlight_all=1
|
||||
set number
|
||||
set cursorline
|
||||
set showmatch
|
||||
set laststatus=2 " Always display statusline
|
||||
if has('gui_running')
|
||||
set background=dark
|
||||
colorscheme solarized
|
||||
else
|
||||
colorscheme zenburn
|
||||
endif
|
||||
set background=dark
|
||||
let g:gruvbox_contrast_dark='hard'
|
||||
colorscheme gruvbox
|
||||
|
||||
" Indentation
|
||||
set tabstop=4
|
||||
@ -75,7 +71,7 @@ map <C-j> <C-w>j
|
||||
map <C-k> <C-w>k
|
||||
map <C-l> <C-w>l
|
||||
nnoremap <space> za
|
||||
nmap <F5> :w<CR>:!clear;python %<CR>
|
||||
nmap <F5> :w<CR>:!clear;python3 %<CR>
|
||||
nmap <F6> :!%:p<CR>
|
||||
nmap <F7> :NERDTreeToggle<CR>
|
||||
nmap <F8> :TagbarToggle<CR>
|
||||
@ -83,7 +79,13 @@ nmap <F8> :TagbarToggle<CR>
|
||||
" Plugin Ale
|
||||
packloadall
|
||||
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
|
||||
let g:SimpylFold_docstring_preview=1
|
||||
let g:airline#extensions#tabline#enabled=1
|
||||
let g:airline_powerline_fonts=1
|
||||
|
Reference in New Issue
Block a user