From bc4ec44ceacd826a370f53c58151f96a77ea3418 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Tue, 12 Jun 2018 21:59:24 +0200 Subject: [PATCH] Helm: split in current window + rebind for helm + enable autoresize --- config.org | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/config.org b/config.org index a41b062..b5e4887 100644 --- a/config.org +++ b/config.org @@ -489,12 +489,16 @@ To be fair, I didn't test this in a while... helm-recentf-fuzzy-match t helm-semantic-fuzzy-match t helm-imenu-fuzzy-match t - helm-split-window-inside-p nil ;; open helm buffer inside current window + helm-split-window-inside-p t ;; open helm buffer inside current window helm-scroll-amount 8 ;; scroll 8 lines other window using M-/M- ;; helm-move-to-line-cycle-in-source nil ;; move to end or beginning of source when reaching to por bottom of source ;; helm-ff-search-library-in-sexp t ;; search for library in 'require' and 'declare-function' sexp ;; helm-echo-input-in-header-line t ) + ;; rebind tab to do persistent action + ;; we use helm-execute-persistent-action more than helm-select-action (default for ) + (define-key helm-map (kbd "") 'helm-execute-persistent-action) + (helm-autoresize-mode 1) ;; Awesome feature together with helm-split-window-inside-p != nil ) (use-package helm-swoop @@ -506,15 +510,9 @@ To be fair, I didn't test this in a while... ) ;; (require 'helm-config) -;; ;; (helm-autoresize-mode 1) ;; ;; (define-key helm-find-files-map (kbd "C-b") 'helm-find-files-up-one-level) ;; ;; (define-key helm-find-files-map (kbd "C-f") 'helm-execute-persistent-action) ;; -;; ;; replace vanilla isearch with helm-swoop - -;; rebind tab to do persistent action -;; we use helm-execute-persistent-action more than helm-select-action (default for ) -;; (define-key helm-map (kbd "") 'helm-execute-persistent-action) ;; make TAB work in terminal ;; (define-key helm-map (kbd "C-i") 'helm-execute-persistent-action) ;; remap helm-select-action: lists actions