Created
March 29, 2016 17:11
-
-
Save alcidesfp/45a4c5b612fd3761de7428b6c24df00b to your computer and use it in GitHub Desktop.
UI Tweaks for Emacs 24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; UI Tweaks | |
;; nice scrolling | |
(setq scroll-margin 0 | |
scroll-conservatively 1000 | |
scroll-preserve-screen-position t) | |
;; enable y/n answers | |
(fset 'yes-or-no-p 'y-or-n-p) | |
;; more useful frame title, that show either a file or a | |
;; buffer name (if the buffer isn't visiting a file) | |
(setq frame-title-format | |
'((:eval (if (buffer-file-name) | |
(abbreviate-file-name (buffer-file-name)) | |
"%b")))) | |
;; show the cursor when moving after big movements in the window | |
(require 'beacon) | |
(beacon-mode +1) | |
;; show available keybindings after you start typing | |
(require 'which-key) | |
(which-key-mode +1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment