diff --git a/vim/.vimrc b/vim/.vimrc index 2da50a4..fdd9153 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -3,7 +3,6 @@ autocmd BufNewFile,BufRead *.h set filetype=c autocmd BufWinEnter *.* silent! loadview autocmd BufWinLeave *.* silent! mkview autocmd FileType * setlocal indentexpr= -autocmd FileType c setlocal path+=/usr/local/include,/usr/include autocmd FileType csharp setlocal makeprg=dotnet autocmd FileType go setlocal makeprg=go noexpandtab autocmd FileType make setlocal noexpandtab @@ -19,8 +18,6 @@ nnoremap ,cq :call setqflist([]):cclose nnoremap ,cr :cnewer nnoremap ,ct :call setqflist([{'filename': expand('%'), 'lnum': line('.'), 'col': col('.'), 'text': 'TODO'}], 'a') nnoremap ,cu :colder -nnoremap ,fa :call fzf#run({'sink': 'edit', 'options': '--preview="bat --color=always {}"'}) -nnoremap ,ff :call fzf#run({'sink': 'edit', 'options': '--preview="bat --color=always {}"', 'source': 'git ls-files'}) nnoremap ,h H nnoremap ,l L nnoremap ,t vl:terminala @@ -46,7 +43,6 @@ set nowrap set nu set path=** set rnu -set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf,/usr/local/opt/fzf,/opt/homebrew/opt/fzf set secure set shiftround set shiftwidth=0