kakoune: prefer single qoutes when possible
This commit is contained in:
@@ -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<ret>'
|
||||
map global -docstring "Buffer" user ' ' ': b '
|
||||
map global -docstring 'File' user 'f' ': enter-user-mode file-mode<ret>'
|
||||
map global -docstring 'Buffer' user ' ' ': b '
|
||||
|
||||
map global -docstring "Open (git)" file-mode 'a' ': file-open-git<ret>'
|
||||
map global -docstring "Git diff file" file-mode 'd' ': git diff %val{buffile}<ret>'
|
||||
map global -docstring "Open (fd)" file-mode 'f' ': file-open<ret>'
|
||||
map global -docstring "Open (recent)" file-mode 'r' ': file-open-recent<ret>'
|
||||
map global -docstring "Git grep" file-mode 'g' ': git grep '
|
||||
map global -docstring "Open (nnn)" file-mode 'n' ': nnn-open %val{buffile}<ret>'
|
||||
map global -docstring "Open (nnn)" file-mode 'N' ': nnn-open .<ret>'
|
||||
map global -docstring "Open/create in dir" file-mode 'c' ': open-create-in-dir<ret>'
|
||||
map global -docstring 'Open (git)' file-mode 'a' ': file-open-git<ret>'
|
||||
map global -docstring 'Git diff file' file-mode 'd' ': git diff %val{buffile}<ret>'
|
||||
map global -docstring 'Open (fd)' file-mode 'f' ': file-open<ret>'
|
||||
map global -docstring 'Open (recent)' file-mode 'r' ': file-open-recent<ret>'
|
||||
map global -docstring 'Git grep' file-mode 'g' ': git grep '
|
||||
map global -docstring 'Open (nnn)' file-mode 'n' ': nnn-open %val{buffile}<ret>'
|
||||
map global -docstring 'Open (nnn)' file-mode 'N' ': nnn-open .<ret>'
|
||||
map global -docstring 'Open/create in dir' file-mode 'c' ': open-create-in-dir<ret>'
|
||||
|
||||
map global -docstring "Options" user 'o' ': enter-user-mode options-mode<ret>'
|
||||
map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
|
||||
|
||||
map global -docstring "LP Dark mode" options-mode 'd' ': colorscheme lp-dark<ret>'
|
||||
map global -docstring "LP Light mode" options-mode 'l' ': colorscheme lp-light<ret>'
|
||||
map global -docstring "Light mode" options-mode 'L' ': colorscheme one-light<ret>'
|
||||
map global -docstring "Dark mode" options-mode 'D' ': colorscheme one-darker<ret>'
|
||||
map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme lp-dark<ret>'
|
||||
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme lp-light<ret>'
|
||||
map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<ret>'
|
||||
map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
|
||||
|
||||
map global -docstring "Paste clipboard (append)" user 'p' '<a-!> xsel -bo<ret>'
|
||||
map global -docstring "Paste clipboard (insert)" user 'P' '! xsel -bo<ret>'
|
||||
map global -docstring "Yank to clipboard" user 'y' '<a-|> xsel -bi<ret>'
|
||||
map global -docstring 'Paste clipboard (append)' user 'p' '<a-!> xsel -bo<ret>'
|
||||
map global -docstring 'Paste clipboard (insert)' user 'P' '! xsel -bo<ret>'
|
||||
map global -docstring 'Yank to clipboard' user 'y' '<a-|> xsel -bi<ret>'
|
||||
|
||||
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<ret>'
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user