summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-04 16:14:51 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-04 16:14:51 -0500
commit933e8d2742efaa00a8c6877bd40a7783b5195261 (patch)
tree5d86f622ac4b3d830860f771f710d584fac968f9
parent15551c07d42b12ad2f2a729b7eb54ff49b6e4784 (diff)
downloadconfigs-933e8d2742efaa00a8c6877bd40a7783b5195261.tar.gz
configs-933e8d2742efaa00a8c6877bd40a7783b5195261.tar.xz
configs-933e8d2742efaa00a8c6877bd40a7783b5195261.zip
[emacs/eshell] various tweaks
-rw-r--r--init.org12
1 files changed, 9 insertions, 3 deletions
diff --git a/init.org b/init.org
index 5b29dcb..96911f2 100644
--- a/init.org
+++ b/init.org
@@ -1089,11 +1089,18 @@ There's no way I could top that, so I won't attempt to.
(eshell-send-input))
(defun amin|eshell-setup ()
+ (make-local-variable 'company-idle-delay)
+ (setq company-idle-delay nil)
(bind-keys :map eshell-mode-map
("C-d" . amin/eshell-quit-or-delete-char)
- ("C-l" . amin/eshell-clear)))
+ ("C-l" . amin/eshell-clear)
+ ("M-r" . counsel-esh-history)
+ ([tab] . company-complete)))
- :hook (eshell-mode . amin|eshell-setup))
+ :hook (eshell-mode . amin|eshell-setup)
+ :custom
+ (eshell-hist-ignoredups t)
+ (eshell-input-filter 'eshell-input-filter-initial-space))
#+end_src
*** Ibuffer
@@ -1284,7 +1291,6 @@ TODO: break this giant source block down into individual org sections.
([tab] . company-complete-common-or-cycle)
([escape] . company-abort))
:custom
- (company-idle-delay 0.3)
(company-minimum-prefix-length 1)
(company-selection-wrap-around t)
(company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]")