-
This discussion concerns how to navigate between the section of the Helm buffer containing the sources and other parts of it. First thing first, how do I create a new file when the directory already contains a file with a similar name? Suppose that, in How do I do it? I found that I can do it using the mouse, but I really do not like using it (I even had Exactly the same problem arises with What I described above is, I think, a particular case of a more general problem I have with
The first one is active, selecting the first modified file. How do I change the active section? Again, clicking with the mouse does the job, but I'm looking for a keyboard-only solution. Also again: if I enter enough test to identify either a branch or a buffer then the relevant section is selected (unless, of course, the text I entered also matches a file in the first section.) Here is my
(use-package helm
:init
(setq-default helm-command-prefix-key "s-h")
(setq-default helm-icons-provider 'nerd-icons)
(setq-default helm-split-window-inside-p t)
(setq-default helm-split-window-default-side 'below)
(setq-default helm-always-two-windows t)
(setq-default helm-autoresize-max-height 80)
(setq-default helm-autoresize-min-height 20)
(setq-default helm-scroll-amount 8)
(setq-default helm-echo-input-in-header-line nil)
(setq-default helm-reuse-last-window-split-state t)
(setq-default helm-buffers-fuzzy-matching t)
(setq-default helm-recentf-fuzzy-match t)
(setq-default helm-apropos-fuzzy-match t)
(setq-default helm-semantic-fuzzy-match t)
(setq-default helm-imenu-fuzzy-match t)
(setq-default helm-window-prefer-horizontal-split t)
(helm-mode 1)
:config
(helm-autoresize-mode 1)
(setf (alist-get 'auto-insert helm-completing-read-handlers-alist) nil)
:bind
([remap find-file] . helm-find-files)
([remap occur] . helm-occur)
([remap list-buffers] . helm-buffers-list)
([remap dabbrev-expand] . helm-dabbrev)
([remap execute-extended-command] . helm-M-x)
([remap apropos-command] . helm-apropos)
([remap yank-pop] . helm-show-kill-ring)
("C-x C-d" . helm-browse-project)
("C-x /" . helm-find)
("C-h d" . helm-info-at-point)
("C-h t" . helm-world-time)
(:map helm-command-map
("M-g g" . helm-grep-do-git-grep))
:diminish (helm-mode . "⎈")) Thank you for just reading all this : I'll admit that this is driving me nuts, and I hope someone will be able to help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ok, I'm stupid. I just find out that it is enough to set |
Beta Was this translation helpful? Give feedback.
-
Leo Cacciari ***@***.***> writes:
Ok, I'm stupid.
No, you are not the first (and not the last I guess :-)) to ask for this.
I just find out that it is enough to set
helm-move-to-line-cycle-in-source to nil and then c-n and c-p do the
job.
Not only, you can also keep helm-move-to-line-cycle-in-source to default
value and use helm-next-source (C-o or <right>) to switch to the next source.
For info helm-previous-source is bound to (M-o or <left>), hit C-h m
while in helm-find-files for more particularly the section "Helm's basic
operations and default key bindings".
I apologize for having wasted anyone time.
No problems, you are welcome.
… —
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.*Message ID: ***@***.***>
--
Thierry
|
Beta Was this translation helpful? Give feedback.
Ok, I'm stupid. I just find out that it is enough to set
helm-move-to-line-cycle-in-source
tonil
and thenc-n
andc-p
do the job. I apologize for having wasted anyone time.