Added leap.nvim to config
This commit is contained in:
parent
e198d0775a
commit
5fdd52eccf
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
local autocmd = vim.api.nvim_create_autocmd
|
||||
|
||||
vim.wo.number=true
|
||||
vim.wo.relativenumber= true
|
||||
vim.g.luasnippets_path = "~/.config/nvim/lua/custom/luasnippets"
|
||||
|
|
|
@ -6,11 +6,10 @@
|
|||
],
|
||||
"description": "Create a Split"
|
||||
},
|
||||
|
||||
"Use CP Rule": {
|
||||
"prefix": ["rule"],
|
||||
"body": [
|
||||
"\\equiv \\{Propriedade\\ ${1:Numero_da_propriedade}\\}\\\\$0"
|
||||
"\\equiv \\{\\text{Propriedade ${1:Numero_da_propriedade}}\\\\}\\\\\\\\$0"
|
||||
],
|
||||
"description": "Create a Split"
|
||||
},
|
||||
|
|
|
@ -10,5 +10,10 @@ return {
|
|||
require("plugins.configs.others").luasnip()
|
||||
require("luasnip.loaders.from_vscode").lazy_load({ paths = vim.g.luasnippets_path })
|
||||
end
|
||||
},
|
||||
["ggandor/leap.nvim"] = {
|
||||
config = function ()
|
||||
require('leap').add_default_mappings()
|
||||
end
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue