Skip to content

Commit

Permalink
helix
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Apr 19, 2024
1 parent e0f8d3f commit 5c87aed
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home-manager/personalities/cli/editor/default.nix
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ imports = [ ./nvim ]; }
{ imports = [ ./nvim ./helix ]; }
16 changes: 16 additions & 0 deletions home-manager/personalities/cli/editor/helix/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{inputs, pkgs, ...}:
{
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "catppuccin_mocha";
keys.normal = {
space.space = "file_picker";
space.w = ":w";
space.q = ":q";
esc = [ "collapse_selection" "keep_primary_selection" ];
};
};
};
}
2 changes: 1 addition & 1 deletion home-manager/personalities/cli/editor/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
programs.neovim = {
enable = true;
defaultEditor = true;
defaultEditor = false;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
Expand Down

0 comments on commit 5c87aed

Please sign in to comment.