From 90d726788aea58b7260e508e98929425306e20ac Mon Sep 17 00:00:00 2001 From: utensil Date: Sun, 20 Oct 2024 21:46:02 +0800 Subject: [PATCH] More kitty configurations --- justfile | 1 + kitty.conf | 4 ++++ kitty_session.conf | 6 ++++++ trees/uts-002F.tree | 2 ++ 4 files changed, 13 insertions(+) create mode 100644 kitty_session.conf diff --git a/justfile b/justfile index 522e962..4cdf659 100644 --- a/justfile +++ b/justfile @@ -88,6 +88,7 @@ prep-kitty: # https://sw.kovidgoyal.net/kitty/conf.html mkdir -p ~/.config/kitty cp -f kitty.conf ~/.config/kitty/kitty.conf + cp -f kitty_session.conf ~/.config/kitty/kitty_session.conf sync-nvim: #!/usr/bin/env bash diff --git a/kitty.conf b/kitty.conf index 5a0be23..84bdf53 100644 --- a/kitty.conf +++ b/kitty.conf @@ -4,3 +4,7 @@ italic_font auto bold_italic_font auto font_size 18.0 + +placement_strategy center + +startup_session kitty_session.conf diff --git a/kitty_session.conf b/kitty_session.conf new file mode 100644 index 0000000..e33ba59 --- /dev/null +++ b/kitty_session.conf @@ -0,0 +1,6 @@ +# Set the layout for the current tab +layout tall +# Set the working directory for windows in the current tab +cd ~/projects/forest +# Create a window and run the specified command in it +launch zsh diff --git a/trees/uts-002F.tree b/trees/uts-002F.tree index c22089d..117d499 100644 --- a/trees/uts-002F.tree +++ b/trees/uts-002F.tree @@ -23,6 +23,7 @@ Here are some useful keys that I like using in NeoVim, with [my LunarVim configu - my `` is the default: space - `+e` to toggle file explorer on the left - `+f` to fuzzy find files + - `+s+t` to grep text in files - `gd`: go to definition - ctrl+click also works, note that it's not cmd+click on mac - ``: go back, ``: go forward @@ -86,6 +87,7 @@ Here are some useful keys that I like using in NeoVim, with [my LunarVim configu - ✅ paste - ❌ typing - terminal + - `ctrl+backslash` to pop out a terminal without vim motions - `:term` to open a terminal with vim motions Recalled by [VSCode Vim ROADMAP](https://github.com/VSCodeVim/Vim/blob/HEAD/ROADMAP.md).