ivalkeen / vim-ctrlp-tjump Goto Github PK
View Code? Open in Web Editor NEWCtrlP extension for fuzzy-search in tag matches (:tjump replacement).
CtrlP extension for fuzzy-search in tag matches (:tjump replacement).
Supposedly
" Skip selection window if only one match found
let g:ctrlp_tjump_only_silent = 0
should be moved from the autoload to the plugin folder to avoid the value set in .vimrc being overwritten.
https://www.tkalin.com/blog_posts/ide-like-go-to-declaration-in-vim/#disqus_thread
Check if it's possible to sort tags by priority and provide at least class name and maybe some additional info.
Doest it need to install package ctags first? Then vim-ctrlp-tjump should work?
For some tags, :1tag
differs from :tselect
1
. Thus, :CtrlPtjump
1
(that uses taglist()
which matches the output of tselect
) differs from tselect
1
and :CtrlPtjump
does not jump to the chosen tag.
This offset might be a Vim bug and happens over here for large TeX files, dunno if this issue is known in other cases as well.
Currently there is a separate option for that in vim-ctrlp-tjump
plugin. Consider removing it in favour of just respecting CtrlP's g:ctrlp_open_single_match
When I use the :CtrlPtjump command, the nice CtrlP window is displayed with the tag locations, but when I select one of them, the CtrlP window closes and then the default :tjump command apparently runs and displays the normal tags menu (where you select a tag by number). Do I need to disable some default behavior to prevent the second window from displaying?
Seems to jump straight to the declaration when there is only one match, but if there are more it shows CtrlP window with == NO ENTRIES ==
However if I use :tjump at the same position I get the old list of matches which I can jump to by entering the number.
My ctags file is generated by a git hook: https://github.com/greg0ire/git_template/blob/master/hooks/php/ctags/update-ctags
I've got VIM configured to restore last position in file (http://vim.wikia.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session) and whenever I jump I get warning that search reached the end of document and blah-blah-blah. It would be awesome if you either silent search command or just move to first line of file before it.
History is not maintained. Whenever I try to get back () like with usual tags I'm getting wrong buffer.
Error detected while processing function <SNR>141_AcceptSelection..ctrlp#tjump#accept..<SNR>169_open_tag:
line 1:
E687: Less targets than List items
line 2:
E121: Undefined variable: idx
E116: Invalid arguments for function feedkeys
tag files:
https://dl.dropboxusercontent.com/u/185589/tags.tar.bz2
file itself:
https://dl.dropboxusercontent.com/u/185589/Application.php
in detail:
go to line 225 of Application.php, then try to jump at detectWebEnvironment
error above is shown. I first didn't notice that its a next method, but managed to reproduce same error in similar situation (tag in same file, 2 tag files).
normally in ctrlp I can open a given file in a tab with ctrl-T. I'm not able to do that for some reason in this plugin.
When there's only one candidate, it would be better if CtrlPtjump
would just pick it instead of showing you the CtrlP dialog.
I've just encountered the problem similar to the issue #3 :
However, if I press the C-P for the CtrlP dialog there is no tjump mode.
If I go to some tag via C-] first, then tjump mode appears in CtrlP, but it only contains the tag I've opened via C-].
I can't open tags in vertical of split windows, or tabs, as I can open files in CtrlP. Can you fix this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.