Monday, April 16, 2012

Navigating in iTerm2

Configuring the navigation and deleting word on iTerm2 
  1. GOTO ITerm --> Preferences --> Keys
  2. Click on Add button (+ symbol) at the bottom to add a keyboard shortcut.
  3. Set the preferred Keyboard shortcut for the operation being performed.
  4. Set the Action as "Send Escape Sequence" or "Send Hex Code" depending upon the operation's code (Codes given below for each action)
Codes To Move a Word:
Left: Send Escape Sequence 'b'
Right: Send Escape Sequence 'f'
Send Escape Sequence

Setting up Keyboard Shortcut (Sending Escape Sequence)


Codes To Delete a Word:
Left: Send Escape Sequence 'd'
Right: Send Hex Code 0x1b 0x7f
Send Hex Code
Setting up Keyboard Shortcut (Sending Hex Code)

Tips: The following shortcut keys worked well for me!
  • For Navigation: option(alt) + left/right
  • To Delete a word right to cursor: option(alt)+d
  • To Delete a word left to cursor: option(alt)+Shift+d

Note: Make sure the shortcut keys that you are using for these does not get overridden in  "ITerm-->Preferences-->Profile-->Keys"

Thursday, April 05, 2012

Useful Apps on MAC

  1. ITerm2 - One impressive alternative for MAC in-built terminal. You will simply fell for its elegance!
  2. Alfred - Your apps/file/folders are just a click away. The best way to discover(!) whats' in you system and where , and to execute certain system commands.. Try it!  Available in AppStore.
  3. Jumpcut - Massive Clipboard to ease copy-paste multiple things simultaneously.
  4. The UnArchiver - Much needed one for unzipping things.
  5. Evernote - My Favorite notebook or dairy I can say it. Cloud based. So no worries of your device change. 
  6. Dropbox - Drop your file here to share/store it easily on cloud.
  7. Transmission - Alternate for uTorrent lovers. Simple, but they claim specially made for MAC!!
  8. Chicken of VNC - Works well for MAC, if you need to view remote machines virtually.
  9. Sublime Text2 - Simple notepad. Theme based. You can try xPad too, instead.
  10. AppCleaner - MAC simply deletes the app on uninstall. huh! You can use this for cleaning up related file on uninstall.
  11. VLC - Much needed for movie lovers. Who cant' be one?!
  12. tree/wget - You will miss these on MAC terminal, if you are familiar with linux. Get "tree" from here and "wget" from here, and just place them in "/bin". You get it!