Skip to content

Instantly share code, notes, and snippets.

View siduck's full-sized avatar
☝️
Indeed with hardship comes ease

Sidhanth Rathod siduck

☝️
Indeed with hardship comes ease
View GitHub Profile
@siduck
siduck / migrate.sh
Last active June 7, 2024 21:14
Migrate from v2.0 to v2.5 ( Unix Only )
#!/bin/bash
# Run the script from home dir
cd ~
nvim_config="$HOME/.config/nvim"
nvim_data="$HOME/.local/share/nvim"
cp -r "$nvim_config" nvim_bak # backup nvim dir
cp -r "$nvim_config/lua/custom" .
vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
  • Make sure to read nvconfig to know default options
  • lua/chadrc.lua file must return a table which follows the structure of nvconfig.
---@type ChadrcConfig
local M = {}