From b876e4afcab3d01f9207f9f4794828fd8b091d9d Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Sun, 19 Mar 2023 17:00:55 -0300 Subject: nvim,zzszh,gpg,i3 --- .config/nvim/lua/util.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 .config/nvim/lua/util.lua (limited to '.config/nvim/lua/util.lua') diff --git a/.config/nvim/lua/util.lua b/.config/nvim/lua/util.lua new file mode 100755 index 0000000..8b57d32 --- /dev/null +++ b/.config/nvim/lua/util.lua @@ -0,0 +1,34 @@ +return { + { + 'windwp/nvim-autopairs', + after = 'nvim-lspconfig', + config = function() + require('nvim-autopairs').setup{} + end + }, + { + 'nvim-lua/plenary.nvim' + }, + { + 'tversteeg/registers.nvim' + }, + { + 'nvim-telescope/telescope.nvim', + -- requires = { 'nvim-lua/plenary.nvim' }, + config = function() + local keymap = vim.api.nvim_set_keymap + local opts = { noremap = true, silent = true } + + keymap('n', 'ff', 'Telescope find_files', opts) + keymap('n', 'fb', 'Telescope buffers', opts) + keymap('n', 'fh', 'Telescope help_tags', opts) + keymap('n', 'fg', 'Telescope live_grep', opts) + end + }, + { + 'xiyaowong/which-key.nvim', + config = function() + require("which-key").setup() + end + } +} -- cgit v1.2.3