From baac168826bbd7a9595c62e3c102fe7708d12758 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 18 Jul 2023 14:33:15 +0800 Subject: [PATCH] feat: comments for kitty/alacritty, bump astronvim to v3.33.3 --- README.md | 3 --- flake.nix | 2 +- home/base/desktop/alacritty/default.nix | 19 +++++++++++++++++++ home/base/desktop/kitty.nix | 25 ++++++++++++++++++++++++- 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 28cffc22..1ebe5e2a 100644 --- a/README.md +++ b/README.md @@ -110,9 +110,6 @@ make aqua The commands above will build & deploy the configuration to `aquamarine`, the build process will be executed on `aquamarine` too, and the `--use-remote-sudo` option indicates that we will use `sudo` on the remote host. -## Other Tips - -1. alacritty - Multi-Window on macOS: `command + N` ## Other Interesting Dotfiles diff --git a/flake.nix b/flake.nix index 325d618b..6d7f26f6 100644 --- a/flake.nix +++ b/flake.nix @@ -73,7 +73,7 @@ agenix.url = "github:ryantm/agenix/0d8c5325fc81daf00532e3e26c6752f7bcde1143"; # AstroNvim is an aesthetic and feature-rich neovim config. - astronvim = { url = "github:AstroNvim/AstroNvim/v3.33.2"; flake = false; }; + astronvim = { url = "github:AstroNvim/AstroNvim/v3.33.3"; flake = false; }; # my private secrets, it's a private repository, you need to replace it with your own. # use ssh protocol to authenticate via ssh-agent/ssh-key, and shallow clone to save time diff --git a/home/base/desktop/alacritty/default.nix b/home/base/desktop/alacritty/default.nix index 812448da..a0f1566b 100644 --- a/home/base/desktop/alacritty/default.nix +++ b/home/base/desktop/alacritty/default.nix @@ -1,5 +1,24 @@ { pkgs, ... }: +########################################################### +# +# Alacritty Configuration +# +# Useful Hot Keys for macOS: +# 1. Multi-Window: `command + N` +# 2. Increase Font Size: `command + =` | `command + +` +# 3. Decrease Font Size: `command + -` | `command + _` +# 4. And Other common shortcuts such as Copy, Paste, Cursor Move, etc. +# +# Useful Hot Keys for Linux: +# 1. Increase Font Size: `ctrl + shift + =` | `ctrl + shift + +` +# 2. Decrease Font Size: `ctrl + shift + -` | `ctrl + shift + _` +# 3. And Other common shortcuts such as Copy, Paste, Cursor Move, etc. +# +# Note: Alacritty do not have support for Tabs, and any graphic protocol. +# +########################################################### + { programs.alacritty = { enable = true; diff --git a/home/base/desktop/kitty.nix b/home/base/desktop/kitty.nix index e95e9500..4b270c8c 100644 --- a/home/base/desktop/kitty.nix +++ b/home/base/desktop/kitty.nix @@ -1,4 +1,27 @@ -{ lib, pkgs, ... }: { +{ lib, pkgs, ... }: + +########################################################### +# +# Kitty Configuration +# +# Useful Hot Keys for macOS: +# 1. New Tab: `command + t` +# 2. Close Tab: `command + w` +# 3. Switch Tab: `shift + command + [` | `shift + command + ]` +# 4. Increase Font Size: `command + =` | `command + +` +# 5. Decrease Font Size: `command + -` | `command + _` +# 6. And Other common shortcuts such as Copy, Paste, Cursor Move, etc. +# +# Useful Hot Keys for Linux: +# 1. New Tab: `command + t` +# 2. Close Tab: `command + w` +# 3. Switch Tab: `shift + command + [` | `shift + command + ]` +# 4. Increase Font Size: `ctrl + shift + =` | `ctrl + shift + +` +# 5. Decrease Font Size: `ctrl + shift + -` | `ctrl + shift + _` +# 6. And Other common shortcuts such as Copy, Paste, Cursor Move, etc. +# +########################################################### +{ programs.kitty = { enable = true; theme = "Catppuccin-Mocha";