diff options
author | Alan Pearce | 2019-07-26 17:00:38 +0200 |
---|---|---|
committer | Alan Pearce | 2019-07-26 17:00:38 +0200 |
commit | 605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691 (patch) | |
tree | 6ad74c450c2fd738f61656e4e7d1ab1e5170db8a /emacs | |
parent | 56e45cd5f7cb68dfab59628c1aab3ed7f08dcec3 (diff) | |
download | dotfiles-605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691.tar.lz dotfiles-605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691.tar.zst dotfiles-605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691.zip |
Emacs: make tab key also indent
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/main.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 1fe9d0d..8b448ec 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -347,7 +347,7 @@ With two prefix arguments, write out the day and month name." (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 @@ With two prefix arguments, write out the day and month name." ;;; Editing -(setq-default indent-tabs-mode nil) +(setq-default indent-tabs-mode nil + tab-always-indent 'complete) ;;; Major modes |