autocmd BufEnter *__virtual* setlocal buftype=nofile bufhidden=hide noswapfile autocmd BufNewFile,BufRead *.h set filetype=c autocmd BufWinEnter *.* silent! loadview autocmd BufWinLeave *.* silent! mkview autocmd FileType * setlocal indentexpr= autocmd FileType csharp setlocal makeprg=dotnet autocmd FileType go setlocal makeprg=go noexpandtab autocmd FileType make setlocal noexpandtab autocmd FileType python setlocal makeprg=basedpyright autocmd FileType yaml setlocal tabstop=2 let g:rustfmt_autosave = 0 nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]')) nnoremap ,cc :cclose nnoremap ,cf :cfirst nnoremap ,cl :clast nnoremap ,co :copen 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 ,h H nnoremap ,l L nnoremap ,t vl:terminala nnoremap zz nnoremap h nnoremap j nnoremap k nnoremap l nnoremap :cnextzz nnoremap :cpreviouszz nnoremap zz nnoremap H ^ nnoremap L $ set autoindent set cursorline set errorformat^=[----]\ %f:%l:\ %m set expandtab set exrc set guicursor=n-v-c:block-Cursor set incsearch set nohlsearch set nowrap set nu set path=** set rnu set secure set shiftround set shiftwidth=0 set tabstop=4 set ttimeoutlen=50 set viewoptions=folds,cursor set wildignore=*.o,*.obj,.git/**,tags,*.pyc syntax on tnoremap c c xnoremap H ^ xnoremap L $ if has('clipboard') set clipboard^=unnamed,unnamedplus endif