From f31a0a48a2408d38faaaae2d0fb91528e3c2c20e Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 22 May 2026 12:35:36 -0400 Subject: Update config --- .vimrc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 9ffc8da..1dfa193 100644 --- a/.vimrc +++ b/.vimrc @@ -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 (EasyAlign) -nmap ga (EasyAlign) -nmap f :FuzzyFilesRoot -nmap t :! ctags -R . +nmap f :FuzzyFilesRoot +nmap t :! ctags -R . +nmap s :Alternate -nnoremap :noh +nnoremap :noh nnoremap zz nnoremap zz nnoremap gd @@ -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() -- cgit v1.3-2-g0d8e