Tuesday, May 11, 2010

question about [[

Hello, everyone.

[[ can't jump to the previous '{' if it's not in the first column.
So I added the following line to .vimrc from Help.
:map [[ ?{<CR>w99[{
:map ][ /}<CR>b99]}
:map ]] j0[[%/{<CR>
:map [] k$][%?}<CR>

But there is another problem,
If search for one symbol in the source code, and press the [[ to see
which function call the symbol, but then { will become the keyword.

Is there any way to keep the original keyword ?

Best Regards,
robert

--
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

No comments: