I've been doing a lot of work in XQuery, where the convention is for variable and function names to be hyphenated:
let $this-is-some-variable := this:is-some-function()
...and to complete '$this-is-some-variable', I'd like to type '$th<C-p>, but by default that only completes to '$this'
On the other hand, I know I can do :set iskeyword+=- to make it complete all the way, but it has the side effect in that it
makes the basic word motion commands move a lot further than I want them to.
anyone know any way to achieve this?
--
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