Fix
This commit is contained in:
parent
637accfc1c
commit
950e1cfcf2
1
home/nvim/comment.nix
Normal file
1
home/nvim/comment.nix
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ programs.nixvim.plugins.comment = { enable = true; }; }
|
@ -19,6 +19,9 @@
|
|||||||
./whichkey.nix
|
./whichkey.nix
|
||||||
./alpha.nix
|
./alpha.nix
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
|
./comment.nix
|
||||||
|
./oil.nix
|
||||||
|
./trouble.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
|
@ -34,6 +34,33 @@
|
|||||||
action = "<cmd>ObsidianPasteImg<cr>";
|
action = "<cmd>ObsidianPasteImg<cr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
key = "<leader>E";
|
||||||
|
action = "<cmd>Oil<cr>";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
key = "<leader>t";
|
||||||
|
action = "<cmd>TroubleToggle<cr>";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
key = "<C-h>";
|
||||||
|
action = "<C-w>h";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-j>";
|
||||||
|
action = "<C-w>j";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-k>";
|
||||||
|
action = "<C-w>k";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-l>";
|
||||||
|
action = "<C-w>l";
|
||||||
|
}
|
||||||
|
|
||||||
# Terminal Mappings
|
# Terminal Mappings
|
||||||
{
|
{
|
||||||
mode = "t";
|
mode = "t";
|
||||||
|
1
home/nvim/oil.nix
Normal file
1
home/nvim/oil.nix
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ programs.nixvim.plugins.oil = { enable = true; }; }
|
1
home/nvim/trouble.nix
Normal file
1
home/nvim/trouble.nix
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ programs.nixvim.plugins.trouble = { enable = true; }; }
|
@ -48,7 +48,7 @@ let
|
|||||||
|
|
||||||
nextcloud-watch &
|
nextcloud-watch &
|
||||||
battery-notif &
|
battery-notif &
|
||||||
waybar &
|
${pkgs.waybar}/bin/waybar &
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
dates = "04:00";
|
dates = "04:00";
|
||||||
flake = "${config.users.users.hadi.home}/.config/nixos"; # CHANGEME
|
flake = "${config.users.users.hadi.home}/.config/nixos"; # CHANGEME
|
||||||
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
|
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
|
||||||
allowReboot = true;
|
allowReboot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
Loading…
Reference in New Issue
Block a user