summaryrefslogtreecommitdiff
path: root/kak/kakrc
diff options
context:
space:
mode:
Diffstat (limited to 'kak/kakrc')
-rw-r--r--kak/kakrc15
1 files changed, 13 insertions, 2 deletions
diff --git a/kak/kakrc b/kak/kakrc
index 83cf09e..ea515ff 100644
--- a/kak/kakrc
+++ b/kak/kakrc
@@ -19,6 +19,14 @@ hook global ModuleLoaded x11 %{
set global termcmd 'st -e sh -c'
}
+hook global ModuleLoaded wayland %{
+ set global termcmd 'foot -e sh -c'
+}
+
+hook global ModuleLoaded tmux %{
+ set global windowing_placement 'horizontal'
+}
+
hook global BufWritePre .* %{
jrk-trim-trailing-whitespace
}
@@ -47,8 +55,11 @@ define-command jrk-trim-trailing-whitespace %{
try %{ execute-keys -draft "%%s\h+$<ret>d" }
}
-map -docstring 'yank to system clipboard' global user y '<a-|>xclip -selection clipboard<ret>'
-map -docstring 'paste from system clipboard' global user p '<!>xclip -selection clipboard -o<ret>'
+# map -docstring 'yank to system clipboard' global user y '<a-|>xclip -selection clipboard<ret>'
+# map -docstring 'paste from system clipboard' global user p '<!>xclip -selection clipboard -o<ret>'
+
+map -docstring 'yank to system clipboard' global user y '<a-|>wl-copy<ret>'
+map -docstring 'paste from system clipboard' global user p '<!>wl-paste<ret>'
map -docstring 'goto next make error' global user [ '<:>make-next-error<ret>'
map -docstring 'goto previous make error' global user ] '<:>make-previous-error<ret>'