So I need to detect which List in current buffer. then bind Alt-n/p to them.
like this.
if (detect Location or QuickFix)
map <A-n> :cnext<CR>
map <A-n> :cprevious<CR>
elseif
map <A-n> :lnext<CR>
map <A-n> :lprevious<CR>
endif
--
stardiviner GPG: 5D9F64D8 Twitter: @numbchild
http://stardiviner.dyndns-blog.com/author.html
No comments:
Post a Comment