Skip to content

Commit

Permalink
split with session instead of client PID
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 22, 2020
1 parent 579de2e commit e457e8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dotfiles/kakoune.nix
Expand Up @@ -216,13 +216,13 @@ in {
map global user s ':enter-user-mode surround<ret>' -docstring 'Surround'
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 $(${
similar-sort-files-cmd "$2"
}) } -- %val{client_pid} $val{bufname}<ret>' -docstring "vertical split with selection"
}) } -- %val{session} $val{bufname}<ret>' -docstring "vertical split with selection"
map global window s ': tmux-terminal-vertical sh -c %{ kak -c $1 $(${
similar-sort-files-cmd "$2"
}) } -- %val{client_pid} $val{bufname}<ret>' -docstring "horizontal split with selection"
map global user w ': enter-user-mode window<ret>' -docstring 'Windowing'
}) } -- %val{session} $val{bufname}<ret>' -docstring "horizontal split with selection"
# escape with fd
hook global InsertChar d %{ try %{
Expand Down

0 comments on commit e457e8f

Please sign in to comment.