All Projects → ivalkeen → vim-ctrlp-tjump

ivalkeen / vim-ctrlp-tjump

Licence: other
CtrlP extension for fuzzy-search in tag matches (:tjump replacement).

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-ctrlp-tjump

Ctags Status
Atom Editor plugin that shows the class/function/scope name of the current line on the status bar.
Stars: ✭ 6 (-93.33%)
Mutual labels:  ctags
Neotags.nvim
Tag highlight in neovim
Stars: ✭ 124 (+37.78%)
Mutual labels:  ctags
ctagsx
VSCode ctags implementation that actually works
Stars: ✭ 24 (-73.33%)
Mutual labels:  ctags
Vim.ana
The portable Vim IDE with all the trimmings, one-click installable on any standard box.
Stars: ✭ 37 (-58.89%)
Mutual labels:  ctags
Leaderf
An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Stars: ✭ 1,733 (+1825.56%)
Mutual labels:  ctags
Vim Gutentags
A Vim plugin that manages your tag files
Stars: ✭ 1,977 (+2096.67%)
Mutual labels:  ctags
Phpcomplete.vim
Improved PHP omnicompletion
Stars: ✭ 582 (+546.67%)
Mutual labels:  ctags
so stupid search
It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一…
Stars: ✭ 135 (+50%)
Mutual labels:  ctags
Vscode Verilog Hdl Support
Verilog HDL/SystemVerilog/Bluespec SystemVerilog support for VS Code
Stars: ✭ 120 (+33.33%)
Mutual labels:  ctags
Starscope
Smart code search for Ruby, Go, and JavaScript
Stars: ✭ 248 (+175.56%)
Mutual labels:  ctags
Vista.vim
🌵 Viewer & Finder for LSP symbols and tags
Stars: ✭ 1,218 (+1253.33%)
Mutual labels:  ctags
Guard Ctags Bundler
Guard gem for generating ctags for project files and gems from project's bundle.
Stars: ✭ 104 (+15.56%)
Mutual labels:  ctags
Ctags Win32
Universal Ctags Win32 daily builds
Stars: ✭ 179 (+98.89%)
Mutual labels:  ctags
Unused
Deprecated; see https://github.com/unused-code/unused
Stars: ✭ 879 (+876.67%)
Mutual labels:  ctags
lh-tags
ctags base updating, and browsing from vim
Stars: ✭ 25 (-72.22%)
Mutual labels:  ctags
Gotags
ctags-compatible tag generator for Go
Stars: ✭ 789 (+776.67%)
Mutual labels:  ctags
Neo Mc
A Midnight Commander fork with scripting and other features.
Stars: ✭ 129 (+43.33%)
Mutual labels:  ctags
cmake4vim
Vim plugin for CMake projects
Stars: ✭ 89 (-1.11%)
Mutual labels:  ctrlp
citre
Ctags IDE on the True Editor
Stars: ✭ 230 (+155.56%)
Mutual labels:  ctags
D Scanner
Swiss-army knife for D source code
Stars: ✭ 221 (+145.56%)
Mutual labels:  ctags

CtrlP tjump

CtrlP extension for fuzzy-search in tag matches. May be used instead of :tjump or :tselect for IDE-like Goto declaration functionality, which jumps to the declaration in case of one match, and shows quick-search window in case of multiple matches.

Two vim commands are created by this plugin:

  • CtrlPtjump - go to declaration of the identifier supplied as an argument, if not use the word under cursor
  • CtrlPtjumpVisual - go to declaration of the visual selected text

CtrlP tjump

Prerequisites

  1. CtrlP should be installed
  2. Tags should already work with :tag, :tselect and :tjump commands. More information on that here.

Installation

  1. Use your favorite method (I prefer Vundle)

  2. (Optional) Create mapping

    nnoremap <c-]> :CtrlPtjump<cr>
    vnoremap <c-]> :CtrlPtjumpVisual<cr>
    

Basic Usage

  1. Move cursor to the Class/Method usage in your code
  2. Press c-] (if you have created mapping) or just execute :CtrlPtjump (or :CtrlPtjumpVisual in visual mode) in the command line.

Or provide the symbol as an argument:

:CtrlPtjump MyFavoriteClass

Configuration

It is possible to configure shortener for filenames, that will be displayed in CtrlP window. In the example below, RegExp '/home/.*/gems/' will be substituted by string '.../'. This may be useful if filename (with path) of generated tag is long and you want to make it shorter.

let g:ctrlp_tjump_shortener = ['/home/.*/gems/', '.../']

If there is only one tag found, it is possible to open it without opening CtrlP window:

let g:ctrlp_tjump_only_silent = 1

The tag name itself takes valuable screen estate and can be disabled by:

let g:ctrlp_tjump_skip_tag_name = 1

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Self-Promotion

If you like this project, please follow the repository on GitHub and vote for it on vim.org. Also, you might consider visiting my blog and following me on Twitter and Github.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].