From b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 20 Jun 2019 11:13:05 +0100 Subject: 44435: Handling digita arguments for :h and :t. Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ec20b4982..4603c62a3 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,12 @@ specify the order of completion matches. This affects the display of candidate matches and the order in which they are selected when cycling between them using menu completion. +The :h and :t modifiers in parameter expansion (if braces are present), +glob qualifiers and history expansion may take following decimal digit +arguments in order to keep that many leading or trailing path components +instead of the defaults of all but one (:h) and one (:t). In an absolute +path the leading '/' counts as one component. + Changes from 5.6.2 to 5.7.1 --------------------------- -- cgit 1.4.1