diff options
author | coat <coat@sadbeast.com> | 2021-12-13 15:23:59 -0600 |
---|---|---|
committer | coat <coat@sadbeast.com> | 2021-12-13 15:23:59 -0600 |
commit | b1318528ab75a11959028d07cd361ab5a40045aa (patch) | |
tree | a8b613847848483526c20718607ed10df709312c /.vimrc | |
parent | 9cfc4a03c16d9d65153102998ce93127e8f61e6e (diff) | |
download | cfg-b1318528ab75a11959028d07cd361ab5a40045aa.tar.gz cfg-b1318528ab75a11959028d07cd361ab5a40045aa.tar.bz2 |
vimrc redo redux
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -90,7 +90,9 @@ set notimeout ttimeout ttimeoutlen=200 set pastetoggle=<F11> " " Leave paste mode so I don't forget -au InsertLeave * set nopaste +autocmd InsertLeave * set nopaste + +autocmd BufNewFile,BufRead *.asm setlocal ts=5 sts=5 sw=5 " Indentation settings for using 4 spaces instead of tabs. " Do not change 'tabstop' from its default value of 8 with this setup. @@ -207,10 +209,17 @@ nnoremap <c-l> <c-w>l nnoremap <c-n> :cnext<CR> nnoremap <c-b> :cprevious<CR> -" buffer switching +" command line autocomplete +set wildchar=<Tab> wildmenu wildmode=full + +" scroll through buffers noremap <left> :bp<CR> noremap <right> :bn<CR> +" show menu to switch buffers +set wildcharm=<C-Z> +nnoremap <F10> :b <C-Z> + " unhighlight search results noremap <silent><Leader>/ :nohls<CR> @@ -225,12 +234,6 @@ cmap w!! %!sudo tee > /dev/null % " This replicates the idea of closing a tab nmap <leader>bq :bp <BAR> bd #<CR> -" Go to the previous buffer open -nmap <leader>jj :bp<cr> - -" Go to the next buffer open -nmap <leader>kk :bn<cr> - colorscheme base16-tomorrow-night let g:ale_set_balloons=1 |