mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Merge pull request #187 from mr-cal/nvim-tree-update
nvim-tree: fix shortcut and repo
This commit is contained in:
commit
dc597004df
@ -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/kyazdani42/nvim-tree.lua).
|
+ File tree explorer via [nvim-tree.lua](https://github.com/nvim-tree/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).
|
||||||
|
|||||||
@ -113,6 +113,7 @@ nvim_tree.setup {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
keymap.set("n", "<space>s", function()
|
keymap.set("n", "<space>s", require("nvim-tree.api").tree.toggle, {
|
||||||
return require("nvim-tree").toggle(false, true)
|
silent = true,
|
||||||
end, { silent = true, desc = "toggle nvim-tree" })
|
desc = "toggle nvim-tree",
|
||||||
|
})
|
||||||
|
|||||||
@ -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 { "kyazdani42/nvim-web-devicons", event = "VimEnter" }
|
use { "nvim-tree/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 {
|
||||||
"kyazdani42/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
requires = { "kyazdani42/nvim-web-devicons" },
|
requires = { "nvim-tree/nvim-web-devicons" },
|
||||||
config = [[require('config.nvim-tree')]],
|
config = [[require('config.nvim-tree')]],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user