vim: buffergator angepasst

This commit is contained in:
Michael Grote 2021-08-12 12:58:32 +02:00
parent 4696cc46e4
commit 76244ca07e

13
.vimrc
View file

@ -96,17 +96,18 @@ let g:lightline = {
" https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/ " https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/
" This allows buffers to be hidden if you've modified a buffer. " This allows buffers to be hidden if you've modified a buffer.
" " This is almost a must if you wish to use buffers in this way. " " This is almost a must if you wish to use buffers in this way.
" https://medium.com/usevim/vim-101-set-hidden-f78800142855
set hidden set hidden
" To open a new empty buffer " öffne buffergator drawer horizontal unten
nmap <C-t> :enew<cr> " https://github.com/jeetsukumaran/vim-buffergator/blob/master/doc/buffergator.txt
let g:buffergator_viewport_split_policy = 'B'
" gibt an wie hoch der drawer sein soll
let g:buffergator_hsplit_size = '10'
" Move to the next buffer " Move to the next buffer
nmap <C-l> :bnext<CR> nmap <C-l> :bnext<CR>
" Move to the previous buffer " Move to the previous buffer
nmap <C-h> :bprevious<CR> nmap <C-h> :bprevious<CR>
" Close the current buffer and move to the previous one "
" This replicates the idea of closing a tab
nmap <C-q> :bp <BAR> bd #<CR>
" indentLine " indentLine
" fügt vertikale Striche bei Einrückungen ein " fügt vertikale Striche bei Einrückungen ein