Skip to content

dalekirkwood/Micro_Editor_Iconic_Tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iconic Tabs for Micro

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.

Demo

Demo

Features

  • Visual Identification: Adds icons (e.g., Python , Lua , Markdown ) directly to tabs.
  • Smart Detection: Uses Micro's internal filetype detection 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 basename option and the modified marker (+).

Requirements

  • Nerd Font: You must have a Nerd Font installed and configured in your terminal emulator.
  • Micro Editor: Version 2.0.0 or newer.

Installation

  1. Clone or copy this repository into your Micro configuration directory:
    mkdir -p ~/.config/micro/plug/iconic_tabs
    cp -r * ~/.config/micro/plug/iconic_tabs/
  2. Restart Micro or run the command > plugin reload inside Micro.

Commands

  • iconic-tabs-toggle: Enable or disable icons globally for the current session.
  • iconic-tabs-refresh: Manually refresh icons for all open buffers.

Options

  • iconic_tabs.enabled (default true): Set to false to disable the plugin by default in your settings.json.

Supported Icons

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 ().

Supported Filetypes

  • 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)

Extension Fallbacks

.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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages