diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-08-18 12:29:43 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-08-18 12:29:43 +0200 |
| commit | 921dd7c97ec41fe8ef81dd5f5a08b0f717586c86 (patch) | |
| tree | 90513b9e1a376eb59270adc3dcaab6aeb6539946 | |
| parent | e0b7936c21121158628bc2b392fc7a42e26ae536 (diff) | |
README: Use :config block
| -rw-r--r-- | README.org | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -407,7 +407,9 @@ modes using a menu-item filter. (corfu-preselect 'directory) ;; Select the first candidate, except for directories :init + (global-corfu-mode) + :config ;; Free the RET key for less intrusive behavior. ;; Option 1: Unbind RET completely ;; (keymap-unset corfu-map "RET") @@ -415,9 +417,7 @@ modes using a menu-item filter. (keymap-set corfu-map "RET" `( menu-item "" nil :filter ,(lambda (&optional _) (and (derived-mode-p 'eshell-mode 'comint-mode) - #'corfu-send)))) - - (global-corfu-mode)) + #'corfu-send))))) #+end_src ** TAB-and-Go completion |
