This commit is contained in:
Benjamin Kyd
2023-03-23 10:18:11 +00:00
parent e0e1361c64
commit 6f3e336644
3 changed files with 16 additions and 1 deletions

View File

@@ -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)

View File

@@ -0,0 +1,7 @@
require("nvim-tree").setup({
git = {
ignore = false,
},
})

View File

@@ -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',