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
* ui configuration
#+begin_src emacs-lisp
;; UI/UX
(setq inhibit-splash-screen 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-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Bell
(setq visible-bell t)
;; UI/UX
(setq inhibit-splash-screen 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-hook
dashboard-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Bell
(setq visible-bell t)
#+end_src
* Keymaps
#+begin_src emacs-lisp