Update emacs.org
This commit is contained in:
parent
a84d6e746b
commit
1df7c8d9da
1 changed files with 15 additions and 11 deletions
|
@ -68,6 +68,7 @@ Should make startup faster, taken from doom-emacs
|
||||||
(add-hook 'yaml-mode 'display-line-numbers-mode)
|
(add-hook 'yaml-mode 'display-line-numbers-mode)
|
||||||
(add-hook 'conf-mode 'display-line-numbers-mode)
|
(add-hook 'conf-mode 'display-line-numbers-mode)
|
||||||
(setq display-line-numbers-width-start t)
|
(setq display-line-numbers-width-start t)
|
||||||
|
(setq display-line-numbers-type 'relative)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Keymaps
|
* Keymaps
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -77,6 +78,8 @@ Should make startup faster, taken from doom-emacs
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
;; repeat keybinds
|
;; repeat keybinds
|
||||||
(repeat-mode)
|
(repeat-mode)
|
||||||
|
;; electric pairs
|
||||||
|
(electric-pair-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Fonts
|
* Fonts
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -178,17 +181,18 @@ Should make startup faster, taken from doom-emacs
|
||||||
#+end_src
|
#+end_src
|
||||||
* Custom Modeline
|
* Custom Modeline
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq-default mode-line-format
|
(setq-default mode-line-format
|
||||||
`("%e"
|
`("%e"
|
||||||
" "
|
" "
|
||||||
(:eval (cond
|
(:eval (cond
|
||||||
((eq evil-state 'visual) "")
|
((eq evil-state 'visual) "")
|
||||||
((eq evil-state 'normal) "")
|
((eq evil-state 'normal) "")
|
||||||
((eq evil-state 'insert) "")
|
((eq evil-state 'insert) "")
|
||||||
((eq evil-state 'emacs) "")
|
((eq evil-state 'emacs) "")
|
||||||
((eq evil-state 'yank) "")))
|
((eq evil-state 'yank) "")))
|
||||||
" "
|
" "
|
||||||
))
|
(:eval (buffer-name))
|
||||||
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
* Packages
|
* Packages
|
||||||
** Log state
|
** Log state
|
||||||
|
|
Loading…
Reference in a new issue