How can I make ctrl+left/right keys to move by whole word in tmux?

Llamageddon

In both zsh and bash, ctrl+arrows allows me to move the position I'm typing at by whole word, but this does not work in tmux, which is a problem as I'm currently launching it automatically every time I open a shell.

How can I fix this?

sgzmd
  1. Edit your ~/.tmux.conf and add lines:

    set-window-option -g xterm-keys on
    
  2. If you don’t want to make it permanent just yet, do:

    C-b :set-window-option xterm-keys on
    
  3. Reload your config in tmux by doing:

    C-b :source-file ~/.tmux.conf
    

More information here:

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to remap ctrl+arrow keys to move word to word for mac

From Dev

How can I make shortcut keys move the mouse, as an alternative to the touchpad?

From Dev

Selecting a whole word with CTRL + SHIFT + arrow keys

From Dev

How can I make my Super keys (Windows Key) behave more like Ctrl/Alt/Shift in Linux

From Dev

How can I make a whole column bold?

From Dev

How can I move tmux's status bar to the top?

From Dev

Python: How can i search for a whole word in a .txt file?

From Dev

How can I search whole word not partial match in string in VBA

From Dev

How do I make the paddle move with the arrow keys?

From Dev

How can I make Ctrl+Del in Notepad on windows 7 delete just one word like in Windows 10?

From Dev

How can I make tmux monitor a window for inactivity?

From Dev

How can I make tmux use my default shell?

From Dev

Ctrl + arrow keys working in tmux

From Dev

How can i make a control to take whole space of parent in javafx?

From Dev

How can I make a backup of a whole directory of a web site?

From Dev

How can I make the image fill the whole container?

From Dev

How can I make timeshift take a backup of the whole system?

From Dev

How can I bind Ctrl-Alt-[0-9] in Tmux?

From Dev

How do I jump to the next or previous word with CTRL + arrow keys in a console?

From Dev

How can I move to word-level perplexities?

From Dev

Use Ctrl + Left/Right to move forward/back one word in tmux within Mobaxterm

From Dev

How can move a whole row to the right?

From Dev

How can I make media keys work with i3?

From Dev

Can I make a tmux pane "sticky"?

From Dev

After swapping Ctrl and caps in xmodmap, how can I make Ctrl work properly for multi-modifier combinations?

From Dev

How can I make my js slider move the opposite direction?

From Dev

How can I make SCNNode position animation move at a uniform rate?

From Dev

How can I make a button not to move according to the text above it?

From Dev

How can I make a regular expression move to the next match?

Related Related

  1. 1

    How to remap ctrl+arrow keys to move word to word for mac

  2. 2

    How can I make shortcut keys move the mouse, as an alternative to the touchpad?

  3. 3

    Selecting a whole word with CTRL + SHIFT + arrow keys

  4. 4

    How can I make my Super keys (Windows Key) behave more like Ctrl/Alt/Shift in Linux

  5. 5

    How can I make a whole column bold?

  6. 6

    How can I move tmux's status bar to the top?

  7. 7

    Python: How can i search for a whole word in a .txt file?

  8. 8

    How can I search whole word not partial match in string in VBA

  9. 9

    How do I make the paddle move with the arrow keys?

  10. 10

    How can I make Ctrl+Del in Notepad on windows 7 delete just one word like in Windows 10?

  11. 11

    How can I make tmux monitor a window for inactivity?

  12. 12

    How can I make tmux use my default shell?

  13. 13

    Ctrl + arrow keys working in tmux

  14. 14

    How can i make a control to take whole space of parent in javafx?

  15. 15

    How can I make a backup of a whole directory of a web site?

  16. 16

    How can I make the image fill the whole container?

  17. 17

    How can I make timeshift take a backup of the whole system?

  18. 18

    How can I bind Ctrl-Alt-[0-9] in Tmux?

  19. 19

    How do I jump to the next or previous word with CTRL + arrow keys in a console?

  20. 20

    How can I move to word-level perplexities?

  21. 21

    Use Ctrl + Left/Right to move forward/back one word in tmux within Mobaxterm

  22. 22

    How can move a whole row to the right?

  23. 23

    How can I make media keys work with i3?

  24. 24

    Can I make a tmux pane "sticky"?

  25. 25

    After swapping Ctrl and caps in xmodmap, how can I make Ctrl work properly for multi-modifier combinations?

  26. 26

    How can I make my js slider move the opposite direction?

  27. 27

    How can I make SCNNode position animation move at a uniform rate?

  28. 28

    How can I make a button not to move according to the text above it?

  29. 29

    How can I make a regular expression move to the next match?

HotTag

Archive