Add NERDTree plugin
This commit is contained in:
parent
1e0efaa069
commit
618de2c3e0
3 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,7 @@ require('remaps')
|
|||
require('options')
|
||||
require('plugins')
|
||||
require('colors')
|
||||
require('plugin_options')
|
||||
require('autocommands')
|
||||
|
||||
-- vim.cmd([[
|
||||
|
|
4
roles/neovim/files/lua/plugin_options.lua
Normal file
4
roles/neovim/files/lua/plugin_options.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
-- NERDTree
|
||||
|
||||
let NERDTreeIgnore=['^__pycache__$', '\.pyc', '\~$']
|
||||
vim.keymap.set('n', '<leader>ne', '<cmd>NERDTree<CR>', { remap = true })
|
|
@ -13,6 +13,10 @@ return require('packer').startup(function(use)
|
|||
use 'morhetz/gruvbox'
|
||||
use 'sjl/badwolf'
|
||||
|
||||
-- NERDTree
|
||||
use 'preservim/nerdtree'
|
||||
use 'Xuyuanp/nerdtree-git-plugin' -- A NERDTree plugin showing git status
|
||||
|
||||
-- Automatically set up your configuration after cloning packer.nvim
|
||||
-- Put this at the end after all plugins
|
||||
if packer_bootstrap then
|
||||
|
|
Loading…
Add table
Reference in a new issue