Add support for mappings

This commit is contained in:
Pedro Alves 2021-01-05 16:11:56 +00:00
parent 7122ccd208
commit 0586bed5ad
7 changed files with 142 additions and 14 deletions

View file

@ -10,7 +10,7 @@
# Equivalent to nnoremap ; :
";" = ":";
# Equivalent to nmap <silent> <buffer> <leader>gg <cmd>Man<CR>
"<leader>gg" = { silent = true; buffer = true; remap = false; action = "<cmd>Man<CR>"
"<leader>gg" = { silent = true; remap = false; action = "<cmd>Man<CR>"
# Etc...
};
@ -25,12 +25,12 @@
options = {
tabstop = 4;
shiftwidth = 4;
noexpandtab = true;
expandtab = false;
mouse = "a";
# etc...
}
};
# Of course, we can still use comfy vimscript:
extraConfigVim = builtins.readFile ./init.vim;