use new reg access syntax in rc files
This commit is contained in:
parent
0a976cd309
commit
b37f8f470a
|
@ -16,4 +16,4 @@ hook global WinSetOption filetype=grep %{
|
|||
|
||||
hook global WinSetOption filetype=(?!grep).* %{ rmhl grep-highlight; }
|
||||
|
||||
def gjump %{ exec 'xs^([^:]+):(\d+)<ret>'; edit %sh{ echo ${kak_reg_1} ${kak_reg_2} } }
|
||||
def gjump %{ exec 'xs^([^:]+):(\d+)<ret>'; edit %reg{1} %reg{2} }
|
||||
|
|
|
@ -16,4 +16,4 @@ hook global WinSetOption filetype=make %{
|
|||
|
||||
hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; }
|
||||
|
||||
def errjump %{ exec 'xs^([^:]+):(\d+)(?::(\d+))?:([^\n]+)\n<ret>'; %sh{ echo "edit ${kak_reg_1} ${kak_reg_2} ${kak_reg_3}; echo %{ ${kak_reg_4} }" } }
|
||||
def errjump %{ exec 'xs^([^:]+):(\d+)(?::(\d+))?:([^\n]+)\n<ret>'; edit %reg{1} %reg{2} %reg{3}; echo %reg{4}" }
|
||||
|
|
Loading…
Reference in New Issue
Block a user