Apply filter option to substrings in blockwise-visual mode

This commit is contained in:
Junegunn Choi
2015-09-16 03:08:08 +09:00
parent 1206c65dcb
commit 98e0b493ac
2 changed files with 25 additions and 2 deletions

View File

@@ -1535,6 +1535,28 @@ Expect:
bbbbb=bbbbb=bbbbb
aaa = aaa = aaa
Given clojure (filter with blockwise-visual mode):
(let [a 1
bbb 2
ccccc (range
10 20)]
(prn [a bbb ccccc]))
Do (filter with blockwise-visual mode):
f[
vi[
\<C-V>
\<Enter>
\<C-F>g/^\S\<Enter>
\<Space>
Expect clojure:
(let [a 1
bbb 2
ccccc (range
10 20)]
(prn [a bbb ccccc]))
###########################################################
Given (hard-tab indentation (#19)):