Skip to content

Instantly share code, notes, and snippets.

@premnirmal premnirmal/.emacs.el
Last active Mar 14, 2019

Embed
What would you like to do?
My latest .emacs settings
;; (add-to-list 'load-path "~/.emacs.d/elpa")
(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files
;; (require 'package)
;; (add-to-list
;; 'package-archives
;; '("melpa" . "http://melpa.org/packages/")
;; t)
;; (add-to-list
;; 'package-archives
;; '("marmalade" . "http://marmalade-repo.org/packages/") t)
;; (package-initialize)
;; default indent is 2 lines
(setq standard-indent 2)
;; turn off tab character
(setq-default indent-tabs-mode nil)
;; Enable mouse support
(unless window-system
(setq
hscroll-step 1
scroll-conservatively 1000)
)
;; show line-number in the mode line
(line-number-mode 1)
;; Show column-number in the mode line
(column-number-mode 1)
;; fill column value (ideally less than 80)
(setq-default fill-column 72)
;; enable auto-fill mode
(setq auto-fill-mode 1)
;; transient mode so the selection region is highlighted
(setq transient-mark-mode t)
;; (load-theme 'tango-dark t)
;; (custom-set-faces (if (not window-system) '(default ((t (:background "nil"))))))
;; available themes:
;; adwaita deeper-blue dichromacy leuven light-blue
;; manoj-dark misterioso solarized solarized-dark solarized-light
;; tango tango-dark tsdh-dark tsdh-light wheatgrass
;; whiteboard wombat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.