nvim-config

Log | Files | Refs | Submodules | README

azy_config.lua (478B)


      1 local M = {}
      2 
      3 require'azy'.setup {
      4   -- preview = true,
      5   debug = true,
      6 }
      7 local ab = require'azy.builtins'
      8 
      9 vim.keymap.set("n", "<Leader>e", ab.files(), {})
     10 vim.keymap.set("n", "<Leader>r", ab.files_contents(), {})
     11 vim.keymap.set('n', '<Leader>oc', ab.files { vim.fn.stdpath'config' }, {})
     12 vim.keymap.set('n', '<Leader>h', ab.help(), {})
     13 vim.keymap.set('n', '<Leader>b', ab.buffers(), {})
     14 vim.keymap.set('n', '<Leader>q', ab.quickfix(), {})
     15 
     16 vim.ui.select = ab.select
     17 
     18 return M