diff options
| author | iamcheeseman <[email protected]> | 2026-05-22 12:35:36 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-22 12:35:36 -0400 |
| commit | f31a0a48a2408d38faaaae2d0fb91528e3c2c20e (patch) | |
| tree | f4e38fe03f86ff9c50d9778be3fd8302ff06090b /.vimrc | |
| parent | 32256bdd1abde72427ccd1dac185eee48f803ef1 (diff) | |
Update config
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -25,6 +25,7 @@ set hlsearch set cinoptions+=:0,N-s,E-s,(s,m1,t0 set completeopt=menu,menuone,noselect set autoread +set spell filetype plugin on filetype indent on @@ -36,12 +37,11 @@ let fuzzbox_mappings = 0 let g:apc_enable_ft = {'c':1} let g:netrw_list_hide = '\~$' -xmap ga <Plug>(EasyAlign) -nmap ga <Plug>(EasyAlign) -nmap <leader>f :FuzzyFilesRoot<cr> -nmap <leader>t :! ctags -R .<cr><cr> +nmap <silent> <leader>f :FuzzyFilesRoot<cr> +nmap <silent> <leader>t :! ctags -R .<cr><cr> +nmap <silent> <leader>s :Alternate<cr> -nnoremap <C-l> :noh<cr> +nnoremap <silent> <C-l> :noh<cr> nnoremap <C-u> <C-u>zz nnoremap <C-d> <C-d>zz nnoremap gd <C-]> @@ -53,9 +53,16 @@ au FileType lua set shiftwidth=2 colors mooncheese hi clear Error +" Saves the last line I was on in a file +autocmd BufReadPost * + \ if line("'\"") > 0 && line("'\"") <= line("$") | + \ exe "normal! g`\"" | + \ endif + call plug#begin() Plug 'vim-fuzzbox/fuzzbox.vim' Plug 'tpope/vim-fugitive' +Plug 'ton/vim-alternate' call plug#end() |
