1
0
Fork 0

update mappings.lua (FLEcli syntax)

main
Dominic Reich 1 year ago
parent dd7ea35be3
commit bc49d9eb14
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -20,14 +20,16 @@ return {
["<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
["<F5>"] = { '"=strftime("%H%M ")<CR>P' }, -- ["<F5>"] = { '"=strftime("%H%M ")<CR>P' },
["<F6>"] = { '"=strftime("date %G-%m-%d")<CR>P' }, -- ["<F6>"] = { '"=strftime("date %G-%m-%d")<CR>P' },
}, },
i = { i = {
["<C-s>"] = { "<esc><cmd>w!<cr>a", desc = "Force write file" }, -- change description but the same command ["<C-s>"] = { "<esc><cmd>w!<cr>a", desc = "Force write file" }, -- change description but the same command
-- ["<F6>"] = { '<C-R>=strftime("%Y-%m-%dT%H:%M:%S%z")<C-M>', desc = "Replace with actual date&time" }, -- ["<F6>"] = { '<C-R>=strftime("%Y-%m-%dT%H:%M:%S%z")<C-M>', desc = "Replace with actual date&time" },
["<F5>"] = { '<C-R>=strftime("%H%M ")<CR>' }, ["<F2>"] = { 'mycall oe7drt<CR>mygrid jn57lb<CR>'},
["<F6>"] = { '<C-R>=strftime("date %G-%m-%d")<CR>' }, ["<F3>"] = { '<C-R>=strftime("date %G-%m-%d")<CR><CR>' },
["<F4>"] = { '<C-R>=strftime("%H%M ")<CR>' },
-- ["<F5>"] = { '' },
["<F8>"] = { '<C-R>=strftime("%Y-%m-%dT%H:%M:%S%z")<C-M>', desc = "Insert actual date&time" }, ["<F8>"] = { '<C-R>=strftime("%Y-%m-%dT%H:%M:%S%z")<C-M>', desc = "Insert actual date&time" },
}, },
t = { t = {

Loading…
Cancel
Save