Hot answers tagged

3

The problem is twofold. First, tmux by default converts the control-arrow keys from one type of escape sequence to another. So special keys such as controlleft are sent to vim without the modifier, e.g., left. If you use cat -v to see the different escape sequences, you might see something like this ^[OD versus this (outside tmux): ^[[1;5D The line ...


2

This is similar to How to enable Control key combinations for GNU screen on putty?, but addresses a different aspect. In a quick check, it seems that the problem is a conflict between this line set-window-option -g xterm-keys on and this: set -g terminal-overrides "screen*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@" Dropping the set-window-...


1

So i got it all working [Unit] Description=HW1SVC After=network.target [Service] Type=simple User=servers2 WorkingDirectory=/data/steamcmd/hw6/ ExecStart=/data/steamcmd/hw6/Hurtworld.x86_64 -batchmode -nographics -exec "autoexec.cfg" -logfile "gamelog.txt" KillSignal=SIGINT TimeoutStopSec=30 Restart=always [Install] WantedBy=network.target this is the ...


1

For some reason, it was just a Vim issue: when started in tmux, it loaded default colorsheme, but when started from plain terminal, it loaded desert colorscheme but still calling it default when asked via :colorsheme. Forcing :colorsheme default resolved an issue, so I added colorsheme line in my ~/.vimrc and now it's OK. I have no idea why Vim was doing ...


1

An idea: run tmux in tmux. Original set up: Pane 1 and pane 2; side by side. Run vim in Pane 1 as normal. In pane 2, run tmux again and create two panes (one on top of the other this time). Then run vim in pane 2.1 and your CLI in pane 2.2. This should allow you to full screen pane 2.1 with your second instance of Vim resulting in the behaviour you want....


1

.tmux.conf set -g utf8 on Fixed the exact same issue for me.


1

Use both: A tiling window manager, and a terminal multiplexer. Combine both their capabilities and advantages to obtain an even better synergy. On my i3 setup I regularly display several terminals at the same time, but all of them connected to the same tmux session, so I can display all tmux windows in any of the terminals. In effect, I use the tiling ...



Only top voted, non community-wiki answers of a minimum length are eligible