Update .vimrc
This commit is contained in:
parent
41e720d3ca
commit
f35317d096
1 changed files with 4 additions and 1 deletions
5
.vimrc
5
.vimrc
|
@ -38,6 +38,9 @@ set cursorline
|
||||||
autocmd FileType gitcommit setlocal spell
|
autocmd FileType gitcommit setlocal spell
|
||||||
autocmd FileType markdown,md,mdx setlocal spell
|
autocmd FileType markdown,md,mdx setlocal spell
|
||||||
|
|
||||||
|
" Line wrap when writing
|
||||||
|
autocmd FileType markdown,md,mdx,text set wrap
|
||||||
|
|
||||||
" Drill Sergeant Demchuk
|
" Drill Sergeant Demchuk
|
||||||
noremap <Up> <NOP>
|
noremap <Up> <NOP>
|
||||||
noremap <Down> <NOP>
|
noremap <Down> <NOP>
|
||||||
|
@ -118,7 +121,7 @@ command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
||||||
" Ignores files in .gitignore but includes untracked files.
|
" Ignores files in .gitignore but includes untracked files.
|
||||||
" Reference: https://github.com/junegunn/fzf.vim/issues/121#issuecomment-575922206
|
" Reference: https://github.com/junegunn/fzf.vim/issues/121#issuecomment-575922206
|
||||||
nnoremap <silent> <c-p> :GFiles --cached --others --exclude-standard<cr>
|
nnoremap <silent> <c-p> :GFiles --cached --others --exclude-standard<cr>
|
||||||
nnoremap <c-s-f> :Ag<space>
|
nnoremap <c-f> :Ag<space>
|
||||||
"END fzf
|
"END fzf
|
||||||
|
|
||||||
" Theme
|
" Theme
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue