1
vote
1answer
21 views

Tmux - select entire lines

I'm using tmux with the following lines in my .tmux.def: bind p paste-buffer bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection It works well and I can start copy mode ...
0
votes
0answers
35 views

Mouse scrolling down in vim inside tmux via PuTTY, but not up

I'm experiencing an issue across multiple platforms where scrolling down with the mouse wheel works fine, but not scrolling up, while using vim within a tmux session within PuTTY. Any ideas? Maybe ...
1
vote
1answer
62 views

Mouse scrolling in vim through tmux, how to configure?

I'm using a combination of PuTTY, tmux and vim. If I just open an SSH connection with PuTTY and then open vim, mouse scrolling works as expected. But if I open tmux and then open vim inside tmux the ...
2
votes
1answer
198 views

vim inside tmux: throws “E388” with <C-Left> in insert mode [duplicate]

I've read that in insert mode in vim, one can use <C-Left> and <C-Right> to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter. When inside ...
3
votes
0answers
71 views

Making vim use the alternate screen

This thing is driving me crazy. I have already searched the internet and SE and found a lot of related questions but none solve my problem. I'm using Zsh inside tmux. Until a couple of days ago ...
0
votes
1answer
83 views

Tracing an error message when starting Tmux or Vim

Recently when I start Tmux on my Mac (with Powerline) in iTerm, I get an error git: Permission denied. I also get the error over and over again as I type in Vim (also using Powerline). As you can ...
0
votes
1answer
605 views

Vim inside tmux on Mac OS X Mavericks can't copy to clipboard

Since going to Mavericks, I've lost the ability to use the clipboard in vim when run under tmux. I install vim via brew. For reference, yes, the +clipboard option is definitely set. When I run vim ...
0
votes
0answers
118 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here) Here's what I want: Consistent behavior (as much as possible) between Vim, MacVim, zsh with ...
0
votes
2answers
94 views

Background process text appears in terminal vim

First time poster, long time lurker, searched, couldn’t find etc, etc. I’m running vim in tmux, in iTerm2. I’m running a server with Grunt.js, which I have running in the background, out of my way. I ...
2
votes
0answers
87 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
63 views

Tmux copy mode: stay in copy mode after selection

When using tmux, I often find a need to copy multiple items from one pane or window into another. When those items are located close to each other in a long scrollback buffer, my workflow typically ...
0
votes
1answer
51 views

Why is $HOME being unset within vim within a tmux session

Up-to-date Fedora 19, when I launch tmux and at the bash prompt and type: echo $HOME my $HOME environment variable is displayed. If I then launch vim (with and without --noplugin -U none) and ...
0
votes
0answers
81 views

vim colo directive ignored in console

I have the following in my .vimrc: if has("gui_running") colo desert " ... else colo distinguished " ... endif gvim works fine. When I open vim in gnome-terminal in tmux, the colo ...
1
vote
1answer
103 views

Vim write latency in tmux

I have noticed that, while using Vim in tmux over an SSH session, when I write a buffer to disk (i.e., :w) occasionally, while Vim says it's been written, the file remains unchanged. In fact, often ...
1
vote
0answers
1k views

tmux: enable mouse scrolling in vim instead of history buffer

I have just started using tmux 1.8 recently, after working with screen for a while. After reading things here and there on the internet, I came up with following ~/.tmux.conf However when I open vim ...
1
vote
1answer
46 views

Check if Vim has more than one window open

I'd like to overload my tmux binding which cycles through panes to also cycle through Vim windows if the current pane happens to be running Vim. I can detect the presence of Vim by checking the pane ...
1
vote
1answer
813 views

OS X + tmux + vim + solarize + colors

I want to use tmux with console vim having solarized colors on OS X, but the colors are broken inside tmux. There are quite some questions/answers and blog posts about that topic, but solutions ...
0
votes
0answers
102 views

Vim only takes up half the screen in tmux

When I run vim in tmux, it only takes up half the screen (usually the left half). I would like vim to use up the whole screen, but don't know how. Tmux still seems to consider the entire screen as ...
2
votes
1answer
199 views

why won't tmux resize terminal window to honor vi lines setting?

Say I open a terminal $ echo $LINES 25 $ vi :set lines? 25 :set lines=50 :!echo $LINES 50 -as I'd expect (and the terminal window resizes and everything works). But if I start tmux from a fresh ...
2
votes
2answers
60 views

tmux — naming windows and selecting them via fuzzy matching

I want to be able to name my tmux windows and select them using fuzzy matching (similar to LustyJuggler or Ctrl-P in vim). Is this possible with tmux?
1
vote
0answers
271 views

Home and End keys doesn't work in vim inside tmux

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff: H F H sample text my .tmux.conf: set-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g ...
1
vote
2answers
662 views

vim backgroundcolor in tmux - how to force zsh to use screen instead of xterm in tmux

I am having the same problem like the questioner in 256 color support for vim background in tmux. In my normal terminal with zsh, I have no background color issues in vim, but when I run it inside ...
2
votes
2answers
46 views

Is it possible to freely intersperse vim panes from the same session and other shell panes in tmux?

I would like to have arbitrary arrangements of vim and other terminal panes within tmux. This is a simple example: ------------------------------------ | | | | | ...
12
votes
2answers
2k views

vim freezes inside tmux

I'm using split panes in tmux - one being vim, other shell. Sometimes, around once a day, vim freezes. I can move between panes, perform any tmux commands, just vim doesn't react to anything. This ...
1
vote
1answer
693 views

How to use Fn keys in tmux?

I have a bind in vim for F5 key to trim whitespaces and I'm unable to use it in tmux. Instead of that letter "T" appears. Is there's any solution for that? Actually it was working in putty, now I've ...
11
votes
1answer
1k views

Can't resize vim splits inside tmux

Everything working fine outside tmux. But in tmux I can't resize vim splits with mouse. I have set mouse=a in .vimrc enabled. is there's any solution for this? .tmux.conf: $ cat ~/.tmux.conf ...
1
vote
1answer
67 views

Vim on screen, without looking

I'm trying to do the following: Start a new screen session Start vim on it. Feed commands to it. Check the output as a means of testing vim. I can do this, but the catch is that I want it to be ...
0
votes
1answer
203 views

Setting caps lock key to CTRL but still function as caps lock if I press for long enough in Mac OS X

If possible I would like something similar to this: http://apple.stackexchange.com/a/4815/31313 Basically a simple script that detects when I'm in tmux, if I am change the CAPS lock key to be a CTRL ...
2
votes
2answers
1k views

Which is the correct way to config the $TERM and tmux?

I am using gnome-terminal with bash. When I set xterm-256color for $TERM and in .tmux.conf most of the things work but when I try to change the colorscheme of vim the things mess up. When I set ...
4
votes
2answers
671 views

tmux / vim split panes

I am borrowing this screenshot from another question: The terminal background seems to leak through into vim left of the dividing border. This is most noticeable near Top. Can anyone tell me ...
1
vote
1answer
273 views

Clicking far away in vim in tmux in urxvt

I use vim inside tmux inside urxvt, and the mouse works perfectly well for clicking and selecting text, except when I want to click too far to the right. It seems to be related to the distance in ...
3
votes
1answer
174 views

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes?

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes? For example when I use my key combination to move to the right pane within VIM, VIM should ...
1
vote
1answer
75 views

tmux pane continuation

I would like to have a very tall virtual display to browse code in vim. Is it possible to split tmux into two column panes, so that the right pane continues the left pane? So that I can scroll in one ...
2
votes
2answers
1k views

Pair programming with tmux and Vagrant

Does anyone have a clear step-by-step guide for setting up a shared tmux session on a Vagrant vbox that my coworkers (on our local office lan) could SSH into? The articles I've found online only seem ...
6
votes
1answer
433 views

How to show current mode in status-line in tmux?

In vim: :set showcmd tells me what key I've typed(such as f). In tmux: after typing Ctrl-b, I stop to think about the next key I need. Sometimes I forgot I've typed Ctrl-b, so I type it again, it ...
5
votes
2answers
2k views

How to close other windows in tmux?

I write some functions in .bashrc to make tmux easy to use: #!/bin/bash # .bashrc # vim tmux #----- -------------------- tabc() { tmux kill-window; } tabe() { tmux new-window; } tabf() ...
2
votes
1answer
918 views

Can you hide the tmux status bar when starting a program like vim?

Some programs, like vim, look much better without the tmux status bar at the bottom. I have already set up a key that toggles the visibility of the status bar, but it would be even awesomer if the ...
0
votes
2answers
1k views

vim tmux backspace ^?

I'm having a strange problem: When sshing into a particular host (from OSX to RHEL5), vim seems to forget how to backspace, but only in a tmux session, ie: ssh [email protected] vim test Backspace ...
7
votes
3answers
2k views

Synchronize pasteboard between remote tmux session and local Mac OS pasteboard

Setup: I use iTerm2 on MacOS to connect to a remote server. The remote server runs tmux, in which I open files and edit in vim sessions. Problem: I can't copy/paste between the remote tmux session ...
18
votes
2answers
5k views

How to get shift+arrows and ctrl+arrows working in Vim in tmux?

This is all in iTerm2 on OS X. I used to have export TERM='xterm-256color' in my .bashrc. This meant Vim in tmux did use 256 colors. And once I added set -g xterm-keys on then keyboard ...
32
votes
3answers
15k views

256 color support for vim background in tmux

while using vim within tmux I can see that 256 color support is enabled. with $tput colors However changing the colorscheme in vim while in tmux will change the colorscheme on a per line basis but ...
5
votes
3answers
2k views

tmux copy mode - select text block

I'm using tmux with vi keys, and copy/paste works fine as long as you're selecting one line of text, or if you have only one window. When I want to select a block of text (multiple lines, but not full ...
0
votes
2answers
379 views

vim : <c-a> occupied from tmux/screen

I use screen/tmux and vim. In vim, I can't use <c-a> for increment a number, <c-a> is occupied from screen/tmux. any suggestion for a simple map for increment a number ? I try with ...
6
votes
1answer
883 views

Looking for non-conflicting cross-platform keybinding consistency

I use Mac OS X and Arch Linux and occasionally log into FreeBSD and Debian servers by ssh. My favoured tools are zsh, ssh, tmux, git, vim and irssi. I use iTerm2 on Mac OS X and unicode-rxvt on Arch ...
2
votes
1answer
3k views

Vim through Tmux looks completely out of whack, is there a way to fix this?

When SSH'd into another machine, I use Vim as my text editor, and I'm trying to add Tmux to my tool set as well. However, when I use vim through Tmux, the colors are completely wrong, and Vim is ...
2
votes
2answers
1k views

Sending commands to parent tmux session from vim

I have a split window setup with vim and Lynx in tmux. I'm trying to build a script so that I can send a custom command to vim which will save the script I'm working on, switch focus to the Lynx pane, ...
18
votes
2answers
3k views

Slight delay when switching modes in vim using tmux or screen

Switching to and from insert mode in Vim is no longer instantaneous since I use tmux. After pressing Esc in insert mode, it takes a noticeable amount of time to actually get out of insert mode. After ...
16
votes
3answers
3k views

copy-paste not working in MacVim when launched in tmux

MacVim's copy-paste stops working when I launch it from a tmux terminal (on zsh). If I exit tmux and then launch MacVim copy-past works. Any idea how to fix this?
3
votes
4answers
3k views

Messed up keys in vim when running inside tmux

I have been playing with tmux and I'm loving it. However, there's an annoying issue when running vim inside it. Somehow the arrow keys get remapped, but only on certain times, like when firing up ...
28
votes
3answers
18k views

selecting text tmux copy-mode

I run tmux in VI mode. VI-like navigation in copy-mode works fine. However, I can't select any text. Neither v nor V doesn't switch to VI-like text selecting mode. What am I missing? By the way, is ...