From d29ab1d35eb7356e1244d852f0516b44e202d847 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 27 May 2025 19:28:07 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-27 19:28:07 --- .config/kak/autoload/filetype.kak | 4 ++++ .config/kak/autoload/surround.kak | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.config/kak/autoload/filetype.kak b/.config/kak/autoload/filetype.kak index 90a26cba..de2b4e78 100644 --- a/.config/kak/autoload/filetype.kak +++ b/.config/kak/autoload/filetype.kak @@ -82,3 +82,7 @@ hook global WinSetOption filetype=mail %~ remove-hooks window mail-auto-format } ~ + +hook global BufCreate .*[.](conf) %{ + set-option buffer filetype ini +} diff --git a/.config/kak/autoload/surround.kak b/.config/kak/autoload/surround.kak index 2d6166f6..9ea57a24 100644 --- a/.config/kak/autoload/surround.kak +++ b/.config/kak/autoload/surround.kak @@ -102,4 +102,17 @@ map -docstring 'delete surrounding' global surround d ':surround-delete' map -docstring 'replace surrounding' global surround r ':surround-replace' map -docstring 'select inside object' global surround i '' map -docstring 'select around object' global surround a '' +map -docstring %{ + select to next sequence of matching characters +} global surround k ': execute-keys m' +map -docstring %{ + extend to next sequence of matching characters +} global surround K ': execute-keys M' +map -docstring %{ + select to prev sequence of matching characters +} global surround ': execute-keys ' +map -docstring %{ + extend to prev sequence of matching characters +} global surround ': execute-keys ' + ~