all repos — nixfiles @ 605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691

System and user configuration, managed by nix and home-manager

Emacs: make tab key also indent

Alan Pearce
commit

605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691

parent

56e45cd5f7cb68dfab59628c1aab3ed7f08dcec3

1 file changed, 3 insertions(+), 2 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -347,7 +347,7 @@ (company-begin-commands '(self-insert-command))
(company-auto-complete #'company-explicit-action-p) (company-auto-complete-chars '(?\ ?\( ?\) ?.))) :general (:states 'insert - "TAB" #'company-complete)) + "TAB" #'company-indent-or-complete-common)) (use-package all-the-icons)
@@ -454,7 +454,8 @@ "C-c C-l" #'counsel-shell-history))
;;; Editing -(setq-default indent-tabs-mode nil) +(setq-default indent-tabs-mode nil + tab-always-indent 'complete) ;;; Major modes