Nithin Bekal About

Notes / Emacs

Although Vim is my editor of choice, I have tried to switch to Emacs using evil-mode. I’ve tried spacemacs in the past, but prefer having a simpler setup.

Installing emacs

brew install emacs --use-git-head --cocoa --srgb

Meta key doesn’t work on iTerm. To fix this, go to Prefs > Profiles > Keys. Set “Left option key acts as” to +Esc.

Looking up documentation

  • C-h f command-name - find which hotkey is assigned to the command.
  • C-h k key - find what a hotkey does

Get mouse scrolling to work on iTerm2

;; dotspacemacs/user-config
(unless window-system
  (global-set-key (kbd "<mouse-4>") 'scroll-down-line)
  (global-set-key (kbd "<mouse-5>") 'scroll-up-line))

https://github.com/syl20bnr/spacemacs/issues/4591#issuecomment-223273558

Vim to evil-mode

Elixir

org-mode

Paredit