Quick Start
Welcome to VimStar! Here’s what to do in your first 5 minutes.
1. Launch VimStar
nvim
Press e to start a new file or press f to open an existing file. If you want to open another file later, use Space-ko; if while you have a file open you want to start a new one, use Space-ke.
2. Write Something
-
VimStar is still Neovim, so press
ito begin writing in Markdown. Completion is on by default. To toggle it, hitEscto go back to Normal mode and then pressSpace-oc. -
To preview your document, press
Space-op. -
If you have Pandoc and LaTeX or Typst installed, press
Space-pand the relevant command from the menu to produce a PDF in the same folder as your file. -
Use WordStar-inspired commands to save (
Space-ks), save and exit (Space-kx), or abandon changes and exit (Space-kq).
3. Try the AI Assistant
-
If you have Ollama installed, install a model you like.
-
Edit
~/.VimStar/lua/vimstar-user.luaand set your model’s name in thevim.g.ollama_modelvariable. -
Save and exit VimStar, and then re-open it.
-
Press
Space-ccto chat. Type a prompt like “Explain the quicksort algorithm.”
4. Navigate Files
Space-koto browse your file systemSpace-fs= Find files in the current folderSpace-t= Toggle Neo-tree file explorerSpace-fp= Find git-tracked files only
5. Try the Wiki
-
Customize the Wiki location in
vimstar-user.luaby settingvim.g.wiki_rootand then restarting VimStar. -
Space-wwopens the first Wiki page. -
Space-w-Space-wopens today’s journal page.
For more information, see the Wiki documentation by typing :help wiki.
6. Update VimStar
-
To take advantage of new VimStar features, press
Space-quand then restart VimStar. -
To update your plugins, press
Space-qlto launch the Lazy package manager. -
To update your LSPs and linters, press
Space-qmto launch Mason. -
To update Tree-Sitter parsers, press
Space-qt. It refreshes the parsers that are installed and builds the ones the files you have open still need.
Next Steps
- Explore Writing Features
- Learn about Coding Support
- Read the full Reference