updating my config
This commit is contained in:
parent
13b8e437f4
commit
d8c8d67865
3 changed files with 35 additions and 1 deletions
16
mappings.lua
16
mappings.lua
|
@ -1,2 +1,18 @@
|
|||
return {
|
||||
n = {
|
||||
["<C-d>"] = { "<C-d>zz", desc = "Vertical half page down and center cursor" },
|
||||
["<C-u>"] = { "<C-u>zz", desc = "Vertical half page up and center cursor" },
|
||||
},
|
||||
i = {
|
||||
["<C-h>"] = { "<Left>", desc = "Left" },
|
||||
["<C-j>"] = { "<Down>", desc = "Down" },
|
||||
["<C-k>"] = { "<Up>", desc = "Up" },
|
||||
["<C-l>"] = { "<Right>", desc = "Right" }
|
||||
},
|
||||
c = {
|
||||
["<C-h>"] = { "<Left>", desc = "Left" },
|
||||
["<C-j>"] = { "<Down>", desc = "Down" },
|
||||
["<C-k>"] = { "<Up>", desc = "Up" },
|
||||
["<C-l>"] = { "<Right>", desc = "Right" },
|
||||
},
|
||||
}
|
||||
|
|
16
plugins/neo-tree.lua
Normal file
16
plugins/neo-tree.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
opts = {
|
||||
filesystem = {
|
||||
follow_current_file = true,
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = false,
|
||||
hide_by_name = {
|
||||
".DS_Store",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
-- ensure_installed = { "lua" },
|
||||
ensure_installed = { "lua", "rust", "typescript", "css", "scss", "javascript", "java", "html", "python", "vim",
|
||||
"regex", "json", "bash", "dockerfile", "dot", "gitignore", "graphql", "jq", "jsdoc", "markdown",
|
||||
"markdown_inline", "sql" },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue