blob: d4f3a59e38782af398d97d30162e499766f29877 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
source "%val{config}/plugins/plugrc.kak"
source "%val{config}/fzf.kak"
set global ui_options ncurses_set_title=false
declare-user-mode clip
map global -docstring 'clipboard' user 'y' ':enter-user-mode clip<ret>'
map global -docstring 'yank' clip 'y' '<a-|>xsel -bi<ret>'
map global -docstring 'paste' clip 'p' '<a-!>xsel -b<ret>'
map global -docstring 'paste before' clip 'P' '!xsel -b<ret>'
map global -docstring 'replace' clip 'R' '|xsel -b<ret>'
declare-user-mode find
map global -docstring 'find' user 'f' ':enter-user-mode find<ret>'
map global -docstring 'file' find 'f' ':fzf-edit<ret>'
declare-user-mode tmux
map global -docstring 'tmux' user 't' ':enter-user-mode tmux<ret>'
map global -docstring 'split' tmux 's' ':tmux-terminal-vertical kak -c %val{session}<ret>'
map global -docstring 'vsplit' tmux 'v' ':tmux-terminal-horizontal kak -c %val{session}<ret>'
|