mirror of
https://github.com/cap153/nvim.git
synced 2026-05-01 19:05:44 +08:00
添加快捷键翻译插件
This commit is contained in:
parent
5a316c8b4e
commit
81b9d5964e
6 changed files with 49 additions and 11 deletions
|
|
@ -45,11 +45,18 @@
|
|||
"\t\tend)",
|
||||
"\tend",
|
||||
"})",
|
||||
"-- vim.keymap.set({ \"n\", \"x\" }, \"${8:<++>}\", function()",
|
||||
"-- 特定命令触发",
|
||||
"-- vim.api.nvim_create_user_command(\"${8:<++>}\", function()",
|
||||
"-- \tPackUtils.load(P, function()",
|
||||
"-- \t\t$9",
|
||||
"-- \tend)",
|
||||
"-- \tvim.cmd(\"${10:Command}\")",
|
||||
"-- end, { desc = \"${10:描述}\" })",
|
||||
"-- 快捷键触发",
|
||||
"-- vim.keymap.set({ \"n\", \"x\" }, \"${11:<++>}\", function()",
|
||||
"-- \tPackUtils.load(P, function()",
|
||||
"-- \t\t$12",
|
||||
"-- \tend)",
|
||||
"-- \tvim.cmd(\"${13:Command}\")",
|
||||
"-- end, { desc = \"${0:描述}\" })"
|
||||
],
|
||||
"description": "Neovim Native Package Loader (Pure Config)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue