update .emacs
This commit is contained in:
parent
2819181dd0
commit
da8885eba3
58
.emacs
58
.emacs
@ -6,28 +6,38 @@
|
|||||||
|
|
||||||
|
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; auto-generated stuff
|
'(custom-safe-themes
|
||||||
'(custom-safe-themes
|
'("d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" default))
|
||||||
'("d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" default))
|
'(dashboard-banner-logo-title "Welcome to Emacs Dashboard")
|
||||||
'(package-selected-packages '(projectile dashboard pylint evil gruvbox-theme ##))
|
'(dashboard-center-content t)
|
||||||
;; dashboard setup
|
'(dashboard-footer-messages nil)
|
||||||
'(dashboard-banner-logo-title "Welcome to Emacs Dashboard")
|
'(dashboard-items '((recents . 5) (bookmarks . 5) (registers . 5)))
|
||||||
'(dashboard-center-content t)
|
'(dashboard-startup-banner "~/.emacs.d/title.txt")
|
||||||
'(dashboard-items
|
'(global-display-line-numbers-mode t)
|
||||||
'((recents . 5)
|
;; tabstop stuff
|
||||||
(bookmarks . 5)
|
'(indent-line-function 4)
|
||||||
(registers . 5)))
|
'(tab-width 4)
|
||||||
'(dashboard-startup-banner "~/.emacs.d/title.txt")
|
'(c-basic-offset 4)
|
||||||
'(dashboard-footer-messages nil)
|
'(lisp-indent-offset 2)
|
||||||
;; some general settings
|
'(sgml-basic-offset 4)
|
||||||
'(global-display-line-numbers-mode t)
|
'(nxml-child-indent 4)
|
||||||
'(make-backup-files nil)
|
'(tab-stop-list (number-sequence 4 200 4))
|
||||||
'(menu-bar-mode nil)
|
'(tab-width 4)
|
||||||
'(scroll-bar-mode nil)
|
;; other stuff
|
||||||
'(tool-bar-mode nil)
|
'(make-backup-files nil)
|
||||||
'(tooltip-mode nil))
|
'(menu-bar-mode nil)
|
||||||
|
'(package-selected-packages
|
||||||
|
'(filetree auto-complete markdown-mode projectile dashboard pylint evil gruvbox-theme ##))
|
||||||
|
'(scroll-bar-mode nil)
|
||||||
|
'(tool-bar-mode nil)
|
||||||
|
'(tooltip-mode nil))
|
||||||
|
|
||||||
(custom-set-faces)
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
|
||||||
;; enable evil mode
|
;; enable evil mode
|
||||||
(require 'evil)
|
(require 'evil)
|
||||||
@ -44,7 +54,7 @@
|
|||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
|
|
||||||
;; define custom command
|
;; define custom command
|
||||||
(defun spg ()
|
(defalias 'spg 'dashboard-refresh-buffer)
|
||||||
(interactive)
|
|
||||||
(fancy-about-screen))
|
(ac-config-default)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user