Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 3.13 KB

README.org

File metadata and controls

78 lines (61 loc) · 3.13 KB

file-info.el

Buy Me A Coffee donate button Patreon donate button wakatime ci MELPA

Package for quick view and copy all necessary information about current opened file.

This package could works with optional dependencies as projectile/project.el and all-the-icons.

Preview

./images/sample.png

Install

Requirements

(use-package hydra)
(use-package browse-at-remote)

Optional dependencies:

For showing information as a popup window you need to install the posframe package.

(use-package posframe)

Optional dependencies

This project is fully compatible with

Melpa

(use-package file-info
  :ensure t
  :bind (("C-c d" . 'file-info-show))
  :config
  (setq hydra-hint-display-type 'posframe)
  (setq hydra-posframe-show-params `(:poshandler posframe-poshandler-frame-center
                                               :internal-border-width 2
                                               :internal-border-color "#61AFEF"
                                               :left-fringe 16
                                               :right-fringe 16)))

Straight

(use-package file-info
  :straight (:host github :repo "artawower/file-info.el")
  :bind (("C-c d" . 'file-info-show))
  :config
  (setq hydra-hint-display-type 'posframe)
  (setq hydra-posframe-show-params `(:poshandler posframe-poshandler-frame-center
                                               :internal-border-width 2
                                               :internal-border-color "#61AFEF"
                                               :left-fringe 16
                                               :right-fringe 16)))