Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/fido-preview
File preview for fido.
https://github.com/karimaziev/fido-preview
Last synced: 4 days ago
JSON representation
File preview for fido.
- Host: GitHub
- URL: https://github.com/karimaziev/fido-preview
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2023-01-18T10:37:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T12:22:28.000Z (5 days ago)
- Last Synced: 2024-11-09T13:24:23.613Z (5 days ago)
- Language: Emacs Lisp
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* fido-preview
File Preview For Fido.
** Installation
Emacs >= 28.1 is required.
*** Manual
Download the source code and put it wherever you like, e.g. into =~/.emacs.d/fido-preview/=
#+begin_src shell :eval no
git clone https://github.com/KarimAziev/fido-preview.git ~/.emacs.d/fido-preview/
#+end_srcAdd the downloaded directory to the load path:
#+begin_src elisp :eval no
(add-to-list 'load-path "~/.emacs.d/fido-preview/")
(require 'fido-preview)
#+end_src#+begin_src elisp :eval no
(use-package fido-preview
:straight (fido-preview
:repo "KarimAziev/fido-preview"
:type git
:host github)
:commands (fido-preview-file
fido-preview-find-file-other-window))
#+end_src** Commands
*** ~fido-preview-file~
Preview =minibuffer-contents= if it is a file. Files with size greater than =large-file-warning-threshold= is ignored.
*** ~fido-preview-find-file-other-window~
Find file in other window and abort the current minibuffer. File is detected from =minibuffer-contents=.