1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 20:41:49 +03:00

Update command names

This commit is contained in:
Alex Leferry 2 2017-06-16 13:53:03 +02:00
parent f9c48237a7
commit 585778057f
3 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ def lint-disable -docstring "Disable automatic diagnostics of the code" %{
remove-hooks window lint-diagnostics
}
def lint-next -docstring "Jump to the next line that contains an error" %{
def lint-next-error -docstring "Jump to the next line that contains an error" %{
update-option buffer lint_errors
%sh{
printf '%s\n' "$kak_opt_lint_errors" | sed -e 's/\([^\\]\):/\1\n/g' | tail -n +2 | {
@ -102,7 +102,7 @@ def lint-next -docstring "Jump to the next line that contains an error" %{
}
}}
def lint-prev -docstring "Jump to the previous line that contains an error" %{
def lint-previous-error -docstring "Jump to the previous line that contains an error" %{
update-option buffer lint_errors
%sh{
printf '%s\n' "$kak_opt_lint_errors" | sed -e 's/\([^\\]\):/\1\n/g' | tail -n +2 | sort -t. -k1,1 -rn | {

View File

@ -57,7 +57,7 @@ def -hidden grep-jump %{
}
}
def grep-next -docstring 'Jump to the next grep match' %{
def grep-next-match -docstring 'Jump to the next grep match' %{
eval -collapse-jumps -try-client %opt{jumpclient} %{
buffer '*grep*'
exec "%opt{grep_current_line}g<a-l>/^[^:]+:\d+:<ret>"
@ -66,7 +66,7 @@ def grep-next -docstring 'Jump to the next grep match' %{
try %{ eval -client %opt{toolsclient} %{ exec %opt{grep_current_line}g } }
}
def grep-prev -docstring 'Jump to the previous grep match' %{
def grep-previous-match -docstring 'Jump to the previous grep match' %{
eval -collapse-jumps -try-client %opt{jumpclient} %{
buffer '*grep*'
exec "%opt{grep_current_line}g<a-/>^[^:]+:\d+:<ret>"

View File

@ -62,7 +62,7 @@ def -hidden make-jump %{
}
}
def make-next -docstring 'Jump to the next make error' %{
def make-next-error -docstring 'Jump to the next make error' %{
eval -collapse-jumps -try-client %opt{jumpclient} %{
buffer '*make*'
exec "%opt{make_current_error_line}ggl" "/^(?:\w:)?[^:\n]+:\d+:(?:\d+:)?%opt{make_error_pattern}<ret>"
@ -71,7 +71,7 @@ def make-next -docstring 'Jump to the next make error' %{
try %{ eval -client %opt{toolsclient} %{ exec %opt{make_current_error_line}g } }
}
def make-prev -docstring 'Jump to the previous make error' %{
def make-previous-error -docstring 'Jump to the previous make error' %{
eval -collapse-jumps -try-client %opt{jumpclient} %{
buffer '*make*'
exec "%opt{make_current_error_line}g" "<a-/>^(?:\w:)?[^:\n]+:\d+:(?:\d+:)?%opt{make_error_pattern}<ret>"