vim.g.mapleader = ' ' -- set as leader key vim.keymap.set('n', 'w', 'write') -- write file with leader w vim.keymap.set('n', 'e', 'NvimTreeToggle') -- open file explorer with leader e -- set split navigation to cntrl+j/k/h/l vim.keymap.set('n', '', 'j') vim.keymap.set('n', '', 'k') vim.keymap.set('n', '', 'h') vim.keymap.set('n', '', 'l') -- telescope keymaps local builtin = require('telescope.builtin') vim.keymap.set('n', 'ff', builtin.find_files, {}) vim.keymap.set('n', 'fg', builtin.live_grep, {}) vim.keymap.set('n', 'fb', builtin.buffers, {}) vim.keymap.set('n', 'fh', builtin.help_tags, {})