On 12/05/10 06:34, robert song wrote:
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
move your ? search into a function and call the function. See :help function-search-undo
Best regards, Tony. -- "Do you think what we're doing is wrong?" "Of course it's wrong! It's illegal!" "I've never done anything illegal before." "I thought you said you were an accountant!" -- 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
