From da8885eba31bb9502f4f8217bca3d3cedf0cd5a9 Mon Sep 17 00:00:00 2001 From: Luddifee Date: Fri, 30 Apr 2021 15:56:09 +0200 Subject: [PATCH] update .emacs --- .emacs | 58 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/.emacs b/.emacs index 2695aa8..92a3d72 100644 --- a/.emacs +++ b/.emacs @@ -6,28 +6,38 @@ (custom-set-variables - ;; auto-generated stuff - '(custom-safe-themes - '("d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" default)) - '(package-selected-packages '(projectile dashboard pylint evil gruvbox-theme ##)) - ;; dashboard setup - '(dashboard-banner-logo-title "Welcome to Emacs Dashboard") - '(dashboard-center-content t) - '(dashboard-items - '((recents . 5) - (bookmarks . 5) - (registers . 5))) - '(dashboard-startup-banner "~/.emacs.d/title.txt") - '(dashboard-footer-messages nil) - ;; some general settings - '(global-display-line-numbers-mode t) - '(make-backup-files nil) - '(menu-bar-mode nil) - '(scroll-bar-mode nil) - '(tool-bar-mode nil) - '(tooltip-mode nil)) + '(custom-safe-themes + '("d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" default)) + '(dashboard-banner-logo-title "Welcome to Emacs Dashboard") + '(dashboard-center-content t) + '(dashboard-footer-messages nil) + '(dashboard-items '((recents . 5) (bookmarks . 5) (registers . 5))) + '(dashboard-startup-banner "~/.emacs.d/title.txt") + '(global-display-line-numbers-mode t) + ;; tabstop stuff + '(indent-line-function 4) + '(tab-width 4) + '(c-basic-offset 4) + '(lisp-indent-offset 2) + '(sgml-basic-offset 4) + '(nxml-child-indent 4) + '(tab-stop-list (number-sequence 4 200 4)) + '(tab-width 4) + ;; other stuff + '(make-backup-files 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 (require 'evil) @@ -44,7 +54,7 @@ (dashboard-setup-startup-hook) ;; define custom command -(defun spg () - (interactive) - (fancy-about-screen)) +(defalias 'spg 'dashboard-refresh-buffer) + +(ac-config-default)