cp-find-file: Add delete action

Make counsel-projectile kill action delete files
Update README
This commit is contained in:
Eric Danan 2018-08-22 16:58:08 +02:00
parent 511f78dd17
commit 18758602e8
2 changed files with 13 additions and 6 deletions

View file

@ -97,7 +97,7 @@ This command lets you quickly jump to a project buffer or file. It uses ivy to d
| :----------- | :--------------------------------------------------------------------------------- |
| <kbd>o</kbd> | Open buffer or file in current window (default action) |
| <kbd>j</kbd> | Open buffer or file in other window |
| <kbd>k</kbd> | Kill buffer (does nothing for files) |
| <kbd>k</kbd> | Kill buffer or delete file |
| <kbd>x</kbd> | Open file externally (does nothing for buffers) |
| <kbd>r</kbd> | Open file as root (does nothing for buffers) |
| <kbd>m</kbd> | Find file manually: call `counsel-find-file` from buffer or file's directory |
@ -146,6 +146,7 @@ This command is a replacement for `projectile-find-file`. It displays a list of
| <kbd>x</kbd> | Open file externally |
| <kbd>r</kbd> | Open file as root |
| <kbd>m</kbd> | Find file manually: call `counsel-find-file` from file's directory |
| <kbd>k</kbd> | Delete file |
| <kbd>p</kbd> | Switch project: call `counsel-projectile-switch-project` (see above) |
## The `counsel-projectile-find-file-dwim` command
Default key binding: <kbd>C-c p g</kbd>.