nvim: add separate config files for most plugins

This commit is contained in:
Moritz Böhme 2023-03-04 13:22:48 +01:00
parent 9db80c9673
commit 04dacde028
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
25 changed files with 294 additions and 291 deletions

View file

@ -0,0 +1,10 @@
-- disable netrw at the very start of your init.lua (strongly advised)
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true
-- empty setup using defaults
require("nvim-tree").setup()
require("which-key").register({
t = { "<cmd>NvimTreeFindFileToggle<cr>", "nvim tree" },
}, { prefix = "<leader>t", silent = true })