From 41464ee2ca356a473aa4a9e3a615c47ced8424b5 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 5 May 2025 17:42:33 +0200 Subject: [PATCH] don't use wrapping by default --- kakrc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/kakrc b/kakrc index 5a4046f..5ab6a7d 100644 --- a/kakrc +++ b/kakrc @@ -70,8 +70,8 @@ hook global WinCreate [^*].* %{ # after first sync of the dotfiles, bundle needs to be installed manually, # in order to sync all other plugins with git" -source "%val{config}/bundle/plugins/kak-bundle/rc/kak-bundle.kak" -bundle kak-bundle https://codeberg.org/jdugan6240/kak-bundle +source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak" +bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle bundle kakoune-sudo-write https://github.com/occivink/kakoune-sudo-write bundle kakoune-find https://github.com/occivink/kakoune-find bundle kakoune-expand https://github.com/occivink/kakoune-expand @@ -200,10 +200,6 @@ set-face global StatusLineInfo blue,default,default set-face global StatusLineMode black,yellow,default set-face global StatusLineValue green,default,default - -# wrapping only word-wise -add-highlighter global/ wrap -word -indent - # trailing whitespaces in red add-highlighter global/trailing-whitespace regex '\h+$' 0:Error @@ -382,6 +378,8 @@ map global buffermode -docstring 'next buffer' n ': b map global buffermode -docstring 'previous buffer' p ': buffer-previous' map global buffermode -docstring 'wrap enable' w ': add-highlighter buffer/bw wrap' map global buffermode -docstring 'Wrap disable' W ': remove-highlighter buffer/bw' +map global buffermode -docstring 'Word-wrap enable' ': add-highlighter buffer/wordwrap wrap -word -indent' +map global buffermode -docstring 'Word-wrap disable' ': remove-highlighter buffer/wordwrap' # selection user mode # ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── -- 2.51.2