Skip to main content
English contractions use apostrophes.
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

I am trying to configure my bash ~/.inputrc to these settings
(Note: , mean the left and right arrow keys)

  • Ctrl + - should jump back a word
  • Ctrl + - should jump forward a word

Currently I have this in my ~/.inputrc and it doesntdoesn't work. Ctrl + arrow produces nothing.

"\eC-5C":forward-word "\eC-5D":backward-word 

I'm sure my escape sequence is wrong.
What are the correct escape sequences for the Ctrl + arrow combinations?

  • terminal: tmux inside gnome-terminal

I am trying to configure my bash ~/.inputrc to these settings
(Note: , mean the left and right arrow keys)

  • Ctrl + - should jump back a word
  • Ctrl + - should jump forward a word

Currently I have this in my ~/.inputrc and it doesnt work. Ctrl + arrow produces nothing.

"\eC-5C":forward-word "\eC-5D":backward-word 

I'm sure my escape sequence is wrong.
What are the correct escape sequences for the Ctrl + arrow combinations?

  • terminal: tmux inside gnome-terminal

I am trying to configure my bash ~/.inputrc to these settings
(Note: , mean the left and right arrow keys)

  • Ctrl + - should jump back a word
  • Ctrl + - should jump forward a word

Currently I have this in my ~/.inputrc and it doesn't work. Ctrl + arrow produces nothing.

"\eC-5C":forward-word "\eC-5D":backward-word 

I'm sure my escape sequence is wrong.
What are the correct escape sequences for the Ctrl + arrow combinations?

  • terminal: tmux inside gnome-terminal
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
Tweeted twitter.com/StackUnix/status/698803555961069569
edited tags
Link
Braiam
  • 36.9k
  • 29
  • 114
  • 176
Changed > and < by real arrows.
Source Link
user79743
user79743
Loading
added 12 characters in body
Source Link
the_velour_fog
  • 12.8k
  • 17
  • 73
  • 115
Loading
Source Link
the_velour_fog
  • 12.8k
  • 17
  • 73
  • 115
Loading