@@ -84,6 +84,9 @@ set viewoptions=
84
84
vnoremap J :m '>+1<cr> gv=gv
85
85
vnoremap K :m '<-2<cr> gv=gv
86
86
87
+ cnoremap <c-p> <Up>
88
+ cnoremap <c-n> <Down>
89
+
87
90
if ! has (' gui_running' )
88
91
function ! ToggleCopyPasteMode ()
89
92
set invpaste paste ?
@@ -151,12 +154,7 @@ endif
151
154
Plug ' vim-airline/vim-airline-themes' " https://github.com/vim-airline/vim-airline-themes
152
155
let g: airline_theme= ' minimalist'
153
156
154
- Plug ' sheerun/vim-polyglot' " https://github.com/sheerun/vim-polyglot
155
- let g: jsx_ext_required = 1
156
- let g: typescript_opfirst= ' \%([<>=,?^%|*/&]\|\([-:+]\)\1\@!\|!=\|in\%(stanceof\)\=\>\)'
157
-
158
157
Plug ' tpope/vim-commentary' " https://github.com/tpope/vim-commentary
159
- Plug ' itchyny/vim-cursorword' " https://github.com/itchyny/vim-cursorword
160
158
Plug ' scrooloose/nerdtree' " https://github.com/scrooloose/nerdtree
161
159
nmap <silent> tt :NERDTreeToggle<cr>
162
160
nmap <silent> tf :NERDTreeFind<cr>
@@ -189,7 +187,7 @@ let g:gitgutter_sign_removed_first_line = '·'
189
187
let g: gitgutter_sign_modified_removed = ' ·'
190
188
191
189
Plug ' Valloric/YouCompleteMe' , {
192
- \ ' do' : ' ./install.py --go-completer --rust-completer --java-completer --clang -completer'
190
+ \ ' do' : ' ./install.py --go-completer --rust-completer --java-completer --clangd -completer'
193
191
\ }
194
192
let g: ycm_error_symbol = ' !'
195
193
let g: ycm_warning_symbol = ' △'
@@ -238,7 +236,8 @@ endfunc
238
236
239
237
Plug ' juszczak/semantic-highlight.vim' " https://github.com/jaxbot/semantic-highlight.vim
240
238
241
- let g: semantic_highlight_filetypes = [' typescript' ,
239
+ let g: semantic_highlight_filetypes = [
240
+ \ ' typescript' ,
242
241
\ ' javascript' ,
243
242
\ ' python' ,
244
243
\ ' rust' ,
@@ -272,7 +271,7 @@ nmap <silent> [a <Plug>(ale_previous_wrap)
272
271
nmap <silent> ]a <Plug> (ale_next_wrap)
273
272
let g: ale_fixers = {
274
273
\ ' typescript' : [' tslint' ],
275
- \ ' javascript ' : [' prettier ' ]
274
+ \ ' scss ' : [' stylelint ' ],
276
275
\ }
277
276
let g: ale_completion_enabled = 0
278
277
let g: ale_fix_on_save = 0
0 commit comments