(Emacs/config|core)+some defers

This commit is contained in:
2024-05-07 23:56:57 +05:30
parent 4845453a69
commit 4f2ec316e4
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ Set the encoding to UTF-8-Unix by default.
(setq-default buffer-file-coding-system 'utf-8-unix (setq-default buffer-file-coding-system 'utf-8-unix
save-buffer-coding-system 'utf-8-unix)) save-buffer-coding-system 'utf-8-unix))
#+end_src #+end_src
** File saves and custom file
Setup automatic saving for files (in case of system failure) and Setup automatic saving for files (in case of system failure) and
auto-revert-mode (which refreshes the buffer on changes to the auto-revert-mode (which refreshes the buffer on changes to the
underlying file). Along with that, set the custom-file (which holds underlying file). Along with that, set the custom-file (which holds
@@ -680,7 +680,6 @@ thing faster and within Emacs lisp. ~rgrep~ is useful though.
*** rg *** rg
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rg (use-package rg
:after grep
:display :display
("^\\*\\*ripgrep\\*\\*" ("^\\*\\*ripgrep\\*\\*"
(display-buffer-at-bottom display-buffer-reuse-window) (display-buffer-at-bottom display-buffer-reuse-window)

View File

@@ -179,7 +179,7 @@ Setup the evil package, with some opinionated keybindings:
- Use 'T' character as an action for transposing objects - Use 'T' character as an action for transposing objects
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package evil (use-package evil
:demand t :defer t
:hook (after-init-hook . evil-mode) :hook (after-init-hook . evil-mode)
:general :general
(leader (leader
@@ -652,6 +652,7 @@ effectively.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package tab-bar (use-package tab-bar
:defer t
:straight nil :straight nil
:init :init
(setq tab-bar-show 1) (setq tab-bar-show 1)