mirror of
https://github.com/Xevion/astronvim_config.git
synced 2025-12-06 03:14:22 -06:00
Commit save file mapping (uncomment)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user