https://github.com/trstringer/nvim-config
https://github.com/trstringer/nvim-config
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/trstringer/nvim-config
- Owner: trstringer
- Created: 2024-04-08T14:45:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T23:47:41.000Z (9 months ago)
- Last Synced: 2025-06-12T19:33:01.943Z (8 months ago)
- Language: Lua
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neovim (and tmux) config
## Backup
```bash
backup.sh
git add .
git commit -m "New neovim config"
```
## Restore
```bash
# Install neovim release that matches the version.
# Restore Lazy plugins.
cp ./lazy-lock.json ~/.config/nvim/
nvim
# :Lazy restore
# Restore Mason LSPs.
cp ./mason-lock.json ~/.config/nvim/
nvim
# :MasonLockRestore
# Restore editorconfig
cp ./.editorconfig ~
# Restore vim helpers
cp ./.vim_helpers.sh ~
# Source it in bashrc
if ! grep vim_helpers ~/.bashrc ; then
echo "source /home/trstringer/.vim_helpers.sh" >> ~/.bashrc
fi
# Restore tmux
cp ./.tmux.conf ~
# Restore terminal themes
cp ~/.local/share/nvim/lazy/tokyonight.nvim/extras/xfceterm/*.theme ~/.local/share/xfce4/terminal/colorschemes/
# Restore xfce4-terminal settings
cp ./xfce4-terminal.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/
```