https://github.com/RoryNesbitt/dotfyle-cli
Command line tool for Neovim multi-config management
https://github.com/RoryNesbitt/dotfyle-cli
dotfyle neovim neovim-configs neovim-configuration-manager
Last synced: about 1 year ago
JSON representation
Command line tool for Neovim multi-config management
- Host: GitHub
- URL: https://github.com/RoryNesbitt/dotfyle-cli
- Owner: RoryNesbitt
- Created: 2023-08-29T21:44:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T15:12:00.000Z (over 2 years ago)
- Last Synced: 2024-10-30T12:48:13.692Z (over 1 year ago)
- Topics: dotfyle, neovim, neovim-configs, neovim-configuration-manager
- Language: Shell
- Homepage: https://dotfyle.com
- Size: 20.5 KB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dotfyle-cli
====
A command line tool to test out Neovim configs found on
[dotfyle](https://dotfyle.com) (or github)

## Requirements
- fzf - dotfyle-cli is posix complient so should run anywhere as long as
[fzf](https://github.com/junegunn/fzf) is available
- git - Some features of dotfyle-cli will only work if git is available
(install/update)
## installation
assumes you have `~/.local/bin` in your PATH, feel free to change the directory
```sh
curl -o ~/.local/bin/dotfyle https://raw.githubusercontent.com/RoryNesbitt/dotfyle-cli/main/dotfyle
chmod +x ~/.local/bin/dotfyle
```
You will then be able to get the new version with `dotfyle upgrade`
## Using dotfyle-cli
### Config installation
start by installing some configs
```sh
dotfyle install https://dotfyle.com/codicocodes/dotfiles-nvim
dotfyle install https://github.com/folke/dot/tree/master/nvim
dotfyle install RoryNesbitt/RNvim
```
### Running Neovim
Then select which one you want to start Neovim with using
```sh
dotfyle
# or
dotfyle run
```
Or run your last used with
```sh
dotfyle run --last-used
```
### Getting more help/config management
dotfyle-cli can also remove or update configs, check out the options with
```sh
dotfyle --help
```
On removing a config the related files are also removed from
- ~/.config/neovim-configs
- ~/.cache/neovim-configs
- ~/.local/share/neovim-configs
- ~/.local/state/neovim-configs