-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
executable file
·72 lines (48 loc) · 917 Bytes
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
set rnu
set nu
set expandtab
set tabstop=2
set shiftwidth=2
set exrc
set secure
set smartindent
set visualbell
set termencoding=utf-8
set guifont=Monospace\ 14
set background=dark
set belloff=all
set clipboard=unnamedplus
set backup
set nowritebackup
set backupdir=~/.vim/tmp,.,
syntax on
nnoremap <F2> :wa <CR>
vnoremap <F2> :wa <CR>
nnoremap j gj
nnoremap k gk
vnoremap j gj
vnoremap k gk
nnoremap $ g$
vnoremap $ g$
nnoremap 0 g0
vnoremap 0 g0
nnoremap <Down> gj
nnoremap <Up> gk
vnoremap <Down> gj
vnoremap <Up> gk
nnoremap <C-q> :q! <CR>
vnoremap <C-q> :q! <CR>
map Q <Nop>
command W w
command Wa wa
command Q qa
silent !stty -ixon
au VimEnter * ALEDisable
au VimLeave * silent !stty ixon
if exists("g:OpenNERDTree")
au VimEnter * NERDTree
au VimEnter * wincmd l
endif
execute pathogen#infect()
let g:deoplete#enable_at_startup = 1
let g:ale_fixers = { 'javascript': ['eslint']}