completion/ivy: update keybinds in README #1491

This commit is contained in:
Henrik Lissner 2019-06-14 12:42:29 +02:00
parent 80958c0c17
commit e4c8beec68
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -110,12 +110,12 @@ https://assets.doomemacs.org/completion/ivy/projectile.png
This module provides interactive text search and replace using the first search This module provides interactive text search and replace using the first search
program available on your system (rg, ag, pt, git-grep or grep). program available on your system (rg, ag, pt, git-grep or grep).
| Keybind | Description | | Keybind | Description |
|----------------------+-------------------------------------| |-----------+---------------------------------|
| =SPC / b=, =M-f= | Search the current buffer | | =SPC / b= | Search the current buffer |
| =SPC / p= | Search project | | =SPC / p= | Search project |
| =SPC / d= | Search this directory | | =SPC / d= | Search this directory |
| =SPC p t= | List all TODO/FIXMEs in project | | =SPC p t= | List all TODO/FIXMEs in project |
https://assets.doomemacs.org/completion/ivy/search.png https://assets.doomemacs.org/completion/ivy/search.png
@ -158,14 +158,15 @@ previous commands.
While in a search (e.g. invoked from ~+ivy:ag~ or ~:rg~), these extra While in a search (e.g. invoked from ~+ivy:ag~ or ~:rg~), these extra
keybindings are available to you: keybindings are available to you:
| Keybind | Description | | Keybind | Description |
|---------+------------------------------------------------| |-----------+-----------------------------------------------|
| =S-TAB= | Open a writable buffer of your search results | | =C-c C-e= | Open a writable buffer of your search results |
| =C-SPC= | Preview the current candidate | | =C-SPC= | Preview the current candidate |
| =M-RET= | Open the selected candidate in other-window | | =M-RET= | Open the selected candidate in other-window |
Changes to the resulting wgrep buffer (opened by =S-TAB=) can be committed with Changes to the resulting wgrep buffer (opened by =C-c C-e=) can be committed
=C-c C-c= and aborted with =C-c C-k=. with =C-c C-c= and aborted with =C-c C-k= (alternatively =ZZ= and =ZQ=, for evil
users).
https://assets.doomemacs.org/completion/ivy/search-replace.png https://assets.doomemacs.org/completion/ivy/search-replace.png
@ -174,12 +175,11 @@ The =swiper= package provides an interactive buffer search powered by ivy. It
can be invoked with: can be invoked with:
+ =SPC / b= + =SPC / b=
+ =M-f=
+ ~:sw[iper] [QUERY]~ + ~:sw[iper] [QUERY]~
https://assets.doomemacs.org/completion/ivy/swiper.png https://assets.doomemacs.org/completion/ivy/swiper.png
A wgrep buffer can be opened from swiper with =S-TAB=. A wgrep buffer can be opened from swiper with =C-c C-e=.
** Task lookup ** Task lookup
Some projects have TODO's and FIXME's littered across them. The ~+ivy/tasks~ Some projects have TODO's and FIXME's littered across them. The ~+ivy/tasks~
@ -209,14 +209,14 @@ https://assets.doomemacs.org/completion/ivy/todo.png
| =SPC b B=, =SPC <= | Switch to buffer | | =SPC b B=, =SPC <= | Switch to buffer |
*** Search *** Search
| Keybind | Description | | Keybind | Description |
|------------------+------------------------------------------| |-----------+------------------------------------------|
| =SPC / i= | Search for symbol in current buffer | | =SPC / i= | Search for symbol in current buffer |
| =SPC / I= | Search for symbol in all similar buffers | | =SPC / I= | Search for symbol in all similar buffers |
| =SPC / b=, =M-f= | Search the current buffer | | =SPC / b= | Search the current buffer |
| =SPC / p= | Search project | | =SPC / p= | Search project |
| =SPC / d= | Search this directory | | =SPC / d= | Search this directory |
| =SPC p t= | List all TODO/FIXMEs in project | | =SPC p t= | List all TODO/FIXMEs in project |
* Configuration * Configuration
** TODO Enable fuzzy/non-fuzzy search for specific commands ** TODO Enable fuzzy/non-fuzzy search for specific commands