add livecommand and del specture
This commit is contained in:
@ -2,9 +2,9 @@ require("hop").setup({})
|
||||
--- place this in one of your configuration file(s)
|
||||
local hop = require("hop")
|
||||
local directions = require("hop.hint").HintDirection
|
||||
vim.keymap.set("", "f", function()
|
||||
hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true })
|
||||
end, { remap = true })
|
||||
-- vim.keymap.set("", "f", function()
|
||||
-- hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true })
|
||||
-- end, { remap = true })
|
||||
vim.keymap.set("", "F", function()
|
||||
hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true })
|
||||
end, { remap = true })
|
||||
|
5
lua/plugin-config/live_command.lua
Normal file
5
lua/plugin-config/live_command.lua
Normal file
@ -0,0 +1,5 @@
|
||||
require("live-command").setup({
|
||||
commands = {
|
||||
Norm = { cmd = "norm" },
|
||||
},
|
||||
})
|
@ -1 +0,0 @@
|
||||
require("spectre").setup({})
|
Reference in New Issue
Block a user