{
  "$type": "site.standard.document",
  "canonicalUrl": "https://til.iainsimmons.com/posts/use-terminal-commands-for-displaying-a-neovim-dashboard-logo",
  "description": "today iain learned: How to use terminal commands for displaying a custom Neovim dashboard logo on startup",
  "path": "/posts/use-terminal-commands-for-displaying-a-neovim-dashboard-logo",
  "publishedAt": "2025-11-23T00:00:00.000Z",
  "site": "at://did:plc:aoqs4f5ru6ztomatyvept7bf/site.standard.publication/3mnlsntqzp72a",
  "tags": [
    "Neovim",
    "terminal",
    "CLI",
    "dotfiles",
    "fonts"
  ],
  "textContent": "When I first started really customising my Neovim config to my own personal preferences, one of the things I did to really make it feel like my own was to add a custom dashboard logo.\n\nI settled on the name iainvim for my config, being based obviously on my first name but also cheekily containing nvim within the name.\n\nMy initial logo was shamelessly stolen heavily inspired by Josh Medeski, who used this Text to ASCII Art Generator (built on top of the excellent FIGlet tool) to create ASCII art style logos for many of the config files in his dotfiles.\n\nHere was mine (if you use LazyVim or the snacks.nvim dashboard, this will look familiar):\n\nBack then I used dashboard-nvim and here is what that code looked like:\n\nI later moved to using the snacks.nvim dashboard and used a new logo generated with this Go-based TUI: superstarryeyes/bit\n\nAnd it looked a bit like this:\n\nWhich might have been fine to leave it at that, but I wanted a little something extra.\n\nThe bit TUI can be used to generate a bash script that uses ANSI escape sequences to output colour.\n\n> [!tip]\n> Here's a good article explaining ANSI escape sequences that has helped me manually add them in other bash scripts: Bash Colors | ShellHacks\n\nThe generated script, saved as iainvim_logo and included in the PATH, looks like this:\n\nAnd ends up producing a logo like this:\n\n![[attachments/coloured-terminal-output-of-iainvim_logo-command.png|coloured terminal output of iainvim_logo command]]\n\nWhich can then be used as a terminal section command in the snacks.nvim dashboard like so:\n\nAnd you get a result like this:\n\n![[attachments/iainsimmons_neovim_dashboard_2025-11-23.png|Neovim dashboard with gradient logo]]",
  "title": "Use terminal commands for displaying a Neovim dashboard logo"
}