From 8337231b2333d18ba0e1cf9efaa33d2728a6d10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Fri, 15 May 2026 22:17:14 +0200 Subject: [PATCH] kakoune: prefer single qoutes when possible --- kakoune/.config/kak/kakrc | 46 +++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc index f731457..d2cad31 100644 --- a/kakoune/.config/kak/kakrc +++ b/kakoune/.config/kak/kakrc @@ -23,28 +23,28 @@ colorscheme %sh{ declare-user-mode file-mode declare-user-mode options-mode -map global -docstring "File" user 'f' ': enter-user-mode file-mode' -map global -docstring "Buffer" user ' ' ': b ' +map global -docstring 'File' user 'f' ': enter-user-mode file-mode' +map global -docstring 'Buffer' user ' ' ': b ' -map global -docstring "Open (git)" file-mode 'a' ': file-open-git' -map global -docstring "Git diff file" file-mode 'd' ': git diff %val{buffile}' -map global -docstring "Open (fd)" file-mode 'f' ': file-open' -map global -docstring "Open (recent)" file-mode 'r' ': file-open-recent' -map global -docstring "Git grep" file-mode 'g' ': git grep ' -map global -docstring "Open (nnn)" file-mode 'n' ': nnn-open %val{buffile}' -map global -docstring "Open (nnn)" file-mode 'N' ': nnn-open .' -map global -docstring "Open/create in dir" file-mode 'c' ': open-create-in-dir' +map global -docstring 'Open (git)' file-mode 'a' ': file-open-git' +map global -docstring 'Git diff file' file-mode 'd' ': git diff %val{buffile}' +map global -docstring 'Open (fd)' file-mode 'f' ': file-open' +map global -docstring 'Open (recent)' file-mode 'r' ': file-open-recent' +map global -docstring 'Git grep' file-mode 'g' ': git grep ' +map global -docstring 'Open (nnn)' file-mode 'n' ': nnn-open %val{buffile}' +map global -docstring 'Open (nnn)' file-mode 'N' ': nnn-open .' +map global -docstring 'Open/create in dir' file-mode 'c' ': open-create-in-dir' -map global -docstring "Options" user 'o' ': enter-user-mode options-mode' +map global -docstring 'Options' user 'o' ': enter-user-mode options-mode' -map global -docstring "LP Dark mode" options-mode 'd' ': colorscheme lp-dark' -map global -docstring "LP Light mode" options-mode 'l' ': colorscheme lp-light' -map global -docstring "Light mode" options-mode 'L' ': colorscheme one-light' -map global -docstring "Dark mode" options-mode 'D' ': colorscheme one-darker' +map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme lp-dark' +map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme lp-light' +map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light' +map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker' -map global -docstring "Paste clipboard (append)" user 'p' ' xsel -bo' -map global -docstring "Paste clipboard (insert)" user 'P' '! xsel -bo' -map global -docstring "Yank to clipboard" user 'y' ' xsel -bi' +map global -docstring 'Paste clipboard (append)' user 'p' ' xsel -bo' +map global -docstring 'Paste clipboard (insert)' user 'P' '! xsel -bo' +map global -docstring 'Yank to clipboard' user 'y' ' xsel -bi' define-command -override file-open %{ prompt -menu -shell-script-candidates %{ fd -t f } 'File: ' %{ edit -- %val{text} } @@ -69,7 +69,7 @@ define-command -override open-create-in-dir %{ # CHANGE STATUS BAR COLOR IN INSERT MODE hook global ModeChange push:.*:insert %{ - set-face window StatusLine "default,rgb:1c4a21" + set-face window StatusLine 'default,rgb:1c4a21' } hook global ModeChange pop:insert:.* %{ @@ -113,13 +113,13 @@ bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle # COLORSCHEME -bundle-theme kak-one "https://codeberg.org/raiguard/kak-one" +bundle-theme kak-one 'https://codeberg.org/raiguard/kak-one' -bundle-theme kakoune-themes "https://codeberg.org/anhsirk0/kakoune-themes" +bundle-theme kakoune-themes 'https://codeberg.org/anhsirk0/kakoune-themes' # FZF -bundle fzf.kak "https://github.com/andreyorst/fzf.kak" %{ +bundle fzf.kak 'https://github.com/andreyorst/fzf.kak' %{ map global -docstring 'FZF menu' user s ': fzf-mode' require-module fzf set-option global fzf_highlight_command "bat" @@ -150,7 +150,7 @@ bundle match 'https://github.com/kmafeni04/match.kak' %{ # HARPOON -bundle kak-harpoon "https://codeberg.org/raiguard/kak-harpoon" %{ +bundle kak-harpoon 'https://codeberg.org/raiguard/kak-harpoon' %{ harpoon-add-bindings }