diff --git a/.config/nvim/lua/custom/init.lua b/.config/nvim/lua/custom/init.lua index d0750b6..49a65ff 100644 --- a/.config/nvim/lua/custom/init.lua +++ b/.config/nvim/lua/custom/init.lua @@ -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" diff --git a/.config/nvim/lua/custom/luasnippets/languages/latex.json b/.config/nvim/lua/custom/luasnippets/languages/latex.json index 325718c..181ee6c 100644 --- a/.config/nvim/lua/custom/luasnippets/languages/latex.json +++ b/.config/nvim/lua/custom/luasnippets/languages/latex.json @@ -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" }, diff --git a/.config/nvim/lua/custom/plugins/init.lua b/.config/nvim/lua/custom/plugins/init.lua index c1ae847..c3cc8d9 100644 --- a/.config/nvim/lua/custom/plugins/init.lua +++ b/.config/nvim/lua/custom/plugins/init.lua @@ -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 } }