add tree
This commit is contained in:
@@ -5,7 +5,7 @@ local opts = { noremap = true, silent = true }
|
||||
vim.api.nvim_set_keymap('i', '<C-v>', '<Esc>"+pa', opts)
|
||||
|
||||
-- vscode style quick peek at the tree
|
||||
vim.api.nvim_set_keymap('n', '<C-b>', ":Lexplore<CR> :vertical resize 30<CR>", { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', '<C-b>', ":NvimTreeToggle<CR> :vertical resize 30<CR>", { noremap = true })
|
||||
|
||||
-- make ctrl-shift arrows line movement
|
||||
vim.api.nvim_set_keymap('n', '<C-A-Up>', 'ddkP', opts)
|
||||
|
||||
7
common/.config/nvim/lua/plugin-config/nvim-tree.lua
Normal file
7
common/.config/nvim/lua/plugin-config/nvim-tree.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
require("nvim-tree").setup({
|
||||
git = {
|
||||
ignore = false,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -19,6 +19,14 @@ local packer = require('packer').startup(function(use)
|
||||
|
||||
-- QUALITY OF LIFE INTEGRATIONS
|
||||
|
||||
-- file explorer
|
||||
use {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
config = function ()
|
||||
require('plugin-config/nvim-tree')
|
||||
end
|
||||
}
|
||||
|
||||
-- git integration
|
||||
use {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
|
||||
Reference in New Issue
Block a user