diff --git a/ghostty/.config/ghostty/config b/ghostty/.config/ghostty/config new file mode 100644 index 0000000..a395fcc --- /dev/null +++ b/ghostty/.config/ghostty/config @@ -0,0 +1,59 @@ +# This is the configuration file for Ghostty. +# +# This template file has been automatically created at the following +# path since Ghostty couldn't find any existing config files on your system: +# +# /home/j/.config/ghostty/config +# +# The template does not set any default options, since Ghostty ships +# with sensible defaults for all options. Users should only need to set +# options that they want to change from the default. +# +# Run `ghostty +show-config --default --docs` to view a list of +# all available config options and their default values. +# +# Additionally, each config option is also explained in detail +# on Ghostty's website, at https://ghostty.org/docs/config. +# +# Ghostty can reload the configuration while running by using the menu +# options or the bound key (default: Command + Shift + comma on macOS and +# Control + Shift + comma on other platforms). Not all config options can be +# reloaded while running; some only apply to new windows and others may require +# a full restart to take effect. + +# Config syntax crash course +# ========================== +# # The config file consists of simple key-value pairs, +# # separated by equals signs. +font-family = Iosevka +# window-padding-x = 2 +# +# # Spacing around the equals sign does not matter. +# # All of these are identical: +# key=value +# key= value +# key =value +# key = value +# +# # Any line beginning with a # is a comment. It's not possible to put +# # a comment after a config option, since it would be interpreted as a +# # part of the value. For example, this will have a value of "#123abc": +# background = black +#123abc +# theme = Dark Modern +# theme = Soft Server +# theme = Zenwritten Dark +# theme = Operator Mono Dark +# theme = Monokai Remastered +# theme = Solarized Dark Patched +theme = 3024 Night +# +# # Empty values are used to reset config keys to default. +# key = +# +# # Some config options have unique syntaxes for their value, +# # which is explained in the docs for that config option. +# # Just for example: +# resize-overlay-duration = 4s 200ms + +keybind = ctrl+[=text:\x1b diff --git a/helix/.config/helix/config.toml b/helix/.config/helix/config.toml index eea50b6..87265c3 100644 --- a/helix/.config/helix/config.toml +++ b/helix/.config/helix/config.toml @@ -3,6 +3,7 @@ theme = "github_dark" [editor] line-number = "relative" mouse = false +auto-pairs = false [editor.cursor-shape] insert = "bar" diff --git a/home-manager/common.nix b/home-manager/common.nix index 2d5b786..796740b 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -29,7 +29,8 @@ pkgs.nerd-fonts.fira-code pkgs.nerd-fonts.monoid - wezterm + #wezterm + ghostty # Editors emacs @@ -210,5 +211,6 @@ "niri" = createDotLink "niri"; "jj" = createDotLink "jj"; "helix" = createDotLink "helix"; + "ghostty" = createDotLink "ghostty"; }; } diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index d7375ae..4d2f72d 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -424,7 +424,7 @@ binds { Mod+Shift+Slash { show-hotkey-overlay; } // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+return hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } + Mod+return hotkey-overlay-title="Open a Terminal: ghostty" { spawn "ghostty"; } Mod+space hotkey-overlay-title="Run an Application: wofi" { spawn "sh" "-c" "wofi --show dmenu,drun"; } Mod+Delete hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }