mirror of
https://github.com/nmasur/dotfiles
synced 2025-08-23 06:44:41 +00:00
Compare commits
4 Commits
d756b0d394
...
3fe4843032
Author | SHA1 | Date | |
---|---|---|---|
|
3fe4843032 | ||
|
6a36408416 | ||
|
25c7aec532 | ||
|
b87db529ae |
@@ -197,6 +197,14 @@ in
|
||||
|
||||
};
|
||||
|
||||
keys.insert = {
|
||||
# Allows not continuing the comment
|
||||
"A-ret" = [
|
||||
"insert_newline"
|
||||
"delete_word_backward"
|
||||
];
|
||||
};
|
||||
|
||||
editor = {
|
||||
|
||||
# Change cursors depending on the mode
|
||||
@@ -216,10 +224,10 @@ in
|
||||
|
||||
# Show hidden files
|
||||
file-picker = {
|
||||
hidden = false;
|
||||
git-ignore = true;
|
||||
git-global = true;
|
||||
git-exclude = true;
|
||||
hidden = false; # Show hidden files
|
||||
git-ignore = true; # Skip gitignore files
|
||||
git-global = true; # Skip global gitignore files
|
||||
git-exclude = true; # Skip excluded files
|
||||
};
|
||||
|
||||
# Show whitespace visible to the user
|
||||
|
@@ -214,9 +214,9 @@ in
|
||||
cfg.commands.lockScreen != null
|
||||
) "exec ${cfg.commands.lockScreen}";
|
||||
"${modifier}+Mod1+h" =
|
||||
''exec --no-startup-id ${lib.getExe cfg.terminal} --command sh -c "${pkgs.home-manager}/bin/home-manager switch --flake ${config.nmasur.presets.programs.dotfiles.path}#''${hostname} || read" '';
|
||||
''exec --no-startup-id ${lib.getExe cfg.terminal} --command="${pkgs.home-manager}/bin/home-manager switch --flake ${config.nmasur.presets.programs.dotfiles.path}#''${hostname} || read" '';
|
||||
"${modifier}+Mod1+r" =
|
||||
"exec --no-startup-id ${lib.getExe cfg.terminal} --command sh -c 'doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path} || read'";
|
||||
"exec --no-startup-id ${lib.getExe cfg.terminal} --command='doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path} || read'";
|
||||
|
||||
# Window options
|
||||
"${modifier}+q" = "kill";
|
||||
|
@@ -25,6 +25,7 @@ in
|
||||
pkgs.jless # JSON viewer
|
||||
pkgs.jo # JSON output
|
||||
pkgs.mpd # TUI slideshows
|
||||
pkgs.nixfmt-rfc-style # Format Nix code
|
||||
pkgs.nmasur.jqr # FZF fq JSON tool
|
||||
pkgs.nmasur.osc # Clipboard over SSH
|
||||
# pkgs.nmasur.ren-find # Rename files
|
||||
|
Reference in New Issue
Block a user