feat: Add key map for nvchad

This commit is contained in:
ulic-youthlic 2025-11-05 07:43:19 +08:00
parent 9823c21787
commit 3904a42b2c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 4 additions and 1 deletions

2
flake.lock generated
View file

@ -1277,7 +1277,7 @@
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-5i6dXIjMmBZZ4WusMd/kCPijOVQR9AkosndKF07QVIo=", "narHash": "sha256-Y6UCxZkTMCxnteIRtuvl49ceQNSu+EIH2PbjOGvvp/I=",
"path": "./nvchad", "path": "./nvchad",
"type": "path" "type": "path"
}, },

View file

@ -27,3 +27,6 @@ map({ "n", "v" }, "<leader>tm", function()
image_api.enable() image_api.enable()
end end
end, { desc = "Toggle image.nvim" }) end, { desc = "Toggle image.nvim" })
map("n", "gh", "0")
map("n", "gl", "$")
map("n", "gs", "^")