Split your (Neo)vim config and use specialized instance for each use case!
- Clojure 100%
| .gitignore | gitignore: ignore local cache and nREPL port | |
| bb.edn | set up project bb.edn | |
| README.md | add README.md | |
| vimulti.clj | fix: unable to get current branch | |
| vimulti.edn | support local config | |
Vimulti
I'm crazy and I maintain multiple Neovim configurations. Most of the time I code in a pleasant language where a simple setup can do the job right. Sometimes I have to code in, well, Java, but I refuse to install anything like Intellij IDEA. So I forked my own configuration and made a Java edition.
Vimulti does one simple thing. Suppose your Neovim configuration is a Git repository, and you have different versions of it on different branches. You run vimulti <branch> ..., and this happens:
- Your repository is switched to that branch.
- Your editor opens up, using that configuration.
- You
:wq, and the branch is switched back.
Setup
- Make sure you have Babashka installed.
git clone https://codeberg.org/eltrac/vimulti.git- Add
alias vimulti="bb /path/to/vimulti/vimulti.clj"to your.zshrcor something like that - Add more aliases of certain versions, e.g.
alias vimj="vimulti java-edition"
Roadmap
- Switch configurations across repositories
- Use configuration from a remote git repository URL
- Install script