-
-
Notifications
You must be signed in to change notification settings - Fork 339
seabadger edited this page Dec 1, 2017
·
5 revisions
In Isearch, pressing C-w
will insert the word-at-point into the minibuffer.
The same can be done in Ivy with M-j
(ivy-yank-word
) for any command, not just swiper
.
On a related note, you can paste symbol-at-point into the search with
M-n
, which is a common case for using C-w
in Isearch.
Use C-M-j
(ivy-immediate-done
). Helpful if you want to create a
new file, but a file already exists that matches the desired name.
(define-key ivy-minibuffer-map (kbd "TAB") 'ivy-partial)
(setq ivy-on-del-error-function nil)
Install smex and your most frequent commands appear at the top which is a great convenience.