|
|
|
@ -13,6 +13,13 @@ end
|
|
|
|
|
-- Space is the leader key when outside of insert mode. |
|
|
|
|
vim.g.mapleader = " " |
|
|
|
|
|
|
|
|
|
-- Telescope |
|
|
|
|
local builtin = require('telescope.builtin') |
|
|
|
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) |
|
|
|
|
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {}) |
|
|
|
|
vim.keymap.set('n', '<leader>fb', builtin.buffers, {}) |
|
|
|
|
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {}) |
|
|
|
|
|
|
|
|
|
vim.api.nvim_set_keymap('', '<Leader>t', ':NERDTreeToggle<CR>', {silent = true}) |
|
|
|
|
|
|
|
|
|
-- <SPC>-r controls relative line numbering. |
|
|
|
|