summaryrefslogtreecommitdiff
path: root/plugin/init.lua
blob: 6685acc9ea03aacb91d8808b80d12b52fd14bdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
-- 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()
require("cscope_maps").setup({})