feat: add nvim init

This commit is contained in:
2024-11-05 12:07:29 +08:00
parent 66a781c5d0
commit dfa04656dd
4 changed files with 83 additions and 54 deletions
+1
View File
@@ -49,6 +49,7 @@
# list files which have changed since REVIEW_BASE
# (REVIEW_BASE defaults to 'master' in my zshrc)
files = !git diff --name-only $(git merge-base HEAD \"$REVIEW_BASE\")
rmsubmodule = "!f(){ git submodule deinit -f \"$1\"; git rm -f \"$1\"; git commit -m \"Removed submodule $1\"; };f"
# Same as above, but with a diff stat instead of just names
# (better for interactive use)