this tool counts the occurrences of symbols and sequences of symbols in a directory's files.
I used it to decide which keys I wanted to remap, based on the frequency of use while programming
brew install --cask ogdakke/homebrew-tap/symbolistaor use go
go install github.com/ogdakke/symbolista@latestUsage:
symbolista [directory] [flags]
symbolista help [topic]
Flags:
--ascii-only Count only ASCII characters. Use --ascii-only=false to include all Unicode characters (default true)
-c, --count-sequences Count sequences (default true)
-f, --format string Output format (table, json, csv) (default "table")
-h, --help help for symbolista
-i, --ignore-glob strings Additional patterns to ignore (use 'symbolista help ignore-glob' for examples)
--include-dotfiles Include dotfiles in analysis (default false)
-m, --metadata Include metadata in JSON output (directory, file counts, timing info) (default true)
-o, --open string Load data from JSON file and launch TUI (requires --tui flag)
-p, --percentages Show percentages in output (default true)
-N, --top-n-seq int Maximum number of sequences to display (default 100)
--tui Launch interactive TUI interface
-V, --verbose count Increase verbosity (-V info, -VV debug, -VVV trace)
-v, --version Show version and exit
-w, --workers int Number of worker goroutines (0 = auto-detect based on CPU cores)See examples for some example outputs from known repositories, namely vscode.
Use make to build and lint and test the program.