Skip to content

Commit

Permalink
config(corfu): increase auto-delay, bind user-prefixed . to cap
Browse files Browse the repository at this point in the history
  • Loading branch information
Walheimat committed Apr 21, 2024
1 parent b2cae51 commit 1020115
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/wal-complete.org
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,14 @@ makes sense.

:custom
(corfu-cycle t)
(corfu-auto t))
(corfu-auto t)
(corfu-auto-delay 2)

:wal-bind
(("." . completion-at-point)
("M-." . corfu-insert-separator)
:map corfu-map
("." . corfu-quit)))
#+END_SRC

** corfu-quick :gnu:
Expand Down
2 changes: 2 additions & 0 deletions lib/wal-key-bindings.org
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Most hyper[fn:2] bindings are quick-access actions:
quick completion
+ when used with =M= it goes to char with a timer
+ =H-;= jumps to register, =H-M-;= stores point in register
+ =H-.= completes at point; when =corfu= is active, it quits the
candidate selection (=H-M-.= will insert a separator)
+ =H-k= acts on the current point with =embark= (immediately with
=H-M-k=)
+ =H-l= jumps to line with =avy= (beginning of line if called with
Expand Down

0 comments on commit 1020115

Please sign in to comment.