blob: 495a89733f97a8d543a080b45f43034ed6e84908 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
## 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:
1. Your repository is switched to that branch.
2. Your editor opens up, using that configuration.
3. You `:wq`, and the branch is switched back.
### Setup
1. Make sure you have [Babashka](https://babashka.org/) installed.
2. `git clone https://codeberg.org/eltrac/vimulti.git`
3. Add `alias vimulti="bb /path/to/vimulti/vimulti.clj"` to your `.zshrc` or something like that
4. 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
|