add core configuration
This commit is contained in:
parent
ad124505da
commit
c556ce55b6
94 changed files with 2816 additions and 959 deletions
32
home-manager/modules/neovim/keybinds.nix
Normal file
32
home-manager/modules/neovim/keybinds.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{...}: {
|
||||
programs.nixvim = {
|
||||
globals = {
|
||||
mapleader = " ";
|
||||
maplocalleader = " ";
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = ["n" "v"];
|
||||
key = "<SPACE>";
|
||||
action = "<NOP>";
|
||||
options.silent = true;
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<LEADER>,";
|
||||
action = "A,<ESC>";
|
||||
options.silent = true;
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<LEADER>sf";
|
||||
action.__raw = "require('telescope.builtin').find_files";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "[S]earch [F]iles";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue