From: Andreas Gerler Date: Wed, 15 Mar 2017 10:37:58 +0000 (+0100) Subject: helm-buffer-max-length nil X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=b7865c9c0d027e1d916411faadd2b50b722434ba;p=emacsconfig.git helm-buffer-max-length nil Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index fe79b1b5..298e1def 100644 --- a/bba.org +++ b/bba.org @@ -2832,43 +2832,44 @@ Some links you might check out: #+BEGIN_SRC emacs-lisp :tangle yes (if (>= emacs-major-version 24) (progn - (add-to-list 'load-path + (add-to-list 'load-path "~/.emacs.d/elpa/helm-20160530.424") - (require 'helm) - (helm-mode 1) - (global-set-key (kbd "M-y") 'helm-show-kill-ring) - (global-set-key (kbd "C-c w") 'helm-man-woman) - (global-set-key (kbd "M-x") 'helm-M-x) - (global-set-key "\C-cr" 'helm-recentf) - (global-set-key (kbd "M-s o") 'helm-occur) - (define-key global-map "\C-x\C-b" 'helm-buffers-list) - (define-key global-map "\C-x\C-k\C-h" 'helm-execute-kmacro) - (define-key global-map (kbd "C-x r b") 'helm-bookmarks) - (define-key global-map (kbd "C-x C-S-f") 'helm-find-files) - (define-key global-map "\C-cy" 'helm-yas-complete) - (setq helm-yas-display-key-on-candidate t) - - (add-hook 'eshell-mode-hook + (require 'helm) + (helm-mode 1) + (global-set-key (kbd "M-y") 'helm-show-kill-ring) + (global-set-key (kbd "C-c w") 'helm-man-woman) + (global-set-key (kbd "M-x") 'helm-M-x) + (global-set-key "\C-cr" 'helm-recentf) + (global-set-key (kbd "M-s o") 'helm-occur) + (define-key global-map "\C-x\C-b" 'helm-buffers-list) + (define-key global-map "\C-x\C-k\C-h" 'helm-execute-kmacro) + (define-key global-map (kbd "C-x r b") 'helm-bookmarks) + (define-key global-map (kbd "C-x C-S-f") 'helm-find-files) + (define-key global-map "\C-cy" 'helm-yas-complete) + (setq helm-yas-display-key-on-candidate t) + (setq helm-buffer-max-length nil) + + (add-hook 'eshell-mode-hook #'(lambda() (define-key eshell-mode-map - [remap eshell-pcomplete] - 'helm-esh-pcomplete) + [remap eshell-pcomplete] + 'helm-esh-pcomplete) (define-key eshell-mode-map - (kbd "M-p") - 'helm-eshell-history) + (kbd "M-p") + 'helm-eshell-history) )) - (add-hook 'shell-mode-hook + (add-hook 'shell-mode-hook #'(lambda() (define-key shell-mode-map - [remap comint-history-isearch-backward-regexp] - 'helm-comint-input-ring) + [remap comint-history-isearch-backward-regexp] + 'helm-comint-input-ring) )) - (setq helm-mini-default-sources '(helm-source-buffers-list + (setq helm-mini-default-sources '(helm-source-buffers-list helm-source-recentf helm-source-bookmarks helm-source-buffer-not-found)) - (define-key global-map "\C-xb" 'helm-mini) - ) + (define-key global-map "\C-xb" 'helm-mini) + ) ) #+END_SRC