Commit save file mapping (uncomment)

This commit is contained in:
2023-11-03 13:49:18 -07:00
parent d5542f184c
commit 19900f4b24

View File

@@ -5,6 +5,9 @@
-- automatically pick-up stored data by this setting.)
return {
-- first key is the mode
i = {
["<C-s>"] = { ":w!<cr>", desc = "Save File" },
},
n = {
-- second key is the lefthand side of the map
@@ -31,7 +34,7 @@ return {
-- this is useful for naming menus
["<leader>b"] = { name = "Buffers" },
-- quick save
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
},
t = {
-- setting a mapping to false will disable it