mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
feat: initial commit
This commit is contained in:
commit
58e5dae036
18 changed files with 683 additions and 0 deletions
35
lua/user/plugins/editor.lua
Normal file
35
lua/user/plugins/editor.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
vim.g.neo_tree_remove_legacy_commands = 1
|
||||
|
||||
return {
|
||||
|
||||
-- file explorer
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
cmd = "Neotree",
|
||||
keys = { { "<leader>ft", "<cmd>Neotree toggle<cr>", desc = "NeoTree" } },
|
||||
config = {
|
||||
filesystem = {
|
||||
follow_current_file = true,
|
||||
hijack_netrw_behavior = "open_current",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- fuzzy finder
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
cmd = "Telescope",
|
||||
keys = { { "<leader><space>", "<cmd>Telescope find_files<cr>", desc = "Find Files" } },
|
||||
config = true,
|
||||
},
|
||||
|
||||
-- which-key
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
config = {
|
||||
plugins = { spelling = true },
|
||||
key_labels = { ["<leader>"] = "SPC" },
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue