-- This file sets the fzf and side tree vim.keymap.set("n", " ", "", { silent = true, remap = false }) vim.g.mapleader = " " vim.g.maplocalleader = " " local opts = { noremap=true } vim.keymap.set('n', 'f', function () vim.cmd('Telescope find_files') end, { remap = true }) vim.keymap.set('n', '/', function () vim.cmd('Telescope live_grep') end, { remap = true }) vim.keymap.set('n', 'b', function () vim.cmd('Telescope buffers') end, { remap = true }) vim.keymap.set('n', 'ge', 'G0', { remap = true }) vim.keymap.set('n', 'gh', '0', { remap = true }) vim.keymap.set('n', 'gl', '$', { remap = true }) vim.keymap.set('v', 'c', function () vim.cmd('\'<,\'>Commentary') end, { noremap = true, silent = true }) vim.keymap.set('n', 'c', function () vim.cmd('Commentary') end, { noremap = true, silent = true }) vim.keymap.set("n", "", "NvimTreeToggle", { silent = true })