Skip to content

Instantly share code, notes, and snippets.

@tamnguyenvan
Last active May 4, 2022 09:56
Show Gist options
  • Select an option

  • Save tamnguyenvan/0740660740f44a14198fc4c86afed319 to your computer and use it in GitHub Desktop.

Select an option

Save tamnguyenvan/0740660740f44a14198fc4c86afed319 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'kien/ctrlp.vim'
Plug 'tpope/vim-commentary'
Plug 'vim-airline/vim-airline'
Plug 'scrooloose/syntastic', {'branch': 'master'}
Plug 'tpope/vim-fugitive'
Plug 'sheerun/vim-polyglot'
Plug 'joshdick/onedark.vim'
Plug 'kkoomen/vim-doge', { 'do': { -> doge#install() } }
call plug#end()
filetype plugin indent on
set number
set hlsearch
syntax on
colorscheme onedark
set backspace=indent,eol,start
set background=dark
set showcmd
let python_highlight_all = 1
let NERDTreeIgnore=['\.pyc$', '\~$']
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
map <C-n> :NERDTreeToggle<CR>
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_wq = 0
let g:syntastic_python_checkers = ['flake8']
let g:doge_doc_standard_python = 'numpy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment