vst

vst -> Vim Startscreen

I got kinda bored of Vim's default start screen. So, I created a cool Vim start screen without using the VimStart plugin. See an image of it below:

Setup

The setup is pretty simple - all I do is open and modify a custom buffer whenever I run nvim without any arguments.

In init.vim, I execute the function Start() on VimEnter. To see more about how VimEnter works, see vim's helpscreen with :h VimEnter.

I set the function to return if there are command line arguments, the buffer isn't empty, vim isn't invoked by vim or gvim, or if I start in insert mode:

Then, I set a bunch of local options for the new buffer:

Then, I fill the content of the buffer with my ascii art:

I set some specific commands for this buffer:

To disable scrolling, I changed the scroll mappings on this buffer only:

And that's it! If you're curious, you can find my full init.vim file on Github.

 λ vst lap