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