aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2023-02-25 08:42:47 +0100
committerNicholas Rodrigues Lordello <[email protected]>2023-12-12 23:30:27 +0100
commit6960cba013188972f53a2b8b6f224f4f9f7d87ac (patch)
treefc54eab5e198fa86e7181f5d68b6077212a7e737
parent239b1a1d3209ab1ea10b3890fbc8f2b1031078bb (diff)
basic kakoune config
-rw-r--r--config/kak/kakrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/kak/kakrc b/config/kak/kakrc
new file mode 100644
index 0000000..c7ecbdf
--- /dev/null
+++ b/config/kak/kakrc
@@ -0,0 +1,11 @@
+set-option global tabstop 8
+set-option global indentwidth 0
+
+add-highlighter global/ number-lines -separator " " -hlcursor
+add-highlighter global/ regex \h+$ 0:Error
+
+map -docstring "yank selection to the clipboard" \
+ global user y "<a-|> pbcopy<ret>"
+
+map -docstring "paste clipboard" \
+ global user p "<a-!> pbpaste<ret>"