-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
66 lines (50 loc) · 1.32 KB
/
.vimrc
File metadata and controls
66 lines (50 loc) · 1.32 KB
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
set tabstop=4
" set nu rnu
set autoindent
set cursorline
set wildmenu
set mouse=a
set autoindent
set smartindent
set relativenumber
set number
set breakindent
syntax on
filetype plugin indent on
nnoremap J 8j
nnoremap K 8k
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
colo slate
set t_Co=256
colo slate_arctic
highlight ColorColumn ctermbg=0
set colorcolumn=81
hi CursorLineNr cterm=bold ctermfg=51
call plug#begin('~/.vim/plugged')
Plug 'flazz/vim-colorschemes'
Plug 'Raimondi/delimitMate'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'alvan/vim-closetag'
let g:closetag_filenames = "*.html,*.xhtml,*.phtml,*.php,*.jsx"
Plug 'honza/vim-snippets'
Plug 'SirVer/ultisnips'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'pangloss/vim-javascript'
Plug 'ap/vim-css-color'
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" ALE "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Plug 'dense-analysis/ale'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint'],
\}
" Set this variable to 1 to fix files when you save them.
let g:ale_fix_on_save = 1
autocmd FileType json syntax match Comment +\/\/.\+$+
call plug#end()