Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seagle0128/all-the-icons-ibuffer

Display icons for all buffers in ibuffer.
https://github.com/seagle0128/all-the-icons-ibuffer

all-the-icons elisp emacs emacs-lisp ibuffer

Last synced: 5 days ago
JSON representation

Display icons for all buffers in ibuffer.

Awesome Lists containing this project

README

        

# all-the-icons-ibuffer

[![Build Status](https://github.com/seagle0128/all-the-icons-ibuffer/workflows/CI/badge.svg?branch=master)](https://github.com/seagle0128/all-the-icons-ibuffer/actions)
[![Release Tag](https://img.shields.io/github/tag/seagle0128/all-the-icons-ibuffer.svg?label=Release)](https://github.com/seagle0128/all-the-icons-buffer/releases)
[![License](http://img.shields.io/:License-GPL3-blue.svg)](License)
[![MELPA](https://melpa.org/packages/all-the-icons-ibuffer-badge.svg)](https://melpa.org/#/all-the-icons-ibuffer)
[![MELPA Stable](https://stable.melpa.org/packages/all-the-icons-ibuffer-badge.svg)](https://stable.melpa.org/#/all-the-icons-ibuffer)

## Table of Contents

- [Install](#install)
- [Manual](#manual)
- [Use-package](#use-package)
- [Customize](#customize)
- [Screenshots](#screenshots)
- [Donate](#donate)

Display icons for all buffers in ibuffer.

This package is extracted from [Centaur
Emacs](https://github.com/seagle0128/.emacs.d) and leverages
[all-the-icons](https://github.com/domtronn/all-the-icons.el).

## Install

### Manual

From melpa, `M-x package-install RET all-the-icons-ibuffer RET`.

```emacs-lisp
(add-hook 'ibuffer-mode-hook #'all-the-icons-ibuffer-mode)
```

### Use-package

```emacs-lisp
(use-package all-the-icons-ibuffer
:ensure t
:hook (ibuffer-mode . all-the-icons-ibuffer-mode))
```

To display icons correctly, you should run `M-x all-the-icons-install-fonts` to
install the necessary fonts.

Enjoy! :smile:

## Customize

```emacs-lisp
; Predicate whether the icons are able to be displayed."
(setq all-the-icons-ibuffer-display-predicate #'display-graphic-p)

;; Whether display the icons.
(setq all-the-icons-ibuffer-icon t)

;; Whether display the colorful icons.
;; It respects `all-the-icons-color-icons'.
(setq all-the-icons-ibuffer-color-icon t)

;; The default icon size in ibuffer.
(setq all-the-icons-ibuffer-icon-size 1.0)

;; The default vertical adjustment of the icon in ibuffer.
(setq all-the-icons-ibuffer-icon-v-adjust 0.0)

;; Use human readable file size in ibuffer.
(setq all-the-icons-ibuffer-human-readable-size t)

;; A list of ways to display buffer lines with `all-the-icons'.
;; See `ibuffer-formats' for details.
all-the-icons-ibuffer-formats

;; Slow Rendering
;; If you experience a slow down in performance when rendering multiple icons simultaneously,
;; you can try setting the following variable
(setq inhibit-compacting-font-caches t)
```

## Screenshots

![all-the-icons-ibuffer](https://user-images.githubusercontent.com/140797/97093181-65867b00-167c-11eb-816c-0a96d69dcb94.png "icons with ibuffer")

## Donate

If you think the it's helpful for you, please consider paying a cup of coffee
for me. Thank you! :smile:

Alipay
    
Wechat Pay


PayPal

    

Buy Me A Coffee