Last active
December 12, 2015 21:49
-
-
Save chirag-v/4829205 to your computer and use it in GitHub Desktop.
.emacs file
This file contains hidden or 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
;; Convert "yes or no" prompts to "y or n" instead | |
(fset 'yes-or-no-p 'y-or-n-p) | |
;; [Home] & [End] key will take you to beginning & end of line | |
(global-set-key [home] 'beginning-of-line) | |
(global-set-key [end] 'end-of-line) | |
;; displays the time in the status bar | |
(display-time) | |
;; Stop adding infinite lines on continued scrolling | |
(setq next-line-add-newlines nil) | |
;; syntax highlighting by default | |
;; a must for coders | |
(global-font-lock-mode 1) | |
;; Scroll down with the cursor,move down the buffer one | |
;; line at a time, instead of in larger amounts | |
(setq scroll-step 1) | |
;; do not make backup files | |
;; stop making annoying ~files in linux | |
(setq make-backup-files nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment