mappings.lua 693 B

123456789101112131415161718192021222324252627282930313233343536
  1. local default_opts = require('utils.mappings_utils').default_opts
  2. -- NerdTREE nerdtree
  3. ncvim.add_mappings {
  4. {
  5. mode = 'n',
  6. key_string = '<leader>n',
  7. command = ':NERDTreeFocus<CR>',
  8. options = default_opts,
  9. },
  10. {
  11. mode = 'n',
  12. key_string = '<C-n>',
  13. command = ':NERDTreeFocus<CR>',
  14. options = default_opts,
  15. },
  16. {
  17. mode = 'n',
  18. key_string = '<leader><C-n>',
  19. command = ':NERDTree<CR>',
  20. options = default_opts,
  21. },
  22. {
  23. mode = 'n',
  24. key_string = '<C-t>',
  25. command = ':NERDTreeToggle<CR>',
  26. options = default_opts,
  27. },
  28. {
  29. mode = 'n',
  30. key_string = '<C-f>',
  31. command = ':NERDTreeFind<CR>',
  32. options = default_opts,
  33. },
  34. }