I use vim 7.4 and it segfaults atleast four-five times everyday. I suspect it's some plugin that is causing it to crash but I don't really know. Does it happen to anyone else too? I have mapped Ctrl-C to ESC and I use it often. One specific instance I have seen vim crash is when the cursor is at np.inf and I press Ctrl-C.
Have you tried upgrading to a non-ancient vim?
Tmux and Vim – better together
51–60 of 297 posts
Re: Tmux and Vim – better together
#52Earlier quoted context omitted.
Weird. I built my .rc files like 10 years ago, and only edit them about twice a year to add a plugin or modify a keybinding. Not a pain to maintain at all.
How do you store them? Just backup into a dotfiles repo or what? I've been looking into dotfiles + gnu stow.
EDIT: The biggest problem, for me, is that since they are all dotfiles, they are invisible to normal ls operations within the stow directory. It's a minor nit, but it can be quite annoying to run up against.
Re: Tmux and Vim – better together
#53Looks like what he really needs/wants is an IDE.
Re: Tmux and Vim – better together
#54Re: Tmux and Vim – better together
#55Earlier quoted context omitted.
I used it for a while but then I realized that ConEmu also supports split panes, and then i can just scroll/select the buffers by mouse instead of ctrl+b, [. ConEmu really is an amazing piece of work. Quirky to configure (but hey, so it tmux), but truly amazing still :-)
You can scroll using mouse in tmux too. :set mouse Not sure about selecting panes with mouse though
$ cat ~/.tmux.conf
set -g default-terminal "tmux"
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
set -g mouse on
setw -g mode-keys vi
set display-panes-time 3000 #3s
My two wishes:- I wish mouse selecting text didn't select across multiple panes, or all of the blank space in a (zoomed) single pane. ("Anyone? Anyone?")
- I wish the tmux copy buffer ( ctl-b [ select yank ctl-b ] ) would copy into the system copy buffer ( ctl-v ).
Re: Tmux and Vim – better together
#56Looks like what he really needs/wants is an IDE.
Re: Tmux and Vim – better together
#57I've shyed away from using tmux and Vim. For some reason, when I use tmux and Vim, if I 'copy' a snippet of text (using my mouse/cursor higlight -> right-click -> copy) it treats all of the empty space a actual "space" characters when I 'paste'. Why does it do this?
Same, I don't use tmux with vim for exactly the reasons you gave. Instead I use i3 to split screens, etc. much better imo.
Still often use tiling though to tile a browser with a terminal or two browsers.
Re: Tmux and Vim – better together
#58Earlier quoted context omitted.
Weird. I built my .rc files like 10 years ago, and only edit them about twice a year to add a plugin or modify a keybinding. Not a pain to maintain at all.
How do you store them? Just backup into a dotfiles repo or what? I've been looking into dotfiles + gnu stow.
Re: Tmux and Vim – better together
#59Mouse integration has always been the blocker for me with tmux. Any good solutions out there yet?
Re: Tmux and Vim – better together
#60When I work remotely, I use the tmux integration provided by iTerm2 to provide more native windows, and it works well enough that I don't have to think about it most of the time.
If I were moving back to Windows or to a Linux development machine, I probably would go back to tmux in a single window. I'm just somewhat glad I don't have to right now.