aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha/config/neovim/nixvim
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/mappings/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
index 20802e7c..f8937cbe 100644
--- a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
@@ -37,7 +37,7 @@
cmp.confirm()
end
'';
- lua = true;
+ lua = true;
desc = "confirm the selected item";
};
}
@@ -55,9 +55,10 @@
"<Left>" = "<Nop>";
"<Right>" = "<Nop>";
- # remap dvorak
- "l" = "n";
- "L" = "N";
+ # Center the cursor vertically when moving to the next word during a search.
+ "l" = "nzzzv";
+ "L" = "Nzzzv";
+ # remap the other keys to dvorak
"k" = "t";
"K" = "T";
"j" = "k";
@@ -108,10 +109,6 @@
"o" = "o<Esc>";
"O" = "O<Esc>";
- # Center the cursor vertically when moving to the next word during a search.
- "n" = "nzzzv";
- #"N" = "Nzzzv";
-
"<leader>p" = {
action = "\"_dP";
desc = "keep the cut thing in the base register";