tmux-resurrect: Can't have vim ressurected anymore
Hi,
First of all, thanks for all your plugins.
When I first try tmux + tmux ressurect, vim sessions were restored, but I don’t know how or when it start to fails. Vim just doesn’t restart. If I save a session (I use tope/vim-obsession), kill tmux and restart/restore, vim just doesn’t start again 😕
Here is my tmux conf https://github.com/MoOx/setup/blob/master/dotfiles/tmux.conf
Here is my tmux/last
pane tmoox 1 :vim 1 :* 0 :/Users/MoOx/setup 1 vim :-zsh
pane tmoox 1 :vim 1 :* 1 :/Users/MoOx/setup 0 zsh :-zsh
window tmoox 1 1 :* f0c1,203x59,0,0{101x59,0,0,1,101x59,102,0,2}
state tmoox tmoox
tmoox is just alias tmoox="tmux attach -t tmoox || tmux new -s tmoox"
Can this be related to a vim plugin or something like that ?
I am using iTerm 2 latest build on OS X 10.10, here are some other informations:
$ tmux -V
tmux 1.9a
~
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 16 2015 10:08:54)
MacOS X (unix) version
Included patches: 1-488
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent -gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con -lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra -mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -DMACOS_X_UNIX -Os -w -pipe -march=native -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang -L. -L/usr/local/lib -L/usr/local/lib -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o vim -lm -lncurses -liconv -framework Cocoa -fstack-protector -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework Python -lruby.2.0.0 -lobjc
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 21 (9 by maintainers)
I found a solution to this:
For some reason reattach-to-user-namespace doesn’t work properly when you run it in fish. If you start tmux and run a program (e.g.
top) and then checkpstree, you’ll see what I mean. However, it’s no problem to run it in bash instead since you’re creating a new fish shell anyway.