Tagged Questions
1
vote
1answer
26 views
Can't run 'rails' inside Tmux session in Terminal
I just tried rails inside a tmux session in iTerm2 and it returns as
-bash: /usr/bin/rails: /usr/bin/ruby: bad interpreter: No such file or directory
I can run rails outside of tmux . I am using ...
0
votes
0answers
125 views
Copy text from remote via iTerm2 with Tmux to OS X clipboard
I'd tried using iTerm2 beta Build 1.0.0.20120724 and using bind C-y run-shell "reattach-to-user-namespace -l zsh -c 'tmux show-buffer | pbcopy'" in .tmux.conf but none works.
The solutions I found ...
3
votes
1answer
42 views
Is there a way to disable closing panes in Tmux?
I am using tmuxinator. Here is my project file.
project_name: Network
project_root: ~/Code/Network
tabs:
- editor: vim
- worker:
layout: ...
2
votes
1answer
141 views
Binding tmux command key to ctrl-\ on mac
I'd like to use ctrl-\ as the command key for tmux.
Ctrl-a and ctrl-b conflict with bash and emacs bindings.
set-option -g prefix C-\
When I start a tmux session, I get:
/Users/justin/.tmux.conf: ...
1
vote
2answers
230 views
Why doesn't tmux respond to shortcuts properly?
I'm using OSX 10.8.1 in combination with iTerm2, zsh and tmux via Homebrew.
The beginning of my ~/.tmux.conf file looks like this:
set -g prefix C-a
unbind C-b
bind-key a send-prefix
set -sg ...
0
votes
0answers
145 views
Terminal with session management and scrollback OS X
I use GNU Screen all the time in OS X, primarily running on the server side of my SSH connections in order to maintain persistence, while multitasking. The beauty is that if I get disconnected, all ...
1
vote
2answers
227 views
Keyboard shortcut for switching panes in tmux in iTerm2 on OS X
I have tmux installed with iTerm2 on OS X.
While I can do Cmd+left/right to switch between tabs, I cannot seem to be able to switch between panes under the same tab using Ctl+b o (that is, Control ...
1
vote
1answer
135 views
tmux on a mac, how can I move the divider lines
On my linux system I use prefix (redefined as ctrl-a for me) than ctrl- arrow keys to move the divider line but this isn't working on my new mac. Any idea how I can move the divider lines?
3
votes
2answers
318 views
Can't compile tmux with iTerm support
I'm trying to compile the tmux that has iTerm2 support.
This is the error I get:
configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS
If this token and others are legitimate, ...
5
votes
3answers
1k 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 ...
2
votes
1answer
989 views
Tmux key bindings not working
I installed tmux using homebrew on Mac OSX Lion a while back. Suddenly the keybindings have stopped working. For example if I try Ctrl-b then c (Create new window) it just types c in the terminal ...
3
votes
1answer
603 views
Difference between tmux and shell split options on iTerm2?
I currently switched to iTerm2 + VIM for my dev environment. I noticed that the last version of iTerm2 supports tmux and there were people using tmux to split the window into several sessions. I also ...
11
votes
2answers
2k views
tmux exits with [exited] on mac os x
I just installed tmux (a terminal multiplexer) with homebrew. When I try to run it, it always exits with [exited] Nothing shows up.
When I try to run tmux list-session I get an error:
failed ...
0
votes
1answer
886 views
Using gray color in tmux status bar
I am using iterm2 on mac os x and I can't get something like color245 to show up as gray, seems like tmux uses black instead. I am using iterm2 on mac os x. Any idea what might be wrong?
setw -g ...
5
votes
4answers
3k views
bind tmux prefix to OS X cmd key (or any other binding)
I'm used to iTerm2 (or Terminal.app for this case) on OS X. But I want to move to use tmux (or screen, but the problem is similar to both apps).
So my idea is to have a single iTerm tab with a tmux ...
6
votes
4answers
3k views
How can I get ssh-agent working over ssh and in tmux (on OS X)?
I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...
21
votes
5answers
2k views
Unable to use pbcopy while in tmux session
Running tmux 1.4 installed from ports on snow-leopard I am unable to use the built in OSX pbcopy command.
Outside of tmux:
> echo "abc" | pbcopy
> echo pbpaste # or using ^v
abc
But inside ...