From ec47b2ed03e07b52ca598fea6e735456a049fcdf Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 20 May 2025 17:16:24 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-20 17:16:24 --- .config/kak/autoload/ui-mode.kak | 4 +++ README.md | 53 ++++++++++++++++++++++++-------- 2 files changed, 44 insertions(+), 13 deletions(-) diff --git a/.config/kak/autoload/ui-mode.kak b/.config/kak/autoload/ui-mode.kak index f1d2973c..af7c91ac 100644 --- a/.config/kak/autoload/ui-mode.kak +++ b/.config/kak/autoload/ui-mode.kak @@ -43,9 +43,13 @@ define-command autowrap-toggle -docstring "toggle autowrap" %{ if [ "$kak_opt_autowrap" = "true" ]; then echo "autowrap-disable" echo "set-option window autowrap false" + echo "info -title Autowrap 'Window autowrap disabled'" else echo "autowrap-enable" echo "set-option window autowrap true" + echo "info -title Autowrap 'Window autowrap enabled'" fi } } + +map -docstring 'toggle autowrap' global ui a ": autowrap-toggle" diff --git a/README.md b/README.md index 46f4a5e7..957a05c4 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ -# Daniel's Dotfiles +

Daniel's Dotfiles

My personal Linux dotfiles. I use Arch btw. -The root of this repo is equivalent to my $HOME directory. +The root of this repo is equivalent to my `$HOME` directory. + + + +- [This Repository](#this-repository) + - [Note On Keybindings](#note-on-keybindings) + + ## This Repository @@ -12,21 +19,41 @@ I use this repository to sync and backup my dotfiles. I use the excellent [yadm] to manage the repo, and [autoyadm](https://git.sr.ht/~ficd/autoyadm) to automate committing & pushing on a timer. +Therefore, these configs are: + +- Always up to date. +- But potentially broken on any given commit (due to incomplete configs being + pushed). + If you see a file with a weird name, like `config##hostname.dbox`, it's leveraging `yadm`'s alternate files feature; the program will automatically -symlink that file to its appropriate destination depending on which computer -it's on. +symlink the appropriate file to its destination depending on what comes after +the `##`. This is also how templates are handled (see [niri](./.config/niri)) +for an example of this. -This is done automatically on a timer. Therefore, these configs are: +### Note On Keybindings -- Always up-to-date. -- Potentially broken on any given commit. +I use Colemak-DH, which is a non-qwerty keyboard layout. Because I came up using +Vim, I'm used to `hjkl` for movement. However, on this layout, `mnei` occupies +the `hjkl` position. Thus, in most applications, I change the bindings so +they're more comfortable for me to use. Please keep this in mind when copying my +configs. -## Note On Keybindings +## Configuration Notes -A note on keybindings: I use Colemak-DH, which is a non-qwerty keyboard layout. -I use either `MNEI` or the arrow keys (which is a mod key + `MNEI` on my -keyboard) for navigation, depending on a few different factors. +### Kakoune -If `MNEI` conflicts with any defaults that would be far too finicky to remap, I -just use the arrow keys. Otherwise, I bind `MNEI` to navigation. +I've been configuring and enjoying Kakoune as my text editor lately. It's highly +personalized, so I don't recommend copying it, but feel free to peruse for +inspiration. + +### Helix + +I used Helix for quite a few months. I had implemented some cool functionality +using calls to external scripts; these may be of interest to you. + +### Niri + +I use Niri as my Window manager. I've written quite a few custom scripts that +work with Niri; you'll find references to them in the configuration, and the +code for most is available in my [utils collection](https://sr.ht/~ficd/utils).