New answers tagged vim-windows
0
votes
Open Vim help in vertical split
FWIW I have the following since long time (OBS! Vim9 script):
augroup vimrc_help
autocmd!
autocmd BufEnter *.txt if &buftype == 'help' | wincmd H | endif
augroup END
0
votes
Open Vim help in vertical split
An alternative solution could be:
command! -nargs=? Help vertical help <args>
function! CorrectHelpCall()
if getcmdtype() != ':'
return "\<CR>"
endif
let l:command = ...
1
vote
Open Vim help in vertical split
What works for me is to have a help.vim file in ~/after/ftplugin with the following content:
autocmd BufEnter <buffer> wincmd L
What is does is to associate to every help buffer (i.e.: buffer ...
Top 50 recent answers are included
Related Tags
vim-windows × 611buffers × 68
neovim × 48
vimrc × 41
vimscript × 39
key-bindings × 39
gvim × 29
tabbed-user-interface × 28
window-management × 18
command-line × 15
netrw × 15
plugin-nerdtree × 15
multiple-files × 14
terminal × 12
autocmd × 12
scrolling × 12
microsoft-windows × 9
vimdiff × 9
terminal-buffer × 8
help-system × 8
statusline × 7
tmux × 7
syntax-highlighting × 6
macvim × 6
quickfix × 6