How to mark the start of the shell session from Vim? -
How to mark the start of the shell session from Vim? -
when using vim-figitive
shells out commands git push
, on.
every time opens shell see leftovers previous session, like:
press come in or type command go on
it sets me off every time because can't figure out if output current session or previous one.
is there way mark sort of line every time shell out vim? in .zshrc
think:
if [ -n $vim ]; echo "----------------------------------------------------------------------------------" fi
update works when run :sh
, not when run commands vim-fugitive
. there way intercept system()
calls or whatever using?
from @tpope:
my recommendation disabling "alternate screen" terminal emulator (or terminal multiplexor). that's do.
just add together next tmux.conf
# tmux.conf # tmux , alternate-screen alternative defaults on set-window-option -g alternate-screen off
shell vim vim-fugitive
Comments
Post a Comment