Helm: split in current window + rebind <tab> for helm + enable autoresize
This commit is contained in:
parent
16a0b0bef6
commit
bc4ec44cea
1 changed files with 5 additions and 7 deletions
12
config.org
12
config.org
|
|
@ -489,12 +489,16 @@ To be fair, I didn't test this in a while...
|
||||||
helm-recentf-fuzzy-match t
|
helm-recentf-fuzzy-match t
|
||||||
helm-semantic-fuzzy-match t
|
helm-semantic-fuzzy-match t
|
||||||
helm-imenu-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-<next>/M-<prior>
|
helm-scroll-amount 8 ;; scroll 8 lines other window using M-<next>/M-<prior>
|
||||||
;; helm-move-to-line-cycle-in-source nil ;; move to end or beginning of source when reaching to por bottom of source
|
;; 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-ff-search-library-in-sexp t ;; search for library in 'require' and 'declare-function' sexp
|
||||||
;; helm-echo-input-in-header-line t
|
;; 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 <tab>)
|
||||||
|
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
|
||||||
|
(helm-autoresize-mode 1) ;; Awesome feature together with helm-split-window-inside-p != nil
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package helm-swoop
|
(use-package helm-swoop
|
||||||
|
|
@ -506,15 +510,9 @@ To be fair, I didn't test this in a while...
|
||||||
)
|
)
|
||||||
|
|
||||||
;; (require 'helm-config)
|
;; (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-b") 'helm-find-files-up-one-level)
|
||||||
;; ;; (define-key helm-find-files-map (kbd "C-f") 'helm-execute-persistent-action)
|
;; ;; (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 <tab>)
|
|
||||||
;; (define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
|
|
||||||
;; make TAB work in terminal
|
;; make TAB work in terminal
|
||||||
;; (define-key helm-map (kbd "C-i") 'helm-execute-persistent-action)
|
;; (define-key helm-map (kbd "C-i") 'helm-execute-persistent-action)
|
||||||
;; remap helm-select-action: lists actions
|
;; remap helm-select-action: lists actions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue