1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Compare commits

..

No commits in common. "9a4d71db88f1d030a314f909f27bb561fd549bb3" and "644993a89e8be251c10f4d2b1bb761301f4545b1" have entirely different histories.

3 changed files with 11 additions and 8 deletions

View File

@ -69,7 +69,7 @@ and how to set up on different platforms (Linux, macOS, and Windows).
+ Fast buffer jump via [hop.nvim](https://github.com/phaazon/hop.nvim). + Fast buffer jump via [hop.nvim](https://github.com/phaazon/hop.nvim).
+ Powerful snippet insertion via [Ultisnips](https://github.com/SirVer/ultisnips). + Powerful snippet insertion via [Ultisnips](https://github.com/SirVer/ultisnips).
+ Beautiful statusline via [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim). + Beautiful statusline via [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim).
+ File tree explorer via [nvim-tree.lua](https://github.com/nvim-tree/nvim-tree.lua). + File tree explorer via [nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua).
+ Better quickfix list with [nvim-bqf](https://github.com/kevinhwang91/nvim-bqf). + Better quickfix list with [nvim-bqf](https://github.com/kevinhwang91/nvim-bqf).
+ Show search index and count with [nvim-hlslens](https://github.com/kevinhwang91/nvim-hlslens). + Show search index and count with [nvim-hlslens](https://github.com/kevinhwang91/nvim-hlslens).
+ Command line auto-completion via [wilder.nvim](https://github.com/gelguy/wilder.nvim). + Command line auto-completion via [wilder.nvim](https://github.com/gelguy/wilder.nvim).

View File

@ -7,6 +7,9 @@ nvim_tree.setup {
hijack_cursor = false, hijack_cursor = false,
hijack_netrw = true, hijack_netrw = true,
hijack_unnamed_buffer_when_opening = false, hijack_unnamed_buffer_when_opening = false,
ignore_buffer_on_setup = false,
open_on_setup = false,
open_on_setup_file = false,
open_on_tab = false, open_on_tab = false,
sort_by = "name", sort_by = "name",
update_cwd = false, update_cwd = false,
@ -47,6 +50,7 @@ nvim_tree.setup {
update_cwd = false, update_cwd = false,
ignore_list = {}, ignore_list = {},
}, },
ignore_ft_on_setup = {},
system_open = { system_open = {
cmd = "", cmd = "",
args = {}, args = {},
@ -109,7 +113,6 @@ nvim_tree.setup {
}, },
} }
keymap.set("n", "<space>s", require("nvim-tree.api").tree.toggle, { keymap.set("n", "<space>s", function()
silent = true, return require("nvim-tree").toggle(false, true)
desc = "toggle nvim-tree", end, { silent = true, desc = "toggle nvim-tree" })
})

View File

@ -137,7 +137,7 @@ packer.startup {
use { "tanvirtin/monokai.nvim", opt = true } use { "tanvirtin/monokai.nvim", opt = true }
use { "marko-cerovac/material.nvim", opt = true } use { "marko-cerovac/material.nvim", opt = true }
use { "nvim-tree/nvim-web-devicons", event = "VimEnter" } use { "kyazdani42/nvim-web-devicons", event = "VimEnter" }
use { use {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
@ -358,8 +358,8 @@ packer.startup {
-- file explorer -- file explorer
use { use {
"nvim-tree/nvim-tree.lua", "kyazdani42/nvim-tree.lua",
requires = { "nvim-tree/nvim-web-devicons" }, requires = { "kyazdani42/nvim-web-devicons" },
config = [[require('config.nvim-tree')]], config = [[require('config.nvim-tree')]],
} }