October 2nd, 2024

I added a fun random ASCII art welcome screen to Vim

The article explains how to create an ASCII art welcome screen in Vim or Neovim using the vim-startify plugin, allowing users to customize their startup experience with quotes and bookmarks.

Read original articleLink Icon
I added a fun random ASCII art welcome screen to Vim

This article provides a guide on how to create an ASCII art welcome screen in Vim or Neovim, enhancing the user experience with random inspirational quotes. Vim is a command-line text editor available on most Linux and macOS systems, and it can also be used on Windows via the Windows Subsystem for Linux. The process involves installing a plugin called vim-startify, which serves as a customizable startup screen. Users can install this plugin using a plugin manager like vim-plug, and the configuration is done in the respective vim configuration files. The article details how to add a list of ASCII art and quotes to the configuration, allowing for a different display each time Vim is opened. Additionally, it suggests setting up bookmarks and viewing recent files at startup for improved accessibility. The customization process is straightforward, requiring users to modify their configuration files and add specific code snippets to achieve the desired setup.

- Users can enhance their Vim experience by adding an ASCII art welcome screen.

- The vim-startify plugin is essential for creating a customizable startup page.

- Configuration changes are made in the vim or neovim configuration files.

- Users can include their own ASCII art and quotes for a personalized touch.

- The setup allows for quick access to recent files and bookmarks at startup.

Link Icon 3 comments
By @the_third_wave - 7 months
> If you use vim, you’re probably just like me. You spend way too much time customising your config files

Well, no, I do not. I use vi because I know it will be there [1] when I need it no matter on what device I happen to find myself. Fiddling with configuration files to make it behave differently would mean it behaves differently depending on where my terminal happens to point, negating one of the big advantages - that of muscle memory - of using vi.

[1] or at least easily installable in some way

By @voidUpdate - 7 months
I've done a similar thing for one of my servers, with just a simple `fortune | ponysay` in the .bashrc. It's a bit silly but it makes me smile
By @pdntspa - 7 months
It's not fun ascii art, it's being lectured at with a smiley face