remove that annoying asss tree plugin

This commit is contained in:
Benjamin Kyd
2023-05-19 14:11:07 +01:00
parent c898588535
commit 0cedfcce29
5 changed files with 31 additions and 31 deletions

View File

@@ -74,6 +74,14 @@ vim.o.hlsearch = true -- highlight the search results
vim.o.lazyredraw = false -- useful for when executing macros.
vim.o.ttimeoutlen = 30 -- ms to wait for a key code seq to complete
-- ================= NETRW ================= --
vim.g.netrw_banner = 0
vim.g.netrw_liststyle = 3
vim.g.netrw_browse_split = 4
vim.g.netrw_altv = 1
vim.g.netrw_winsize = 25
-- ================= Misc ================= --
vim.wo.wrap = true -- wrap long text into multiple lines

View File

@@ -11,7 +11,7 @@ vim.api.nvim_set_keymap('', '<leader>p', '"_dP', opts)
vim.api.nvim_set_keymap('n', '<leader>r', ':Telescope registers<CR>', opts)
-- vscode style quick peek at the tree
vim.api.nvim_set_keymap('n', '<C-b>', ":NvimTreeToggle<CR>", { noremap = true })
vim.api.nvim_set_keymap('n', '<C-b>', ":Lexplore<CR><C-w><S-l>:vertical resize 30<CR>", { noremap = true })
-- make ctrl-shift arrows line movement
vim.api.nvim_set_keymap('n', '<C-K>', 'ddkP', opts)

View File

@@ -1,20 +1,20 @@
require("nvim-tree").setup({
hijack_unnamed_buffer_when_opening = true,
--open_on_setup = false,
--open_on_setup_file = false,
update_focused_file = {
enable = true,
},
view = {
width = 35,
side = "right",
},
git = {
ignore = false,
},
filters = {
dotfiles = false,
}
})
--require("nvim-tree").setup({
--hijack_unnamed_buffer_when_opening = true,
----open_on_setup = false,
----open_on_setup_file = false,
--update_focused_file = {
--enable = true,
--},
--view = {
--width = 35,
--side = "right",
--},
--git = {
--ignore = false,
--},
--filters = {
--dotfiles = false,
--}
--})

View File

@@ -47,8 +47,8 @@ require('smart-splits').setup({
})
-- resize splits
vim.keymap.set('', '<A-S-h>', require('smart-splits').resize_left)
vim.keymap.set('', '<A-S-j>', require('smart-splits').resize_down)
vim.keymap.set('', '<A-S-k>', require('smart-splits').resize_up)
vim.keymap.set('', '<A-S-l>', require('smart-splits').resize_right)
vim.keymap.set('', '<A-C-h>', require('smart-splits').resize_left)
vim.keymap.set('', '<A-C-j>', require('smart-splits').resize_down)
vim.keymap.set('', '<A-C-k>', require('smart-splits').resize_up)
vim.keymap.set('', '<A-C-l>', require('smart-splits').resize_right)

View File

@@ -19,14 +19,6 @@ 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 'tpope/vim-fugitive'