Update .vimrc

This commit is contained in:
Devin Lumley 2021-05-06 21:59:25 -07:00 committed by GitHub
parent 41e720d3ca
commit f35317d096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
.vimrc
View file

@ -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