{ programs.nixvim.keymaps = [ # Switching buffers { mode = [ "n" ]; action = "h"; key = ""; options = { silent = true; }; } { mode = [ "n" ]; action = "j"; key = ""; options = { silent = true; }; } { mode = [ "n" ]; action = "k"; key = ""; options = { silent = true; }; } { mode = [ "n" ]; action = "l"; key = ""; options = { silent = true; }; } # Toggle nvim-tree { mode = [ "n" ]; action = "NvimTreeFindFileToggle"; key = "tt"; options = { silent = true; }; } # Clear search highlighting { mode = [ "n" ]; key = ""; action = "nohlsearch"; options = { noremap = true; }; } # Telescope Plugin { # find files mode = [ "n" ]; key = "ff"; action = "Telescope find_files"; options = { noremap = true; }; } { # live grep mode = [ "n" ]; key = "fg"; action = "Telescope live_grep"; options = { noremap = true; }; } { # buffers mode = [ "n" ]; key = "fb"; action = "Telescope buffers"; options = { noremap = true; }; } { # help tags mode = [ "n" ]; key = "fh"; action = "Telescope help_tags"; options = { noremap = true; }; } ]; }