How do I use the ‘|’ to separate multiple commands in a map?
You can escape the ‘|’ character using backslash (\) to use ‘|’ in a map.
:map _l :!ls \| more
You can also try the following command:
:map _l :!ls more
There are also other ways to do this.
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE