behavior
When opening a vertical split (:vsplit) the foldcolumn setting from original window is set in the vertical split one.
Same happens with vim-peekaboo.
See next screenshots, in its command line I executed :set foldcolumn? just before pressing " in normal mode:


desired behavior
Either:
- vim-peekaboo window with
:set foldcolumn=0
- or floating window for Vim: issue 68
Suggestions
- add modeline comment (to be hided by syntax that reads vim-peekaboo window)
- execute
:set foldcolumn=0 in vim plugin just after create the vertical split
- customize the default plugin mapping (without modifying plugin code). My best failing try:
nnoremap <silent> <F1> :<c-u>let foldcolumn_orig=&foldcolumn <bar> set foldcolumn=0 <bar> call peekaboo#aboo() <bar> exec 'set foldcolumn='.foldcolumn_orig <cr>
Desktop
Ubuntu 20.04
Vim 8.2
Thanks in advance!
behavior
When opening a vertical split (
:vsplit) thefoldcolumnsetting from original window is set in the vertical split one.Same happens with vim-peekaboo.
See next screenshots, in its command line I executed


:set foldcolumn?just before pressing"in normal mode:desired behavior
Either:
:set foldcolumn=0Suggestions
:set foldcolumn=0in vim plugin just after create the vertical splitnnoremap <silent> <F1> :<c-u>let foldcolumn_orig=&foldcolumn <bar> set foldcolumn=0 <bar> call peekaboo#aboo() <bar> exec 'set foldcolumn='.foldcolumn_orig <cr>Desktop
Ubuntu 20.04
Vim 8.2
Thanks in advance!