]> Freerunner's - dotfiles.git/commitdiff
kak: add custom window title with docs
authorAndre Ramnitz <tux.rising@gmail.com>
Sun, 11 Aug 2024 21:50:05 +0000 (23:50 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 19:05:38 +0000 (21:05 +0200)
config/kak/kakrc

index 1612caf6bb463f21e19f6d440c43dbf858ad56c0..e6aa37fd81170d754d12d926c31fdf397e4b6430 100644 (file)
@@ -1,5 +1,12 @@
-# 
+# begin
 # ──────────────────────────────────────────────────────────────────────────────
+# set global ui_options terminal_set_title=true
+# this is shit as hell and needs pull request #4265
+# its usage is only documented in #3829
+hook global WinCreate .* %{
+    set-option window ui_options "terminal_set_title=%val{bufname} - Kakoune"
+}
+
 def import -override -params 1 %{
     source %sh{echo ${kak_config}/$1.kak}
 }