Update emacs.org
This commit is contained in:
parent
579293a60d
commit
aa9ee15e73
1 changed files with 20 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue