summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-01-27 01:57:46 +0100
committerache <ache@ache.one>2023-01-27 01:57:46 +0100
commitaa117c770f3f2474ded83a02692d8dd1b508b48a (patch)
treec59d502919c1aa922c6187e4e1652469b48d1771
parentJS fold (diff)
Init config
-rw-r--r--init.vim0
-rw-r--r--plugin/init.lua34
2 files changed, 34 insertions, 0 deletions
diff --git a/init.vim b/init.vim
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/init.vim
diff --git a/plugin/init.lua b/plugin/init.lua
new file mode 100644
index 0000000..eb1846a
--- /dev/null
+++ b/plugin/init.lua
@@ -0,0 +1,34 @@
+-- examples for your init.lua
+
+-- disable netrw at the very start of your init.lua (strongly advised)
+vim.g.loaded = 1
+vim.g.loaded_netrwPlugin = 1
+
+-- OR setup with some options
+require("nvim-tree").setup({
+ sort_by = "case_sensitive",
+ view = {
+ adaptive_size = true,
+ mappings = {
+ list = {
+ { key = "u", action = "dir_up" },
+ },
+ },
+ },
+ renderer = {
+ group_empty = true,
+ },
+ filters = {
+ dotfiles = true,
+ },
+ tab = {
+ sync = {
+ open = true,
+ close = true,
+ ignore = {}
+ }
+ },
+})
+
+require('leap').set_default_keymaps()
+