mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
Add support for mappings
This commit is contained in:
parent
7122ccd208
commit
0586bed5ad
7 changed files with 142 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue