diff --git a/files/.vimrc b/files/.vimrc index 77698a1..8171a2c 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -54,6 +54,7 @@ set cursorline set ruler set showmatch " highlights paranthesis +set hidden " allow moving to a new buffer without saving set mat=5 set colorcolumn=1337 set noswapfile " can be problematic on some systems @@ -95,7 +96,7 @@ let g:lightline.separator = { 'left': '', 'right': '' } " bufferline let g:lightline.tabline = {'left': [['buffers']]} -let g:lightline#bufferline#show_number = 1 +let g:lightline#bufferline#show_number = 0 let g:lightline#bufferline#shorten_path = 0 let g:lightline#bufferline#unnamed = '[No Name]' let g:lightline#bufferline#auto_hide = 0 @@ -118,7 +119,6 @@ set incsearch " incremental search set ignorecase " ignore case set smartcase " -> unless capitol letters set hlsearch " highlight all results -nnoremap :nohlsearch " ============================== Cursor Thiccness let &t_SI = "\[6 q" @@ -138,7 +138,12 @@ cmap q1 q! " fzf nmap ff :Files -nmap ft :tabe:Files +nmap ft :enew:Files + +" buffer > tabs +nmap h :bprev +nmap l :bnext +nmap q :bp bd # " vista tags nmap v :Vista finder fzf:vim_lsp