✨ feat(nvim): add new keymaps for easier identation
This commit is contained in:
parent
3907d4545e
commit
805c05e4bd
2 changed files with 5 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
||||||
"nvim-scissors": { "branch": "main", "commit": "63d05e732d1403fcd7c7e1fb6b55763adcd08b64" },
|
"nvim-scissors": { "branch": "main", "commit": "63d05e732d1403fcd7c7e1fb6b55763adcd08b64" },
|
||||||
"nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" },
|
"nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "090880c0f1fec219f7de838cb51b8dc07ce74a6d" },
|
"nvim-treesitter": { "branch": "master", "commit": "090880c0f1fec219f7de838cb51b8dc07ce74a6d" },
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "2017a0d7fc2d3790d823feddedada506984a10ce" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "85cf977181fb8e816e47ac05df7f756e9cb72caf" },
|
||||||
"nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" },
|
"nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "19a91a38b02c1c28c14e0ba468d20ae1423c39b2" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "19a91a38b02c1c28c14e0ba468d20ae1423c39b2" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" },
|
||||||
|
|
|
@ -25,6 +25,10 @@ map("n", "<leader>L", "<Nop>")
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
map("n", "<leader>uB", function() Util.toggle("background", false, { "light", "dark" }) end, { desc = "Toggle Background" })
|
map("n", "<leader>uB", function() Util.toggle("background", false, { "light", "dark" }) end, { desc = "Toggle Background" })
|
||||||
|
|
||||||
|
-- Identation
|
||||||
|
map("n", "<", "<<", { desc = "Deindent" })
|
||||||
|
map("n", ">", ">>", { desc = "Indent" })
|
||||||
|
|
||||||
-- Save without formatting
|
-- Save without formatting
|
||||||
map("n", "<A-s>", "<cmd>noautocmd w<CR>", { desc = "Save without formatting" })
|
map("n", "<A-s>", "<cmd>noautocmd w<CR>", { desc = "Save without formatting" })
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue