0
votes
1answer
34 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
28 views

In tmux, after ssh a server, how to send R code in vim to R consol

I installed tmux and vim-r-plugin in local machine (ref: http://manuals.bioinformatics.ucr.edu/home/programming-in-r/vim-r), and use ssh to log in a server (only vim-r-plugin and screen installed). ...
0
votes
2answers
51 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
0
votes
0answers
40 views

Seamless vim and tmux panes between ssh client and host

This article describes assigning the same key binding to transitions between and within vim and tmux panes, allowing "seamless" transitions. ...
2
votes
2answers
56 views

How do I create CTRL key bindings in vim when using tmux?

I use Vim inside tmux, and have recently added the following to my .vimrc file: " easy navigation nnoremap <C-Left> :tabprevious nnoremap <C-Right> :tabnext But this seems to have no ...
0
votes
1answer
140 views

Vim colors do not appear correctly in tmux terminal running within rxvt-unicode terminal

I am using Debian (Jessie). My ~/.vimrc file contains the following statement. colorscheme murphy My ~/.Xresources file contains the following properties. URxvt.background: #000000 ...
1
vote
1answer
44 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
1answer
155 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 ...
2
votes
1answer
350 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 ...
3
votes
1answer
451 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 ...
4
votes
1answer
108 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
125 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
1k 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 ...
1
vote
0answers
199 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
154 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
104 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 ...
3
votes
0answers
76 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 current workflow ...
0
votes
1answer
52 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
86 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
116 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 ...
3
votes
0answers
2k 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
51 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
995 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
1answer
127 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
233 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
70 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
340 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
885 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
48 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: ------------------------------------ | | | | | ...
19
votes
2answers
3k 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
978 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 ...
14
votes
1answer
2k 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
70 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
256 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
2k 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
763 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
313 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
187 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
76 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
472 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 ...
6
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
1k 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
3answers
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 foo@bar.com vim test Backspace ...
8
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 ...
21
votes
2answers
7k 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 ...
36
votes
3answers
18k 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 ...
7
votes
4answers
3k 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
417 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
1k 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 ...