helm下切换buffer和文件的快捷键修改

系统是win10,用的spacemacs base版本。 发现spc f r,和spc b b切换的buffer和文件时都需要按f1才行(按tab之后有许多选项,f1是切换),怎么设置默认敲回车就是f1。

不用 Spacemacs,Helm 默认 RET 就是执行第一个 Action,也就等同于 <f1>。Helm 的 Mode Line 上也有写。

SPC h d K 看下helm相关的keymap,RET估计你不小心改坏了

RET (translated from ) runs the command org-open-at-point, which is an interactive compiled Lisp function in ‘org.el’.

It is bound to RET, M-RET x o, M-m m x o, C-c C-o, and many ordinary text characters.

(org-open-at-point &optional ARG REFERENCE-BUFFER)

Open link, timestamp, footnote or tags at point.

When point is on a link, follow it. Normally, files will be opened by an appropriate application. If the optional prefix argument ARG is non-nil, Emacs will visit the file. With a double prefix argument, try to open outside of Emacs, in the application the system uses for this file type.

When point is on a timestamp, open the agenda at the day specified.

When point is a footnote definition, move to the first reference found. If it is on a reference, move to the associated definition.

When point is on a headline, display a list of every link in the entry, so it is possible to pick one, or all, of them. If point is on a tag, call ‘org-tags-view’ instead.

When optional argument REFERENCE-BUFFER is non-nil, it should specify a buffer from where the link search should happen. This is used internally by ‘org-open-link-from-string’.

On top of syntactically correct links, this function will also try to open links and time-stamps in comments, example blocks… i.e., whenever point is on something looking like a timestamp or a link. 主要是不知道怎么改回来