iconic_tabs is a plugin for the Micro editor that adds file-type specific icons (using Nerd Font glyphs) to your tab titles. It helps you identify open files at a glance, bringing a modern IDE-like visual experience to your terminal.
- Visual Identification: Adds icons (e.g., Python
, Lua, Markdown) directly to tabs. - Smart Detection: Uses Micro's internal
filetypedetection with a comprehensive extension-based fallback. - Dynamic Updates: Automatically updates icons when you open, switch, or save buffers.
- Safety First: Only modifies the display name in the UI; your actual filenames remain untouched.
- Configurable: Easily toggle the plugin on or off.
- Native Integration: Respects the global
basenameoption and the modified marker (+).
- Nerd Font: You must have a Nerd Font installed and configured in your terminal emulator.
- Micro Editor: Version 2.0.0 or newer.
- Clone or copy this repository into your Micro configuration directory:
mkdir -p ~/.config/micro/plug/iconic_tabs cp -r * ~/.config/micro/plug/iconic_tabs/
- Restart Micro or run the command
> plugin reloadinside Micro.
iconic-tabs-toggle: Enable or disable icons globally for the current session.iconic-tabs-refresh: Manually refresh icons for all open buffers.
iconic_tabs.enabled(defaulttrue): Set tofalseto disable the plugin by default in yoursettings.json.
The plugin maps the following filetypes and extensions to specific icons. If a filetype isn't detected, it falls back to a generic document icon ().
- Markdown (
markdown,md) - Python (
python) - Lua (
lua) - JavaScript (
javascript) - TypeScript (
typescript) - JSON (
json) - HTML (
html) - CSS (
css,scss) - Go (
go) - Rust (
rust) - C/C++ (
c,cpp) - C# (
csharp) - Java (
java) - Kotlin (
kotlin) - Ruby (
ruby) - PHP (
php) - Shell (
shell,sh,bash,zsh) - Fish (
fish) - YAML (
yaml) - TOML (
toml) - Docker (
dockerfile) - Makefile (
makefile) - SQL (
sql) - Vim (
vim) - TeX (
tex) - Plain Text (
plaintext)
.py, .lua, .js, .ts, .json, .html, .htm, .css, .scss, .go, .rs, .c, .h, .cc, .cpp, .cxx, .hpp, .cs, .java, .kt, .rb, .php, .sh, .bash, .zsh, .fish, .md, .markdown, .yml, .yaml, .toml, .env, .dockerfile, .sql, .vim, .tex, .txt.
MIT