Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [filter]

The tag has no usage guidance.

1
vote
0answers
23 views

Using ! (filter command) just to see the terminal behind vim

I recently started a transition from vim to neovim and one of the things that I noticed that changed is that typing :! doesn't do anything in neovim but in vim it displays the content of the terminal ...
1
vote
2answers
54 views

What is “!!” filter used for?

can anyone give me an example of how !! works? The documentation says: !!{filter} Filter [count] lines through the external program {filter}.
0
votes
2answers
114 views

Move/filter to next *blank* line

I'm trying to do two things involving blank lines (empty lines or lines with only white-space on them). Move to the next blank line (or EOF if none) Filter (using !) to the next blank line (or EOF if ...
1
vote
1answer
50 views

How can I determine if *any* window in the current tabpage is in diff-mode?

So, I found this useful answer about iterating buffers; but due to the tabpage-specific duality of windows in Vim, I failed at adapting it to my needs. Thus: how can I construct a boolean expression, ...
1
vote
1answer
51 views

What filters are available?

The help entry for filter explains what the idea is and gives some examples of filters like sort and indent, but does not list the possibilities. How can I find out all the possible filters?
1
vote
2answers
502 views

Filter dict items using list of keys

Give the following dictionary: let mydict = {'foo': {'a': 1, 'b': 2}, 'bar': {'c': 3, 'd': 4}} And a list of keys: let myfilter = ['foo', 'asdf'] How would one do a concise "left outer join (if ...