mhpreiman
1/6/2017 - 2:17 AM

linux


Bash keyboard shortcuts

Programs where the shorcut doesn't work (or works differently) and corresponding numbers: ¹ ² ³ 4 5 6 7 8 ?
¹ git bash (at least on windows)
* - settingutes/ahk enda pandud keybindid

CLI shortcuts
navigationmove cursor ...
  `Ctrl` `B` / `F`     back / forward a character  
  `Alt` `B` / `F`     back / forward a _word_  
  `Ctrl` `A` / `E`     home / end  
line editing
  `Ctrl` `H` / `D`     delete character before / after the cursor  
  `Ctrl` `W` / `Alt` `D`     delete word before / after the cursor  
  `Ctrl` `U` / `K`     delete to the beginning / end of line  
  `Ctrl` `Shift` `_`     undo  
  `Ctrl` `T`     swap two characters before cursor (and move cursor forward by one)  
  `Alt` `T`     swap current word with previous  
manipulations
  `Alt` `U`     make the next word CAPS  


Bash
  `cat` ``     print file contents