From: Armaan Bhojwani Date: Sat, 19 Jun 2021 00:21:43 +0000 (-0400) Subject: Move stuff from early-init to config.org X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=c2cf3d2bb038195e1e0a858290659e3096144f69 Move stuff from early-init to config.org --- diff --git a/config.org b/config.org index 5c2419e..c5e86c0 100644 --- a/config.org +++ b/config.org @@ -168,18 +168,30 @@ Invert modeline color instead of audible bell or the standard visual bell. (lambda () (invert-face 'mode-line) (run-with-timer 0.1 nil #'invert-face 'mode-line))) #+end_src +** GUI +#+begin_src emacs-lisp + (scroll-bar-mode -1) + (tool-bar-mode -1) + (menu-bar-mode -1) +#+end_src * Evil mode ** General #+begin_src emacs-lisp (use-package evil :custom (select-enable-clipboard nil) + :init (setq evil-want-keybinding nil + evil-want-minibuffer t + evil-want-C-d-scroll t + evil-want-C-u-scroll t) :config (evil-mode) (fset 'evil-visual-update-x-selection 'ignore) ;; Keep clipboard and register seperate ;; Use visual line motions even outside of visual-line-mode buffers (evil-global-set-key 'motion "j" 'evil-next-visual-line) (evil-global-set-key 'motion "k" 'evil-previous-visual-line) - (global-set-key (kbd "") 'keyboard-escape-quit)) + :bind + ("" . keyboard-escape-quit) + ("C-M-u" . universal-argument)) #+end_src ** Evil collection Evil bindings for tons of packages.