diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 12817912..c78c86d1 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -14,24 +14,25 @@ M-x org-bable-tangle * ui configuration #+begin_src emacs-lisp - ;; UI/UX - (setq inhibit-startup-message t) - ;; make it look like neovim a little - (scroll-bar-mode -1) - (tool-bar-mode -1) - (tooltip-mode -1) - (set-fringe-mode 10) - (menu-bar-mode -1) - ;; Line Numbers - (column-number-mode) - (global-display-line-numbers-mode t) - ;; disable line numbers on some modes - (dolist (mode '(org-mode-hook - term-mode-hook - eshell-mode-hook)) - (add-hook mode (lambda () (display-line-numbers-mode 0)))) - ;; Bell - (setq visible-bell t) + ;; UI/UX + (setq inhibit-startup-message t) + ;; make it look like neovim a little + (scroll-bar-mode -1) + (tool-bar-mode -1) + (tooltip-mode -1) + (set-fringe-mode 10) + (menu-bar-mode -1) + ;; Line Numbers + (column-number-mode) + (global-display-line-numbers-mode t) + ;; disable line numbers on some modes + (dolist (mode '(org-mode-hook + term-mode-hook + eshell-mode-hook + treemacs-mode)) + (add-hook mode (lambda () (display-line-numbers-mode 0)))) + ;; Bell + (setq visible-bell t) #+end_src * Keymaps diff --git a/config/emacs/init.el b/config/emacs/init.el index 9225bef5..9eefcf33 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -12,7 +12,8 @@ ;; disable line numbers on some modes (dolist (mode '(org-mode-hook term-mode-hook - eshell-mode-hook)) + eshell-mode-hook + treemacs-mode)) (add-hook mode (lambda () (display-line-numbers-mode 0)))) ;; Bell (setq visible-bell t) @@ -20,10 +21,8 @@ (global-set-key (kbd "C-M-j") 'counsel-switch-buffer) (global-set-key (kbd "") 'keyboard-escape-quit) -;; Font (set-face-attribute `default nil :font "JetBrains Mono" :height 125) -;; Package related stuqff (require `package) (setq package-archives `(("mepla" . "https://melpa.org/packages/")