mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-05 22:53:48 +01:00
keybinds nixvim
This commit is contained in:
22
home.nix
22
home.nix
@@ -229,7 +229,7 @@ in {
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>cc";
|
||||
key = "<leader>cm";
|
||||
action = ":CompilerOpen<cr>";
|
||||
mode = [ "n" ];
|
||||
options = {
|
||||
@@ -239,24 +239,34 @@ in {
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>cC";
|
||||
key = "<leader>cc";
|
||||
action = ":CompilerStop<cr>:CompilerRedo<cr>";
|
||||
mode = [ "n" ];
|
||||
options = {
|
||||
options = {
|
||||
noremap = true;
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>ch";
|
||||
key = "<leader>ct";
|
||||
action = ":CompilerToggleResults<cr>";
|
||||
mode = [ "n" ];
|
||||
options = {
|
||||
options = {
|
||||
noremap = true;
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>y";
|
||||
action = "\"+y";
|
||||
mode = [ "n" "v" ];
|
||||
options = {
|
||||
noremap = true;
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
colorschemes.dracula = {
|
||||
@@ -665,7 +675,7 @@ in {
|
||||
enable = true;
|
||||
settings = {
|
||||
window = {
|
||||
width = 85;
|
||||
width = 92;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user