mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Neovim setup
Can it be this easy to make nvim stuff just work? Do I really just need to pull the files in with Home Manager? It seems so, so long as nvim knows about gcc :) There is also a related side of tmux here because it all ties together.
This commit is contained in:
parent
5b7bb14cd6
commit
dfc94f8c69
27 changed files with 369 additions and 3 deletions
25
modules/home-manager/files/nvim/lua/plugins/neo-tree.lua
Normal file
25
modules/home-manager/files/nvim/lua/plugins/neo-tree.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
lazy = false,
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function ()
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
vim.keymap.set('n', '<C-n>', ':Neotree toggle<CR>', {})
|
||||
require("neo-tree").setup({
|
||||
filesystem = {
|
||||
hijack_netrw_behavior = "open_default"
|
||||
},
|
||||
follow_current_file = { enabled = true },
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue