summaryrefslogtreecommitdiff
path: root/config/kak/kakrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-20 09:41:40 -0500
committerMarc Coquand <marc@mccd.space>2024-05-20 09:41:40 -0500
commit1e2fcbe20c72a87182dea115805738c3b20c4df5 (patch)
tree5717c4a3e1f0662d29525492d2e86fb83c2a5b24 /config/kak/kakrc
parent8737ef5af2c4fd6e1750d5113c4a7d79540909b8 (diff)
downloadrcm-1e2fcbe20c72a87182dea115805738c3b20c4df5.tar.gz
rcm-1e2fcbe20c72a87182dea115805738c3b20c4df5.tar.bz2
rcm-1e2fcbe20c72a87182dea115805738c3b20c4df5.zip
Kak: Updates
Diffstat (limited to 'config/kak/kakrc')
-rw-r--r--config/kak/kakrc11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/kak/kakrc b/config/kak/kakrc
index 72fd200..eca8dc5 100644
--- a/config/kak/kakrc
+++ b/config/kak/kakrc
@@ -38,7 +38,7 @@ lsp-enable
set-option global grepcmd 'rg --column'
# --- Line number
-add-highlighter global/ number-lines
+#add-highlighter global/ number-lines
# --- COMMANDS
define-command fd -docstring "find files" -params 1 %{ edit %arg{1} }
@@ -90,9 +90,12 @@ declare-surrounding-pair 'double quotation' \" \" \"
declare-surrounding-pair 'angle block' a <lt> <gt>
map -docstring 'enter surround mode' global user c ': enter-user-mode surround<ret>'
-set-option -add global ui_options terminal_padding_char=.
+set-option -add global ui_options terminal_padding_char=‏‏‎ 
set-option -add global ui_options terminal_assistant=off
+set-option global autocomplete prompt
+set-option global autoinfo onkey
+
# --- Git
hook global WinCreate .* %{git show-diff}
@@ -134,10 +137,10 @@ set-option global indentwidth 2
hook global WinCreate .* %{ expandtab }
# Enable spelling for markdown
-hook global WinCreate filetype=(markdown) %{ spell }
+hook global WinCreate filetype=(markdown|.org) %{ spell }
# Wrap for org and markdown
-hook global WinCreate filetype=(markdown|org) %{ autowrap-enable }
+hook global WinCreate filetype=(markdown|.org) %{ autowrap-enable }
# Softwrap long lines
add-highlighter global/ wrap -word -indent