-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
54 lines (44 loc) · 1.34 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
set nu " line numbering on
set autoindent " autoindent on
set smartindent
set cindent
set modeline " show what I'm doing
set showmode " show the mode on the dedicated line (see above)
set nowrap " no wrapping!
set ignorecase " search without regards to case
set smartcase
set exrc " open local config files
set nojoinspaces " don't add white space when I don't tell you to
set ruler " which line am I on?
set showmatch " ensure Dyck language
set incsearch " incremental searching
set hlsearch
set backspace=indent,eol,start
set expandtab
set shiftwidth=2
set tabstop=2
set softtabstop=2
set nobackup
set nowritebackup
set noswapfile
call plug#begin()
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dense-analysis/ale'
Plug 'leafgarland/typescript-vim'
" Plug 'ludovicchabant/vim-gutentags'
Plug 'overcache/NeoSolarized'
Plug 'preservim/NERDTree'
Plug 'vim-syntastic/syntastic'
Plug 'nvie/vim-flake8'
call plug#end()
colorscheme NeoSolarized
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint'],
\ }
let g:ale_sign_error = '❌'
let g:ale_sign_warning = '⚠️'
let g:ale_fix_on_save = 1
let g:syntastic_python_checkers = ['python']
let g:syntastic_python_python_exec = 'python3'
let NERDTreeIgnore = ['\.pyc$', '__pycache__', '\.egg-info$']