Skip to content

Instantly share code, notes, and snippets.

View CaffeinatedBeing's full-sized avatar

Moneesh Shashank CaffeinatedBeing

  • Zomato
  • Bengaluru
  • 22:12 (UTC +05:30)
View GitHub Profile

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
# <<<<< Enable natural text editing on terminal (this works for iTerm and all other mac OSX terminals)
#
# Move to the beginning of the line. `Cmd + Left Arrow`:
bindkey "^[[1;9D" beginning-of-line
# Move to the end of the line. `Cmd + Right Arrow`:
bindkey "^[[1;9C" end-of-line
# Move to the beginning of the previous word. `Option + Left Arrow`:
bindkey "^[[1;3D" backward-word
# Move to the beginning of the next word. `Option + Right Arrow`:
bindkey "^[[1;3C" forward-word