Updated white space to use spaces not tabs
This commit is contained in:
@@ -53,7 +53,15 @@ Remap quit command to make it easier to rescue a buffer. With this function, esc
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
#+end_src
|
||||
|
||||
** Visualizing White Space
|
||||
** White Space
|
||||
|
||||
Use spaces instead of tabs and set tab-width.
|
||||
|
||||
#+begin_src elisp
|
||||
(setq-default indent-tabs-mode nil)
|
||||
(setq-default tab-width 4)
|
||||
(setq-default evil-shift-width tab-width)
|
||||
#+end_src
|
||||
|
||||
Add a nice visualization for tabs and spaces. This can be helpful to identify which is which quickly to avoid submitting poorly spaced code.
|
||||
|
||||
@@ -364,5 +372,7 @@ Load other files:
|
||||
#+begin_src elisp
|
||||
(jm/load-config-if-exists "~/.emacs.d/functions.org") ; Personal Elisp Functions
|
||||
(jm/load-config-if-exists "~/.emacs.d/org.org") ; Org-mode
|
||||
(jm/load-config-if-exists "~/.emacs.d/dired.org") ; Dired Config
|
||||
(jm/load-config-if-exists "~/.emacs.d/lsp.org") ; Language Server Protocol
|
||||
(jm/load-config-if-exists "~/.emacs.d/erc.org") ; Emacs IRC Client Config
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user