Am 09.05.2019 um 20:20 schrieb Mathieu Roux:
> I have so many questions:
>
> 1) map <F4> :set isk+=#-<Bar>normal *<CR>
> Vim's help about "bar" does not allow me to understand what it means.
Relevant help sections are
:h :bar
:h <Bar>
The bar character `|' separates most Ex-commands. And to escape the
special meaning, there is a keycode form `<Bar>' for use in mappings.
> 2) "adjusts the last search pattern set by the star command `*'" ->
> what do you mean? * and F4 do different things, right?
Right, `F4' executes `*' and then modifies its result.
> 3) `\<#foo\>' -> why \< and \>... i really don't understand why you
> write it. I want just to find #foo...?
Because when searching for `#foo', you don't want to find `#foobar', right?
There is yet another command, see
:h g*
--
Andy
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5CD5932C.2050605%40yahoo.de.
For more options, visit https://groups.google.com/d/optout.
Friday, May 10, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment