diff --git a/lua/custom/plugins/harpoon.lua b/lua/custom/plugins/harpoon.lua index 37c08aa5..0e88c935 100644 --- a/lua/custom/plugins/harpoon.lua +++ b/lua/custom/plugins/harpoon.lua @@ -7,7 +7,7 @@ return { local harpoon = require 'harpoon' harpoon:setup {} vim.keymap.set({ 'n' }, 'a', function() - harpoon:list():append() + harpoon:list():add() end, { desc = '[A]ppend File to harpoon' }) vim.keymap.set('n', '', function() harpoon.ui:toggle_quick_menu(harpoon:list()) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 63fbc864..bb00e454 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -22,4 +22,30 @@ return { require('nvim-ts-autotag').setup() end, }, + { + 'nvim-tree/nvim-tree.lua', + version = '*', + lazy = false, + dependencies = { + 'nvim-tree/nvim-web-devicons', + }, + config = function() + require('nvim-tree').setup { + sort = { + sorter = 'case_sensitive', + }, + view = { + width = 50, + }, + renderer = { + group_empty = true, + }, + filters = { + dotfiles = true, + }, + } + vim.keymap.set({ 'n' }, 'st', ':NvimTreeFindFile', { desc = '[S]earch [T]ree' }) + vim.keymap.set({ 'n' }, 'xx', ':NvimTreeFindFileToggle', { desc = '[C]lose NvimTree' }) + end, + }, } diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index 68ec6ef9..611b3b44 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -12,8 +12,8 @@ return { typescriptreact = { 'eslint_d' }, javascriptreact = { 'eslint_d' }, -- dockerfile = { 'hadolint' }, - json = { 'jsonlint' }, - text = { 'vale' }, + -- json = { 'jsonlint' }, + -- text = { 'vale' }, } -- To allow other plugins to add linters to require('lint').linters_by_ft,