add escape.nvim
This commit is contained in:
parent
e4155b9fa4
commit
bcc1335c3e
2
init.lua
2
init.lua
@ -1,5 +1,7 @@
|
||||
local cmd = vim.cmd
|
||||
|
||||
table.unpack = unpack
|
||||
|
||||
-- Allow loading */init.lua files
|
||||
package.path = "./?/init.lua;"..package.path
|
||||
|
||||
|
10
lua/config/escape.lua
Normal file
10
lua/config/escape.lua
Normal file
@ -0,0 +1,10 @@
|
||||
return {
|
||||
"m-gail/escape.nvim",
|
||||
config = function()
|
||||
local escape = require("escape").escape
|
||||
|
||||
require("legendary").keymaps{
|
||||
{"<leader>e", escape, description="Escape quotes", mode={"v"}, opts={noremap=true,silent = true}}
|
||||
}
|
||||
end
|
||||
}
|
@ -34,6 +34,7 @@ return function(use)
|
||||
use_config "git-conflict"
|
||||
use_config "doxygen-tk"
|
||||
use_config "navbuddy"
|
||||
use_config "escape"
|
||||
-- use_config "ufo"
|
||||
|
||||
use {
|
||||
|
Loading…
Reference in New Issue
Block a user