~parasrah/filelist.kak

2567e85787d198a9bbaacf1495708b63aca21c85 — Parasrah 2 years ago ad4cd48
switch to kakoune `breaking-cleanups` branch
1 files changed, 3 insertions(+), 3 deletions(-)

M rc/filelist.kak
M rc/filelist.kak => rc/filelist.kak +3 -3
@@ 90,7 90,7 @@ provide-module filelist %§
    define-command -hidden filelist-exec-line -params 1.. %{
        try %{
            try %{
                execute-keys '<a-x>s(?:[✗✓] )+<ret>d'
                execute-keys 'xs(?:[✗✓] )+<ret>d'
            }
            try %{
                execute-keys 'giGl'


@@ 194,11 194,11 @@ provide-module filelist %§
    define-command -hidden filelist-jump %{
        evaluate-commands %{
            try %{
                execute-keys '<a-x>s^([✗✓] )?([^\n]+):(\d+)<ret>'
                execute-keys 'xs^([✗✓] )?([^\n]+):(\d+)<ret>'
                set-option buffer filelist_current_line %val{cursor_line}
                evaluate-commands -try-client %opt{jumpclient} -verbatim -- edit -existing %reg{2} %reg{3}
            } catch %{
                execute-keys '<a-x>s^([✗✓] )?([^\n]+)<ret>'
                execute-keys 'xs^([✗✓] )?([^\n]+)<ret>'
                set-option buffer filelist_current_line %val{cursor_line}
                evaluate-commands -try-client %opt{jumpclient} -verbatim -- edit -existing %reg{2}
                try %{ focus %opt{jumpclient} }