From d51e4670c0e421712f64389e5333de807d056906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hend=C3=A9n?= Date: Mon, 25 Nov 2024 12:55:13 -0400 Subject: [PATCH] add indent-blankline plugin add neotree module --- init.lua | 11 +++++++++-- lua/core/keymaps.lua | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 65493d8d..4d879391 100644 --- a/init.lua +++ b/init.lua @@ -435,7 +435,7 @@ require('lazy').setup({ -- Fuzzy find all the symbols in your current workspace. -- Similar to document symbols, except searches over your entire project. - map('ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols') + --map('ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols') -- Rename the variable under your cursor. -- Most Language Servers support renaming across files, etc. @@ -576,6 +576,14 @@ require('lazy').setup({ end, }, + { + 'lukas-reineke/indent-blankline.nvim', + main = 'ibl', + ---@module "ibl" + ---@type ibl.config + opts = {}, + }, + { -- Autoformat 'stevearc/conform.nvim', event = { 'BufWritePre' }, @@ -828,7 +836,6 @@ require('lazy').setup({ require 'plugins.neo-tree', require 'plugins.gitsigns', -- adds gitsigns recommend keymaps require 'plugins.codeium', - require 'plugins.terraform', -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index a781b1d5..0ab065ee 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -40,6 +40,9 @@ return { vim.keymap.set('n', 'ws', ':split', { desc = 'split window horizontally' }), vim.keymap.set('n', 'wv', ':vsplit', { desc = 'split window vertically' }), + -- neo-tree + vim.keymap.set('n', 'e', ':Neotree reveal', { desc = 'Open file browser' }), + -- terraform vim.keymap.set('n', 'ti', ':!terraform init -no-color', { desc = 'terraform init' }), vim.keymap.set('n', 'tv', ':!terraform validate -no-color', { desc = 'terraform validate' }),