I recently started using TMUX and found it great i mean for some reason i'm getting addicted to it. But also found 2 itsy bitsy nuisance like  1) While in TMUX if i have a lengthy command and have to jump between words using ctrl+left or ctrl+right arrow key it dont work and i have to travel across character by character    2) While using Vim in TMUX if i press Shift+down or Shift+up arrow key it doesn't work either ...  Any clues to solve them ....  Thanks in advance ...
123664
I recently started using tmux (was a screen user before) and I'm loving it, except for one small problem. I use emacs within my tmux session and I am used to using Shift-arrow keys to move between emacs windows (not tmux windows). When running within tmux, these bindings seem to stop working entirely (it's like they don't register to emacs at all). If I exit tmux and just run emacs in my shell, they work fine.   I'm using iTerm2, ssh'd into a Linux box, running tmux/emacs there. I have the Shift-arrow key bindings set up as follows in my .emacs:  (global-set-key "\M-[1;2A" 'windmove-up) (global-set-key "\M-[1;2B" 'windmove-down) (global-set-key "\M-[1;2C" 'windmove-right) (global-set-key "\M-[1;2D" 'windmove-left)   When not running in tmux, I can confirm those are the right character sequences for the shift-arrow key combinations by doing C-q in emacs and then pressing the key sequence. Within tmux, even that doesn't work because it doesn't seem to see any input from the shift-arrow keypress (it just sits at the C-q prompt).   Looking at the key bindings for tmux, I don't think anything is bound to Shift-arrow keys and even if it was, they would only register after entering the prefix (which is bound to C-o in my case).   Any idea on how to make the shift-arrow keys work again within tmux?
123809
Bash offers many useful emacs-style keybindings for simple commandline editing. For example, Ctrl+w deletes ("kills") word left from the cursor.  Another keybinding, Alt+d is supposed to be a "mirror" of the first one. It is supposed to delete a word right from the cursor.  However, I have noticed, these two keybindings do not act completely symetricaly. Whereas Ctrl+w treats foo.bar as one word, Alt+d treats it as two words  Even more annoyingly, # echo are two words for Ctrl+w, but one word for Alt+d.  Is there some logic in this? Is there some reason why they don't treat words in the same way?  Is there any way for me to change this?  I am using bash on Debian Wheezy
123634
How can xkb or some other tool be used to permanently bind Caps Lock to ctrl+b while in terminal?  (This is to make Caps Lock the default prefix key for tmux. It could also be mapped to a specific key if that's too difficult, e.g. a function key, which could then be made the tmux prefix instead.)
63703
Every time I type it the terminal flashes but doesn't insert it. If I paste in a command that has a [ it will paste everything except the ['s  This has been happening before I updated to 10.11, but has become a massive issue, I can't use jq at all because of it.  I also have the same issue with iTerm2.
63434
I have two different machines (home and work) running Ubuntu 18.04. Last night vim froze at home. I was in insert mode and typing and went to save (esc :w) and nothing happened. The status bar still reads -- INSERT --, the cursor is still blinking where it was. I was stuck. I couldn't find a way out. I couldn't type (nothing happened when I type), I couldn't move around (the up and down arrows did nothing). It was stuck in insert mode with the cursor blinking where it was.   I was definitely multitasking and probably hit some other keys in there, but I don't know what keys. It was late, though, so I closed the terminal window and tried again (I was entering a git commit message). It happened again partway through my typing so I switched to git commit -m "don't need an editor for this" instead. And then I shut down my computer and stopped working.  I figured I was just tired, but then it happened to me today at work on a different laptop altogether. Again I was multitasking and can't swear I didn't type any bizarro key sequence but if I did it was accidental. And other tabs in the same terminal aren't frozen.   I'm used to getting trapped in visual mode in vim. That's a trick I've learned. But stuck in insert mode? Any ideas on what I might've done and how to get out of it?   Per a comment suggestion I tried looking at .viminfo but the only .viminfo I see is owned exclusively by root and only appears to show things I would have edited with sudo:   # Input Line History (newest to oldest):  # Debug Line History (newest to oldest):  # Registers:  # File marks: '0  1  0  /etc/neomuttrc |4,48,1,0,1531789956,"/etc/neomuttrc" '1  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,49,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" '2  51  0  /etc/apt/sources.list |4,50,51,0,1530816531,"/etc/apt/sources.list"  # Jumplist (newest first): -'  1  0  /etc/neomuttrc |4,39,1,0,1531789956,"/etc/neomuttrc" -'  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,39,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" -'  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,39,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list"  # History of marks within files (newest to oldest):  &gt; /etc/neomuttrc     *   1531789952  0     "   1   0  &gt; /etc/apt/sources.list.d/signal-bionic.list     *   1530816564  0     "   1   66     ^   1   67     .   1   66     +   1   66  &gt; /etc/apt/sources.list     *   1530816454  0     "   51  0   It seems odd that I wouldn't have an unprivileged .viminfo but I did sudo udpatedb and locate .viminfo and still didn't surface more than the one root-owned file.
4538
When I pan with the Shift + MMB, it doesn't work. I think I might have accidentally pressed some sort of key-shortcut. It works for other views, so it's not my mouse. What sort of shortcut could I have pressed?
28996
I'd like to remap my keys such that Ctrl behaves as the Caps Lock key and vice-versa. Also, if possible I'd like the settings to be available only within the currently logged-in user. How can I achieve this?  I'm a vim user, unlike the other people who use this machine, so I'd like those settings only for my account.
9256
Keyboard shortcuts in gnome-terminal (Ctrl+Tab and Ctrl+Shift+Tab) in 12.04 don't seem to be working. Is there a setting that I dont know of?
108951
So, my update to 13.04 didn't go very well. Due to the lack of a decent driver (Yes, i'm unlucky to have a legacy driver which doesn't play nice with the new Xorg.), I had to mess around with stuff to first troubleshoot and afterwards "fix" my system.  I've finally got unity back, but now CtrlAltarrow and CtrlAltShiftarrow don't work anymore. They are bound in "keyboard" > "shortcuts", but nothing happens when I try it. A strange thing is that other keyboard shortcuts, like ctrlaltt to show terminal are still working.  I noticed that CtrlAltarrow doesn't show in the list with "unity shortcuts" (the list that shows when you hold the super key).  Does anyone know how to re-enable this way of workspace switching?  I enabled workspaces in the appearance menu. It doesn't have any effect though. Switching via the workspace-switcher in the unity dash works fine though.  CCSM is installed, but I can't seem to find a way to add keyboard bindings there.     System: ubuntu 13.04 64bit
1130
I have just recently moved from MS windows to Linux, and it is great; but there is one thing that really bugs me, and that is the use of Ctrl+Alt+key instead of using Alt Gr+key.  When I program, it irritates me that often used buttons like curly-braces and square-brackets are not easily accessed through Ctrl+Alt+key. How do I change the behavior of Ctrl+Alt+key to do the same as Alt Gr+key?  As mentioned earlier, my keyboard has a Danish layout.
91831
I use my mouse left-handed, which makes the default Cut/Copy/Paste hotkeys in Windows really akward to use. Is there any way I can change these - say to something like Control-m, comma, and period? That way, I could mouse with my left hand and use my right for the hotkey functions.
112748
Could anyone please tell me how to remap my Super(left) key to Ctrl key?  I mean Super(left) should work as Ctrl key.
62803
Is it possible to disable the behavior which causes selecting a pane on opposite side of a tmux window if there are no more panes left in a direction select-pane command was originally triggered at?  If not, is there a way how to determine if any other panes exist in a specific direction?  If a tmux window doesn't have a (v)split active window and a select-pane command is triggered, an error message is thrown - this is expected behavior.  Thank you for response
118420
I have four keyboards and I have defined Ctrl+1, Ctrl+2 and Ctrl+3 ... hot-keys for them. The problem is that either all of the hot-keys or the first one is removed regularly. For example every time the computer goes to sleep (or even locked) all of them are removed.  I even tried other hot-keys (Ctrl+Shift+1, ... Ctrl+Shift+4) or (Alt+Shift+1, ... Alt+Shift+4) and the problem still exist.  If I assign a transition key (Left Shift+Alt) it will work but that's not that useful when you have more than 2 keyboards and you want to regularly change the keyboard.  It appears that the problem has existed in Windows 8 too (and has something to do with welcome screen) but the solution I found does not work on Windows 10 ().  Has anyone been able to solve this problem?
73151
I have the following in my .tmux.conf  set -g prefix M-j bind-key j  send-prefix   I need to press (Atl+J) + (J) + bound-key to send something to the nested tmux session. I feel it is rather slow. Is there any better way? For example, I would love to be able to do (Alt+J) + (2x bound-key) to do stuff in the nested session. I constantly execute commands in the top tmux session instead of executing them in the nested one. Also, how come everybody binds prefix to C-a? I find it awfully slow and unpleasant to type this combination. Am I missing something?
22075
Even the simple ctrl+F is not working... I tried installing texmaker from software center and , but shortcuts still doesn't work...
40678
I'm using an editor that requires X11 and for the most part it works well. I have many commands that use the Alt key and I like to navigate the menus this way as well, but the Alt key doesn't work through X11.   I found  on configuring the Alt key for X11 applications, but it didn't work for me. Any other ideas?