https://github.com/karimaziev/ivy-fd
Ivy interface for fd (fdfind).
https://github.com/karimaziev/ivy-fd
emacs fd ivy
Last synced: 3 months ago
JSON representation
Ivy interface for fd (fdfind).
- Host: GitHub
- URL: https://github.com/karimaziev/ivy-fd
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2022-08-01T10:56:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T12:21:56.000Z (12 months ago)
- Last Synced: 2025-02-25T04:13:47.769Z (8 months ago)
- Topics: emacs, fd, ivy
- Language: Emacs Lisp
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* ivy-fd
** Requirements
+ Emacs >= 27.1
+ fd
+ ivy
+ hydra
** Installation
*** Manually
Download repository and it to your load path in your init file:
#+begin_src elisp :eval no
(add-to-list 'load-path "/path/to/ivy-fd)
(require 'ivy-fd)
#+end_src
*** With use-package and straight
#+begin_src elisp :eval no
(use-package ivy-fd
:straight (ivy-fd
:repo "KarimAziev/ivy-fd"
:type git
:host github)
:bind ((:map ivy-fd-map
("C-l" . ivy-fd-find-directory-up)
("C-q" . ivy-fd-read-flags)
("C-." . ivy-fd-change-dir)
("C-" . ivy-fd-find-directory-up)
("C-c C-o" . ivy-fd-find-file-other-window))
(:map ivy-fd-async-keymap
("C->" . ivy-fd-async-edit-commmand)))
:commands (ivy-fd-async
ivy-fd-preview-file))
#+end_src
** Hydras
~M-x ivy-fd-hydra/body~
Run hydra to configure fd options.
** Commands
*** ~ivy-fd-async~ (&optional initial-input)
Call a "locate" style shell command. INITIAL-INPUT can be given as the initial minibuffer input.
*** ~ivy-fd-change-dir~
Read directory for fd in minibuffer.
*** ~ivy-fd-find-directory-up~
Change ~ivy-fd-current-dir~ to parent directory.
*** ~ivy-fd-read-flags~
Invoke hydra to configure fd flags.
*** ~ivy-fd-find-file-other-window~
Find FILE if ~ivy-exit~, otherwise preview FILE.
*** ~ivy-fd-preview-file~ (file)
Momentarily display content of the FILE in popup window. Display remains until next event is input.
** Customization
*** ~ivy-fd-async-command-delay~
Number of seconds to wait before spawning another async command.
*** ~ivy-fd-async-filter-update-time~
The amount of microseconds to wait until updating ~ivy-fd--async-filter~.