exe for navigating xdebug traces:
:exe '/^.\{'.(col(".")-1).'\}-'. Before I use it, I must 0f- to ensure
that I am on the first dash of the line. I would like to map this all
to the ` key (I use ' for marks) but I seem to have trouble combining
the regular commands with the exe:
nmap 0f-:exe '/^.\{'.(col(".")-1).'\}-'
Obviously I am missing something, but all my googling turns up
nothing. What keywords should I be googling, or what part of the fine
manual should I be reading? Thanks.
[1] http://stackoverflow.com/questions/8402412/vim-navigating-xdebug-traces
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--
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:
Post a Comment