This commit is contained in:
megit 2024-03-28 02:03:42 +08:00
commit f22207f3e2
16 changed files with 988 additions and 0 deletions

21
config/keymaps.nix Normal file
View file

@ -0,0 +1,21 @@
# The line beneath this is called `modeline`. See `:help modeline`
# vim: ts=4:sts=0:sw=0:tw=78:noet
{
keymaps = [
{
# vim.keymap.set({ "n", "v" }, "\\y", '"+y', {noremap=true, silent=true})
mode = [ "n" "v" ];
key = "\\y";
action = "\"+y";
options = {
silent = true;
remap = false;
};
}
];
extraConfigLua = ''
-- see ":help default-mapping"
-- vim.cmd[[unmap Y]]
vim.keymap.del( "n", "Y" )
'';
}