Skip to content

Commit

Permalink
Remove nerdtree for netrw
Browse files Browse the repository at this point in the history
  • Loading branch information
RhydianJenkins committed Nov 19, 2023
1 parent d521ea5 commit 52842f8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 79 deletions.
69 changes: 0 additions & 69 deletions nvim/after/plugin/nvimtree.lua

This file was deleted.

3 changes: 3 additions & 0 deletions nvim/lua/rhydian/keybinds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ keymap("n", "<F11>", "<cmd>lua require'dap'.step_out()<CR>", { desc = "Debug ste

-- Delete, don't cut
keymap("n", "x", '"_x', { desc = "Remove char without copying to clipboard" })

-- Netrw
vim.keymap.set("n", "<C-b>", function() vim.cmd("Explore") end, { desc = "Open NetRw" })
4 changes: 0 additions & 4 deletions nvim/lua/rhydian/options.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
-- Disable netrw to avoid race conditions (using nvimtree instead)
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

vim.o.nu = true
vim.o.relativenumber = true
vim.o.errorbells = false
Expand Down
12 changes: 6 additions & 6 deletions nvim/lua/rhydian/packer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ return require("packer").startup(function(use)

use({ "nvim-telescope/telescope-fzf-native.nvim", run = "make" })

use({
"nvim-tree/nvim-tree.lua",
requires = {
"nvim-tree/nvim-web-devicons",
},
})
-- use({
-- "nvim-tree/nvim-tree.lua",
-- requires = {
-- "nvim-tree/nvim-web-devicons",
-- },
-- })

use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })

Expand Down

0 comments on commit 52842f8

Please sign in to comment.