commit
This commit is contained in:
parent
6a2c2ddc61
commit
7c9a35820d
@ -2,6 +2,7 @@ local map = vim.keymap.set
|
|||||||
|
|
||||||
-- neo-tree
|
-- neo-tree
|
||||||
map("n", "<leader>e", ":Neotree<CR>", { desc = "nvimtree focus window" })
|
map("n", "<leader>e", ":Neotree<CR>", { desc = "nvimtree focus window" })
|
||||||
|
map("n", "<leader>g", ":Neotree git_status float<CR>", { desc = "open gis status" })
|
||||||
|
|
||||||
-- telescope
|
-- telescope
|
||||||
map("n", "<leader>ff", ":Telescope live_grep<CR>", { desc = "telescope live grep" })
|
map("n", "<leader>ff", ":Telescope live_grep<CR>", { desc = "telescope live grep" })
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
return {
|
return {
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
|
|
||||||
event = "User FilePost",
|
event = "User FilePost",
|
||||||
opts = function()
|
opts = function()
|
||||||
return {
|
return {
|
||||||
signs = {
|
signs = {
|
||||||
delete = { text = "" },
|
delete = { text = "" },
|
||||||
changedelete = { text = "" },
|
changedelete = { text = "" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
local fn = vim.fn
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
branch = "v3.x",
|
branch = "v3.x",
|
||||||
@ -7,4 +9,19 @@ return {
|
|||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||||
},
|
},
|
||||||
|
config = function()
|
||||||
|
fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticSignError" })
|
||||||
|
fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSignWarn" })
|
||||||
|
fn.sign_define("DiagnosticSignInfo", { text = " ", texthl = "DiagnosticSignInfo" })
|
||||||
|
fn.sign_define("DiagnosticSignHint", { text = " ", texthl = "DiagnosticSignHint" })
|
||||||
|
|
||||||
|
require("neo-tree").setup({
|
||||||
|
default_component_configs = {
|
||||||
|
modified = {
|
||||||
|
symbol = "",
|
||||||
|
highlight = "NeoTreeModified",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user