Open davehouser1 opened 4 years ago
Problem: When tmux-resurrect runs my active vim sessions include large gaps with no numbering, and tabe tabs do not appear / "g-t" does not switch between tabs. Looks like the vim sessions are not rendered properly.
System: Ubuntu 18.04.3, Gnome shell 3.28.4, gnome-terminal 0.52.2, bash 4.4.20(1), vim 8.0 1-1453
Plugins used: tmux-resurrect, vim-sessions, vim-obsession, tmux-continuum
Trouble shooting:
Temp work around: Need to quite all files in panes using vim in tmux-resurrect instance then run vim again for full functionality.
Configuration files:
~/.tmux.conf:
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-processes ':all:' set -g @resurrect-strategy-vim 'session' set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-save-interval '1' set -g @continuum-restore 'on'
run '~/.tmux/plugins/tpm/tpm'
~/.vimrc "Begin Vundle Components Section set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'jiangmiao/auto-pairs' Plugin 'xolox/vim-session' Plugin 'xolox/vim-misc' Plugin 'tpope/vim-obsession' call vundle#end() filetype plugin indent on "End Vundle Components Section "Turn off auto reload for vim-session plugin let g:session_autosave_periodic = 1 let g:session_autoload = 'yes' let g:session_autosave = 'yes' let g:session_autosave_to = 'default' let g:session_verbose_messages = 0 let g:session_default_to_last = 1
~/.bashrc
export HISTCONTROL=ignoredups:erasedups shopt -s histappend export PROMPT_COMMAND="history -w; history -a; history -c; history -r; $PROMPT_COMMAND"
I have the same problem.
+1
Problem: When tmux-resurrect runs my active vim sessions include large gaps with no numbering, and tabe tabs do not appear / "g-t" does not switch between tabs. Looks like the vim sessions are not rendered properly.
System: Ubuntu 18.04.3, Gnome shell 3.28.4, gnome-terminal 0.52.2, bash 4.4.20(1), vim 8.0 1-1453
Plugins used: tmux-resurrect, vim-sessions, vim-obsession, tmux-continuum
Trouble shooting:
Temp work around: Need to quite all files in panes using vim in tmux-resurrect instance then run vim again for full functionality.
Configuration files:
~/.tmux.conf:
Install Plugins
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum'
Plugin: tmux-resurrect
set -g @resurrect-processes ':all:' set -g @resurrect-strategy-vim 'session' set -g @resurrect-capture-pane-contents 'on'
Plugin: tmux-continuum
set -g @continuum-save-interval '1' set -g @continuum-restore 'on'
Initalize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'
~/.vimrc "Begin Vundle Components Section set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'jiangmiao/auto-pairs' Plugin 'xolox/vim-session' Plugin 'xolox/vim-misc' Plugin 'tpope/vim-obsession' call vundle#end() filetype plugin indent on "End Vundle Components Section "Turn off auto reload for vim-session plugin let g:session_autosave_periodic = 1 let g:session_autoload = 'yes' let g:session_autosave = 'yes' let g:session_autosave_to = 'default' let g:session_verbose_messages = 0 let g:session_default_to_last = 1
~/.bashrc
History control for tmux resurrect
export HISTCONTROL=ignoredups:erasedups shopt -s histappend export PROMPT_COMMAND="history -w; history -a; history -c; history -r; $PROMPT_COMMAND"