diff options
Diffstat (limited to 'kak/kakrc')
| -rw-r--r-- | kak/kakrc | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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>' |
