Skip to content

Commit

Permalink
rearrange keys for windowing and fuzzy-finding
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 22, 2020
1 parent e457e8f commit 26364fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dotfiles/kakoune.nix
Expand Up @@ -217,12 +217,15 @@ in {
declare-user-mode window
map global user w ': enter-user-mode window<ret>' -docstring 'Windowing'
map global window v ': tmux-terminal-horizontal sh -c %{ kak -c $1 $(${
map global window <s-v> ': tmux-terminal-horizontal sh -c %{ kak -c $1 $(${
similar-sort-files-cmd "$2"
}) } -- %val{session} $val{bufname}<ret>' -docstring "vertical split with selection"
map global window s ': tmux-terminal-vertical sh -c %{ kak -c $1 $(${
map global window v ': tmux-terminal-horizontal sh -c %{ kak -c $1 } -- %val{session}'
map global window <s-s> ': tmux-terminal-vertical sh -c %{ kak -c $1 $(${
similar-sort-files-cmd "$2"
}) } -- %val{session} $val{bufname}<ret>' -docstring "horizontal split with selection"
map global window s ': tmux-terminal-vertical sh -c %{ kak -c $1 } -- %val{session}'
# escape with fd
hook global InsertChar d %{ try %{
Expand Down

0 comments on commit 26364fd

Please sign in to comment.