summaryrefslogtreecommitdiff
path: root/plugin/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/init.lua')
-rw-r--r--plugin/init.lua34
1 files changed, 34 insertions, 0 deletions
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()
+