Skip to content

Instantly share code, notes, and snippets.

@chirag-v
Last active December 12, 2015 21:49
Show Gist options
  • Save chirag-v/4829205 to your computer and use it in GitHub Desktop.
Save chirag-v/4829205 to your computer and use it in GitHub Desktop.
.emacs file
;; 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