diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-15 08:19:33 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-15 08:19:33 +0000 |
commit | 1d41c429f1ae7398cd123971134710c32c26b069 (patch) | |
tree | 76a3ffbf06c5f4e79a3aa50a95455523106ec48d /Emacs/.config/emacs/config.org | |
parent | 2ca774e252db2bee5add8c8eabfe011d3e31dfe9 (diff) | |
download | dotfiles-1d41c429f1ae7398cd123971134710c32c26b069.tar.gz dotfiles-1d41c429f1ae7398cd123971134710c32c26b069.tar.bz2 dotfiles-1d41c429f1ae7398cd123971134710c32c26b069.zip |
(Emacs)+set coding system and blinking-cursor
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index f951381..13ef0f4 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -25,6 +25,15 @@ Let's set all yes or no questions to single letter responses. #+begin_src emacs-lisp (fset 'yes-or-no-p 'y-or-n-p) #+end_src +** Coding system +Set the encoding to utf-8-unix by default. +#+begin_src emacs-lisp +(use-package emacs + :straight nil + :init + (setq-default buffer-file-coding-system 'utf-8-unix + save-buffer-coding-system 'utf-8-unix)) +#+end_src ** No littering Setup no-littering, which cleans up many of the default directories in Emacs. @@ -86,6 +95,15 @@ the scratch buffer some nice information about Emacs. initial-scratch-message (format ";; Emacs v%s\n" emacs-version) ring-bell-function 'ignore)) #+end_src + +Turn off blinking-cursor-mode as we will later be setting up hl-line, +which does a better job of indicating where the cursor is on screen. +#+begin_src emacs-lisp +(use-package frame + :straight nil + :config + (blink-cursor-mode 0)) +#+end_src * Emacs Mode-line Firstly, declare a variable for the separator between each module #+begin_src emacs-lisp |