[OS X] How To Enable Ctrl+Maj+Up And Ctrl+Maj+Down in Atom and Sublime Text 2 To Select Multiple Lines

One frustrating issue that I encounter every time I setup an OSX machine for development is that the very useful Ctrl+Maj+Down (and Ctrl+Maj+Up) keybinding to select multiple lines in Atom or Sublime Text doesn’t work out of the box. This is because OSX already uses this shortcut for its Mission Control app. Go to SettingsContinue reading “[OS X] How To Enable Ctrl+Maj+Up And Ctrl+Maj+Down in Atom and Sublime Text 2 To Select Multiple Lines”

How To Enable Alt+Left/Right Arrow In iTerm2 To Jump Words

This is a known issue in iTerm2 that when pressing Alt+left/right arrow, you can’t jump words as you do in your text editor. Here is the key binding you need to setup : Go to iTerm2 > Preferences > Profiles > Keys Add a new key binding with the little + icon. Type your keyboardContinue reading “How To Enable Alt+Left/Right Arrow In iTerm2 To Jump Words”

Snippet : Add Your SSH Public Key To A Distant Server

I think I could cover the ssh login subject in a longer article, for now here is a quick snippet to create and add your public ssh key to your server, so you can login into it without typing your password again (and then disable the password login ability to increase your security) : Pop-upContinue reading “Snippet : Add Your SSH Public Key To A Distant Server”

Snippet: How To Show Hidden Files on Mac OSX

Pop-up a Terminal (Applications > Terminal, Cmd+Space : “Terminal”) Paste the line below : defaults write com.apple.finder AppleShowAllFiles 1 Reload Finder (Apple logo > Force Quit > Select “Finder” > Reload) That’s it ! You’ll see (most of) all the hidden files in Finder. Even the not so sexy .DS_Store files that stores the customContinue reading “Snippet: How To Show Hidden Files on Mac OSX”