Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.92 KB

README.org

File metadata and controls

64 lines (52 loc) · 1.92 KB

README

1 More friendly interface for ivy

Currently only ivy-switch-buffer is Supported.

NOTE: A new version with customizable transformer is available in customize branch. Feedback is welcomed.

1.1 Usage

(require 'ivy-rich)
(ivy-rich-mode 1)

If you want to align the virtual buffers, try

(setq ivy-virtual-abbreviate 'full
      ivy-rich-switch-buffer-align-virtual-buffer t)

To abbreviate paths using abbreviate-file-name (e.g. replace “/home/username” with “~”)

(setq ivy-rich-path-style 'abbrev)

Note that this may not affect remote files. To always show absolute path, set it to 'full or 'absolute. Any other value will show the file path relative to the project root or default-directory.

Use M-x customize-group ivy-rich to see more options.

2 Screenshots

2.1 ivy-switch-buffer

screenshots/buffer.png

3 Notice

For better user experience, a large *-max-length should be set.