Skip to content

Instantly share code, notes, and snippets.

@bryal
Created September 11, 2017 18:40
Show Gist options
  • Save bryal/f40832d482489c155c5fa7d70ec75f2c to your computer and use it in GitHub Desktop.
Save bryal/f40832d482489c155c5fa7d70ec75f2c to your computer and use it in GitHub Desktop.
(prefer-coding-system 'utf-8)
(setq default-buffer-file-coding-system 'utf-8-unix)
(setq menu-bar-mode nil)
(setq scroll-bar-mode nil)
(setq scroll-margin 22)
(setq show-paren-mode t)
(setq tool-bar-mode nil)
(setq tooltip-mode nil)
(setq undo-limit 800000)
(setq visible-bell 0)
(setq scroll-conservatively 10000)
(keyboard-translate ?\C-h ?\C-?)
(global-set-key [(ctrl d)] 'delete-forward-char)
(global-set-key [(meta d)] 'delete-word)
(global-set-key [(meta h)] 'backward-delete-word)
(global-set-key "\M-Y" 'yank-pop-forwards)
(global-set-key (kbd "C-c /") 'comment-or-uncomment-region)
(setq tab-always-indent nil)
(electric-pair-mode 1) ; auto-insert closing bracket
(show-paren-mode 1) ; turn on paren match highlighting
(electric-indent-mode -1)
(column-number-mode)
(line-number-mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment