How to tag-jump in Objective Perl in Vim? -
nowadays i'm working objective perl using :: -> well.
however, vim doesn't recognise tag pre/appended ::.
is there way solve this?
ex) can jump when foo->foo() can't once bar::bar().
update: since don't have code sample demonstrates failure, i'm trying find things helpful. stated below, basic vim isn't going have functionality custom marking, plugins vim further. fritz mehner's perl-support.vim plugin has been around years , quite good:
http://www.vim.org/scripts/script.php?script_id=556
there new plugin valloric found here has lot of language support (but 1 haven't tried):
https://valloric.github.io/youcompleteme/
original post:
hmm, when coding more complicated in perl command line script or handful of lines in file, use emacs editor, not vim, because emacs has hooks debugger , quite frankly has better support complicated syntax. there's native perl support in emacs, better 1 in cperl-mode in emacs. that's going have lot of bells , whistles in , it's want.
i use vim basic editor, think coding in objective perl gets place it's not going robust you'd like.
to cperl-mode can add following lines in .emacs file:
;;; cperl-mode preferred perl-mode
;;; "brevity soul of wit"
(defalias 'perl-mode 'cperl-mode)
you can see more here @ emacswiki:
http://www.emacswiki.org/emacs/cperlmode
(what i'm trying here getting support in vim :: , -> syntax going require custom marking , isn't in vim basic. instead, there packages fritz mehner's perl-support.vim might helpful, really, vim isn't best editor @ point jump complicated syntax classes (packages). have add plugin or have find solution.)
Comments
Post a Comment