Add Vimspector
This commit is contained in:
parent
62d96ce61f
commit
2e4688895b
7
init.lua
7
init.lua
@ -183,7 +183,7 @@ local config = {
|
|||||||
["<leader>dS"] = { "<cmd>call vimspector#Stop()<cr>", desc = "Stop" },
|
["<leader>dS"] = { "<cmd>call vimspector#Stop()<cr>", desc = "Stop" },
|
||||||
["<leader>dc"] = { "<cmd>call vimspector#Continue()<cr>", desc = "Continue" },
|
["<leader>dc"] = { "<cmd>call vimspector#Continue()<cr>", desc = "Continue" },
|
||||||
["<leader>dp"] = { "<cmd>call vimspector#Pause()<cr>", desc = "Pause" },
|
["<leader>dp"] = { "<cmd>call vimspector#Pause()<cr>", desc = "Pause" },
|
||||||
["<leader>dv"] = { "<cmd>call vimspector#Reset()<cr>", desc = "Reset" },
|
["<leader>de"] = { "<cmd>call vimspector#Reset()<cr>", desc = "Reset" },
|
||||||
["<leader>dr"] = { "<cmd>call vimspector#Restart()<cr>", desc = "Restart" },
|
["<leader>dr"] = { "<cmd>call vimspector#Restart()<cr>", desc = "Restart" },
|
||||||
["<leader>dR"] = { "<cmd>call vimspector#RunToCursor()<cr>", desc = "Run to cursor" },
|
["<leader>dR"] = { "<cmd>call vimspector#RunToCursor()<cr>", desc = "Run to cursor" },
|
||||||
["<leader>dC"] = { "<cmd>call vimspector#GoToCurrentLine()", desc = "Go to current line" },
|
["<leader>dC"] = { "<cmd>call vimspector#GoToCurrentLine()", desc = "Go to current line" },
|
||||||
@ -207,7 +207,6 @@ local config = {
|
|||||||
["<leader>dfu"] = { "<cmd>call vimspector#UpFrame()<cr>", desc = "Up frame" },
|
["<leader>dfu"] = { "<cmd>call vimspector#UpFrame()<cr>", desc = "Up frame" },
|
||||||
["<leader>dfd"] = { "<cmd>call vimspector#DownFrame()<cr>", desc = "Down frame" },
|
["<leader>dfd"] = { "<cmd>call vimspector#DownFrame()<cr>", desc = "Down frame" },
|
||||||
|
|
||||||
|
|
||||||
-- 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
|
||||||
},
|
},
|
||||||
@ -217,7 +216,9 @@ local config = {
|
|||||||
},
|
},
|
||||||
i = {
|
i = {
|
||||||
["<C-e>"] = { "copilot#Accept('<CR>')", silent = true, expr = true },
|
["<C-e>"] = { "copilot#Accept('<CR>')", silent = true, expr = true },
|
||||||
}
|
},
|
||||||
|
v = {
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Configure plugins
|
-- Configure plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user