Update emacs.org

This commit is contained in:
Sako 2023-10-03 17:17:43 +04:00 committed by GitHub
parent 579293a60d
commit aa9ee15e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,25 +28,26 @@ M-x org-bable-tangle
#+end_src #+end_src
* ui configuration * ui configuration
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; UI/UX ;; UI/UX
(setq inhibit-splash-screen t) (setq inhibit-splash-screen t)
;; make it look like neovim a little ;; make it look like neovim a little
(scroll-bar-mode -1) (scroll-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(tooltip-mode -1) (tooltip-mode -1)
(set-fringe-mode 10) (set-fringe-mode 10)
(menu-bar-mode -1) (menu-bar-mode -1)
;; Line Numbers ;; Line Numbers
(column-number-mode) (column-number-mode)
(global-display-line-numbers-mode t) (global-display-line-numbers-mode t)
;; disable line numbers on some modes ;; disable line numbers on some modes
(dolist (mode '(org-mode-hook (dolist (mode '(org-mode-hook
term-mode-hook term-mode-hook
eshell-mode-hook eshell-mode-hook
treemacs-mode-hook)) treemacs-mode-hook
(add-hook mode (lambda () (display-line-numbers-mode 0)))) dashboard-mode-hook))
;; Bell (add-hook mode (lambda () (display-line-numbers-mode 0))))
(setq visible-bell t) ;; Bell
(setq visible-bell t)
#+end_src #+end_src
* Keymaps * Keymaps
#+begin_src emacs-lisp #+begin_src emacs-lisp