{ 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;}; } # paste over selected text without yanking it { mode = ["v"]; key = "p"; action = "\"_dP"; options = {noremap = true;}; } # resize window { mode = ["n"]; key = ""; action = ":vertical resize +1"; options = {noremap = true;}; } { mode = ["n"]; key = ""; action = ":vertical resize -1"; options = {noremap = true;}; } { mode = ["n"]; key = ""; action = ":resize -1"; options = {noremap = true;}; } { mode = ["n"]; key = ""; action = ": resize +1"; options = {noremap = true;}; } # indent line in or out { mode = ["v"]; key = "<"; action = "