Friday, 16 October 2020
Tuesday, 13 October 2020
iTerm2: 'Words - Forward, Backward and Delete' actions by word - Jump words in iTerm2
By default, iTerm2 doesn’t allow you to move/jump cursor over words. This works by default on Ubuntu and other Linux terminals. Let's try to enable them in the MAC OS - iTerm2 application.
- Jump cursor forward over words using keyboard shortcut ⌥+←
- Jump cursor backward over words using keyboard shortcut ⌥+→
- Delete by word using keyboard shortcut ⌥+delete
Here’s how you can configure iTerm2 on Mac OS to allow you to do the above operations:
Open iTerm2 > Preferences > Profiles > Keys and add below shortcuts:
- Add forward jump(#1):
- Keyboard Shortcut: ⌥+←
- Action: Send Escape Sequence
- Esc+b
- Add backward jump(#2):
- Keyboard Shortcut: ⌥+→
- Action: Send Escape Sequence
- Esc+f
- Enable delete by word (#3):
- Navigate to the keyboard shortcuts section "iTerm2 > Preferences > Profiles > Keys"
- Change setting "Left option(⌥) key" from 'Normal' to 'Esc+'
- By changing this option, now you can use ⌥+delete to delete by word
Well done! Now you have all the 3 shortcuts enabled. This saves a lot while using the terminal for day to day activities. Have fun!
Saturday, 14 September 2019
Docker and Kubernetes - Learn and Play
Collabnix: Lot of contents regarding Docker and Kubernetes are available on https://collabnix.com/
Docker Labs: http://dockerlabs.collabnix.com/
Docker Labs: http://dockerlabs.collabnix.com/
Friday, 12 October 2018
Eclipse shortcuts for programmers
- LinkedIn post by jayveersinh-solanki
- DZone blog post.
- Eclipse word wrap plugin.
Thursday, 9 August 2018
Tuesday, 7 August 2018
Subscribe to:
Posts (Atom)
Update node.js & npm packages to latest/stable/<version>
Upgrade Node.js and npm: sudo npm cache clean -f (force) clear you npm cache sudo npm install -g n install n (this might take a while) s...
-
Bash commands cheat sheet / Linux commands cheat sheet: Linux file system: Regex cheat sheet: VIM cheat sheet: VIM refere...
-
By default, iTerm2 doesn’t allow you to move/jump cursor over words. This works by default on Ubuntu and other Linux terminals. Let's tr...
-
THIS SECTION CONTAINS ALL REFERENCE LINKS TO OTHER BROWSERS OR WEBSITES: Install Let’s Encrypt SSL Certificate to Secure Apache on RHEL...