Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [tmux]

tmux is a 'terminal multiplexer'. It allows for having multiple 'windows' in a single terminal window.

1
vote
0answers
8 views

How to bind Option-Delete to backward-delete-word in zsh vi mode in tmux and alacritty terminal

I use alacritty and currently, I have these key binding key_bindings: # (macOS only) - { key: N, mods: Command, action: SpawnNewInstance } - { key: F, mods: Command, ...
0
votes
1answer
28 views

How to render a specific character as transparent in terminal

I'm looking for a way of rendering a single character / escape sequence as transparent in iTerm2 or, if there is one, any other terminal emulator. With transparent I mean that it should show the ...
1
vote
0answers
72 views

tmux: Control + Shift + Tab & iTerm2

How do enable Control + Shift + Tab and Control + Tab for tmux in iTerm2 for macOS? This question may be better suited for Unix & Linux Stack Exchange or Super User, except the configuration is ...
0
votes
0answers
134 views

Tmux shortcuts not working in Terminal application

I've got the following shortcuts setup in Tmux: bind-key -r C-Up select-pane -U bind-key -r C-Down select-pane -D bind-key -r C-Left select-pane -L bind-key -r C-Right select-pane -R Basically ...
1
vote
0answers
203 views

CTRL+c / CMD+Dot and rs not working in tmux on iTerm or Terminal

CTRL+c / CMD+Dot and the nodemon rs commands are not working in tmux on iTerm or Terminal. No errors but just not working. Restarting terminal/iTerm/tmux does not fix it. It never works. Update: it ...
2
votes
0answers
193 views

status line in iterm integrated with tmux

I was trying to set the iTerm and tmux integration and found that panes could be displayed as iTerm2 window splits, if I run tmux -CC. But there is a problem, this 'simulation' of tmux does not have ...
2
votes
3answers
2k views

Why does F4 not work in MacOS X (Touchbar macBook, or macBook Air)?

I'm using iterm2 together with tmux and I need the function keys. Ever since I got the TouchBar Macbook Pro and upgraded to HighSierra, the F4 key became disfunctional in iTerm2 and emacs. The F4 key ...
0
votes
1answer
171 views

Hotkeys don't work in zsh when $TERM is set to screen-256color

As per various other discussions I bound opt+<- to 0x1b 0x62and opt+-> to 0x1b 0x66. This works great in zsh, but not in tmux. In tmux opt+<- does jump backwords per word, but also seems to do ...
1
vote
1answer
262 views

Entering Unicode Characters with `ssh … tmux -CC a -t mySession` on iTerm2

When I ssh into the server and then open tmux, I'm able to enter in Unicode characters. It seems that the problem is specifically with sshing directly with tmux -CC a -t mySession. Edit: I'm trying ...
4
votes
1answer
885 views

tmux jump words as with zsh

I moved from just using zsh to using zsh inside tmux. As my terminal is iTerm2 for both combinations. I have the following lines in my .zshrc to enable jumping words on a bare zsh command line using ...
1
vote
1answer
198 views

Macvim can not load custom Powerline fonts when started from tmux session

I have a really strange issue with MacVim + Tmux + Powerline Fonts. I can run MacVim from the dock or terminal and it correctly starts with Powerline fonts. When I start a tmux session, and launch ...
2
votes
1answer
1k views

How to switch off sharing of history between iTerm2 tabs when setopt command not found

I am experiencing the same problem as in this question: The history is shared between my iTerm2 terminal tabs: how can I switch that off?. As the user describes, my history is shared between different ...
0
votes
1answer
331 views

Under tmux, change window in Irssi with meta key Alt + Num?

I think this is specific to OS X Terminal.app Viewing many windows in irssi via tmux. I can use alt+right arrow to move windows as the metakey. but alt+5 only produces [KH^
2
votes
1answer
848 views

ssh under tmux always asks for password

Normally I give my passphrase for the private key on the first ssh invocation and then I am not asked for the passphrase (in this and all other bash sessions). However, under tmux, I am asked for the ...
0
votes
1answer
380 views

Mapping ⌘→ to ^Q→ in iTerm2 doesn't work

I'm trying to make iTerm2 and tmux play nicer with eachother (without using the builtin tmux functions; I'd like my windows and panes managed by myself). Therefore, I want to map ⌘+→ to a key ...
5
votes
2answers
1k views

tic doesn't read from STDIN and segfaults when adding terminfo to support italics in tmux

I'm trying to follow these instructions to add italics support to tmux. 1) I tried running copying-pasting and running this command cat <<EOF|tic -x - tmux|tmux terminal multiplexer, ...
1
vote
1answer
766 views

tmux always modify my zsh PATH

I'd like to use tmux inside my iTerm2. and I have the following in my ~/.tmux.conf file. set-option -g default-shell /bin/zsh set-option -g default-command "/bin/zsh -c 'which reattach-to-user-...
5
votes
1answer
2k views

Terminal.app and tmux session, can't use “open” command (without tmux it works)

I use Terminal.app and a tmux session. > open -a VLC file.mp4 The window server could not be contacted. open must be run with a user logged in at the console, either as that user or as root. ...
0
votes
2answers
979 views

Copying and pasting between tmux panes containing vim instances over SSH in Terminal.app

I use vim to develop Perl code on a remote Linux box running Debian Jesse. The machine is a virtual machine running in VirtualBox. I use ssh and then issue a vim <file> command to start editing ...
1
vote
1answer
365 views

Cannot copy/paste anymore in tmux 2.1

I just update to tmux 2.1(OS X10.11.3 Terminal.app), and my .tmux.conf(accroding to http://joehanchoi.com/quick-fixes-for-tmux-2-1-on-osx/) set-option -g mouse on bind -n WheelUpPane if-shell -F -t =...
1
vote
1answer
1k views

I can't delete in tmux

I have searched around and the closes thing I could find to my issue is this: https://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx I am running OSX and I am ...
1
vote
0answers
45 views

El Capitan Terminal.app keeps showing overlay

New terminal in El Capitan keeps showing this annoying overlay with tmux commands describing my current tmux session. How do I turn it off?
27
votes
2answers
15k views

unknown option: mode-mouse with iterm, tmux

I've reset my computer and now tmux is complaining about my .tmux.conf having these directives: setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-...
2
votes
1answer
797 views

iTerm2 output broken since upgrade to El Capitan

Since I upgraded my OS X to El Capitan (10.11) the output of iTerm2 is completely messed up. See this example screenshot (iTerm2 on the left, Terminal.app on the right): Update I'm using iTerm 2.1.4 ...
18
votes
8answers
16k views

Copy to clipboard from Tmux in El Capitan

I am quite happy with the Terminal changes in El Capitan (see e.g. this question). However, i can't figure out how to enable copying to system clipboard from within Tmux. For instance, now that I am ...
15
votes
2answers
5k views

Changes to Terminal in El Capitan

Can someone please describe the changes made to Terminal.app in El Capitan? I've just noticed that mouse events started working in Tmux, which is awesome! I had the following set in my tmux.conf: ...
1
vote
0answers
332 views

Mac Terminal (+bash +tmux +set-o vi) missing characters at end of line

Often when editing a historical bash command in vi mode (after pressing ↑), and then moving backwards in the text using b. When I begin editing the text after pressing i or a, the extra text I insert ...
0
votes
2answers
881 views

Why can't I use `launchctl setenv` from `tmux`?

If I'm running within tmux and I try to update an environment variable with launchctl, I see an error like this: $ launchctl setenv GIT_SSH /opt/local/bin/ssh Not privileged to set domain environment....
2
votes
2answers
4k views

Getting an unsuitable terminal error when opening tmux after switching to homebrew

Longtime macports user (tmux / 256color etc worked fine). Recently decided to switch over to homebrew. Have most things working again. tmux throws the following error when launching (have not ...
3
votes
1answer
3k views

Can I make tmux scroll from my trackpad?

I want to set up iTerm2 to pass scroll events to tmux, so I can trivially enter (and exit) scrollback mode for whatever pane is active. Is this possible to do with iTerm2, or automation of some sort, ...
6
votes
2answers
999 views

Unable to run 'display notification' using osascript in a tmux session

If I run the following command in Apple Script Editor directly, display notification "Hello, world" I can see a notification as expected However if I tried to invoke it via command line: ...
2
votes
1answer
608 views

tmux hangs when re-attaching session after logout

Since Yosemite, my tmux, which I installed via MacPorts, "hangs" when I re-attach it after my user has logged out and logged in again. I.e. it cannot start new processes, like a new command line. The ...
2
votes
1answer
1k views

LSOpenURLsWithRole() failed with error 10810 in iTerm2 running tmux on Yosemite

[~%]open ~/Pictures/upload.png LSOpenURLsWithRole() failed with error -10810 for the file /Users/bryanhunt/Pictures/upload.png. Before this update I used to be able to open images, PDFs, etc. from ...
1
vote
1answer
637 views

fish shell suggests commands in tmux

I use fish shell, it's has option "suggests commands", so it is works like in the next screenshot. Examle: You type command git status. In the next time when you type just g or git fish give you ...
1
vote
1answer
80 views

open in tmux fails for all files

I'm having some trouble nailing down a problem I've had with Yosemite for a few weeks now - when I issue the open command inside tmux, all files (PDFs, text files, applications, everything) fail to ...
3
votes
1answer
135 views

Tmux hampers osascripts display notification

I like to show notifications from scripts using osascript -e 'display notification "Some text"'. This works fine from the plain shell but it stop working when in tmux. It just doesn't show the ...
16
votes
2answers
9k views

In iTerm2 Command Click on URLS does not work when inside a tmux session

When not inside a tmux session, Command-Click on URLs works flawlessly. How can I make links clickable in iTerm2 when inside a tmux session? When hitting Command the mouse pointer changes to the ...
2
votes
1answer
947 views

What's a good key binding for tmux on OS X?

The default tmux binding is ctrl+b, which is pretty awkward to hit on a Mac keyboard, because there's no right control. C-a was the default in screen, but that's the default in OS X for going to the ...
8
votes
1answer
8k views

What are the differences between terminal types supported by iTerm2?

I am looking for a brief comparison of the terminal types supported by iTerm2, mainly to see what setup to pick in order to minimize problems. Mainly, I am connecting with Linux (Debian/Ubuntu) ...
0
votes
1answer
927 views

New mac - installed tmux but can't use mouse in for pane switching

I have the required setw / setg setting for mouse in my .tmux.conf but they aren't working. I've done tmux source-file .tmux.conf I can use tmux and split windows with my remapped keys and other ...
1
vote
1answer
467 views

XQuartz is not starting from within tmux

I'm using the standard apple terminal with zsh as my default shell. In my ~/.zprofile (equivalent of .profile) I have the following line: [[ $TERM != "screen" ]] && exec tmux This basically ...
15
votes
7answers
11k views

Installing tmux but getting “dyld: Library not loaded Referenced from: /usr/”

I try to do brew install tmux it installs, but, probably due to previous failed and not fully removed non-brew attempts to install both it and libevent, when try to use tmux I get $ tmux dyld: ...
7
votes
1answer
15k views

How to remap tmux split pane keys?

On my linux machines, for my terminal shell I have tmux keys mapped to allow me to split windows and then switch between new panes. With or without these mappings I can't figure out how to remap the ...
5
votes
1answer
685 views

pbcopy exits code 1, no error message

I'm trying to use pbcopy and pbpaste to copy and paste to the clipboard from a shell. I read the man page to learn the syntax for these programs. However, no matter how I try to invoke pbcopy or ...