clean_around_selections: select full lines before filtering
This commit is contained in:
parent
9c9d56abf7
commit
e621814a78
|
@ -35,8 +35,9 @@ addhl -group /fish/code regex %sh{ printf '\<(%s)\>' $(printf '\Q%s\\E|' $(fish
|
||||||
|
|
||||||
def -hidden _fish_clean_around_selections %{
|
def -hidden _fish_clean_around_selections %{
|
||||||
eval -draft -itersel %{
|
eval -draft -itersel %{
|
||||||
|
exec <a-x>
|
||||||
# trailing white spaces
|
# trailing white spaces
|
||||||
try %{ exec -draft <a-x> s \h+$ <ret> d }
|
try %{ exec -draft s \h+$ <ret> d }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user