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
|
#+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
|
||||||
|
|
Loading…
Reference in a new issue