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 / tutorial.md
Created July 22, 2024 00:56
Install Linux distro with X11 on android ( without root & root ) on termux & termux-x11

In this guide alpine linux will be used as an example :

First install termux-x11 apk file.

pkg install termux-x11-nightly

Without root

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 = {}
@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" .