You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.org
+10
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,8 @@ You then have two ways to access these strings from the completion prompt:
216
216
1. by using =M-n= from the prompt, which will cycle through the strings
217
217
2. by calling =citar-insert-preset= with a keybinding, and then selecting the string
218
218
219
+
If you want to select multiple candidates using the same search term =M-n= also recalls the previous input, so you can use =TAB= to select one candidate then press =M-n= to quickly insert the previous search term again (see notes below for some caveats).
220
+
219
221
=citar= also preserves the history of your selections (see caveat below about multiple candidate selection though), which are also accessible in your completion UI, but by using =M-p=.
220
222
You can save this history across sessions by adding =citar-history= to =savehist-additional-variables=.
221
223
@@ -238,6 +240,14 @@ The ~citar-notes-sources~ variable configures note backends, and ~citar-notes-so
238
240
A backend primarily specifies functions to update the Citar display, to create the completion candidates, and to open existing and new notes.
239
241
See the ~citar-notes-sources~ docstring for details, and the =citar-register-notes-source= and =citar-remove-notes-source= convenience functions.
240
242
243
+
Using =M-n= to recall the previous input only works when selecting multiple candidates during a single =citar-command=. If you use =vertico=, =vertico-repeat= provides similar functionality for rerunning the commands with the last input.
244
+
245
+
By default =Emacs= leaves the point at the beginning of input if you press =M-n= with minibuffer empty. If you want to change this behavior and instead leave the point at the end of input use,
0 commit comments