Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BrunoCiccarino/gardenal
A plugin for vim and neovim that allows you to define keyboard shortcuts for switching between themes.
https://github.com/BrunoCiccarino/gardenal
vim vim-configuration vim-plugin vimrc vimrc-configuration vimrc-settings
Last synced: 4 months ago
JSON representation
A plugin for vim and neovim that allows you to define keyboard shortcuts for switching between themes.
- Host: GitHub
- URL: https://github.com/BrunoCiccarino/gardenal
- Owner: BrunoCiccarino
- License: gpl-3.0
- Created: 2024-08-10T02:34:35.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T20:33:09.000Z (4 months ago)
- Last Synced: 2024-08-12T04:55:25.280Z (4 months ago)
- Topics: vim, vim-configuration, vim-plugin, vimrc, vimrc-configuration, vimrc-settings
- Language: Vim Script
- Homepage: https://www.vim.org/scripts/script.php?script_id=6119
- Size: 404 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - BrunoCiccarino/gardenal - Gardenal is a theme switcher, which allows the user to create keyboard shortcuts to switch between themes with one click. (Colorscheme / Colorscheme Switchers)
README
# 🧛🏻♂️ Gardenal
Gardenal is a plugin for Vim that allows you to create keyboard shortcuts to change themes, easy to install and simple to configure.
## How install?
To install we have several ways, we can install manually or through package managers such as Vim-Plug, Vundle, Pathogen... Let's start by seeing how to install it manually:
first you run the installer
``` shell
bash install.sh
```then you configure it in your configuration file, like in this example:
``` vimscript
source ~/.vim/plugins/gardenal.vimlet themes = ['desert', 'gruvbox', 'monokai']
call MapThemeSwitcherKeys(themes)
nnoremap 1 :call ThemeSwitcher(themes, 1)
nnoremap 2 :call ThemeSwitcher(themes, 2)
nnoremap 3 :call ThemeSwitcher(themes, 3)
```To install via vim-plug, we can do it this way, add the following statement to your configuration file:
``` Shell
Plug 'BrunoCiccarino/gardenal'
```Then press esc to exit insertion mode and run ```:PlugInstall```
To install via vundle it's very similar, you just need to add the following instructions to your configuration file:
``` Shell
Plugin 'BrunoCiccarino/gardenal'
```Then you repeat the process by pressing esc and typing ```:PluginInstall```
In Pathogen it requires you to clone my repository to a specific directory, for vim you clone to the ```~/.vim/bundle``` directory in neovim you clone to the ```~/.config/nvim/bundle directory ```. As in this example:
``` Shell
git clone https://github.com/BrunoCiccarino/gardenal ~/.vim/bundle/gardenal
```## Contribute
If you want to contribute to the project, just send a pull request and I will review the code and accept it. Please also send a detailed description of your changes or additions to the code.
## Contributors
This project exists thanks to all the people who contribute.