From ea7a46a307b5c2e22a7fda57f1d6acafbff33d76 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Sat, 29 Sep 2018 20:30:05 +0200 Subject: [PATCH] made some shit --- init.el | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/init.el b/init.el index f17d03c..0ebf2d5 100644 --- a/init.el +++ b/init.el @@ -2,6 +2,8 @@ (add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t) (package-initialize) +(menu-bar-mode -1) +(tool-bar-mode -1) (defun indent-buffer () (interactive) @@ -18,13 +20,13 @@ (global-set-key (kbd "C-x -") 'hs-toggle-hiding) (autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) -(add-hook 'lisp-mode-hook #'enable-paredit-mode) -(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) -(add-hook 'eval-expression-minibuffer #'enable-paredit-mode) -(add-hook 'clojure-mode-hook #'enable-paredit-mode) -(add-hook 'clojure-mode-hook #'hs-minor-mode) -(add-hook 'clojure-mode-hook #'company-mode) -(add-hook 'less-css-mode-hook #'hs-minor-mode) +(add-hook 'lisp-mode-hook 'enable-paredit-mode) +(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode) +(add-hook 'eval-expression-minibuffer 'enable-paredit-mode) +(add-hook 'clojure-mode-hook 'enable-paredit-mode) +(add-hook 'clojure-mode-hook 'hs-minor-mode) +;;(add-hook 'clojure-mode-hook 'company-mode) +(add-hook 'less-css-mode-hook 'hs-minor-mode) (add-hook 'before-save-hook 'delete-trailing-whitespace) (custom-set-variables @@ -43,7 +45,7 @@ ;; 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. - '(default ((t (:inherit nil :stipple nil :background "#2d3743" :foreground "#e1e1e0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 128 :width normal :foundry "DAMA" :family "Ubuntu Mono"))))) + '(default ((t (:inherit nil :stipple nil :background "#2d3743" :foreground "#e1e1e0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 100 :width normal :foundry "DAMA" :family "monospace"))))) (global-auto-complete-mode) (global-linum-mode)