All Projects → asenac → Vim Opengrok

asenac / Vim Opengrok

opengrok interface for vim

Labels

Projects that are alternatives of or similar to Vim Opengrok

Codeschool Vim Theme
codeschool vim theme
Stars: ✭ 32 (-13.51%)
Mutual labels:  viml
Davesdots
Stars: ✭ 34 (-8.11%)
Mutual labels:  viml
Svss.vim
SVSS's Vim Style Sheet
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Vim Fuzzysearch
Fuzzy pattern building, in any buffer
Stars: ✭ 33 (-10.81%)
Mutual labels:  viml
Hasksyn
A vim mode for Haskell
Stars: ✭ 34 (-8.11%)
Mutual labels:  viml
Vim Stylefmt
Format your stylesheets using stylefmt inside Vim
Stars: ✭ 35 (-5.41%)
Mutual labels:  viml
Vim Hl Var
Stars: ✭ 32 (-13.51%)
Mutual labels:  viml
Chapa.vim
VIM plugin to move (or visually select) the next/previous class, method or function
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Vim Smartusline
Vim plugin that changes the color of the statusbar of the focused window according with the current mode (normal/insert/replace)
Stars: ✭ 34 (-8.11%)
Mutual labels:  viml
Spink
Syntax highlighting for Xterm/gVim/MacVim.
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Cscope maps
cscope keyboard mappings for VIM
Stars: ✭ 33 (-10.81%)
Mutual labels:  viml
Ftcolor.vim
Switches colorschemes according to the file type.
Stars: ✭ 34 (-8.11%)
Mutual labels:  viml
Objective Vim
Quickly bootstrap vim for Objective-C hacking
Stars: ✭ 35 (-5.41%)
Mutual labels:  viml
Vim Readline
Readline bindings for Insert Mode
Stars: ✭ 33 (-10.81%)
Mutual labels:  viml
Vim Fontsize
Adjust Gvim font size via keypresses
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Vimix
Vimux with Elixir Mix Integration
Stars: ✭ 32 (-13.51%)
Mutual labels:  viml
Vim Blackboard
A port of the Blackboard theme from TextMate to Vim.
Stars: ✭ 34 (-8.11%)
Mutual labels:  viml
Snipmate
TextMate-style snippets for Vim
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Tmux.vim
Tmux vim syntax
Stars: ✭ 36 (-2.7%)
Mutual labels:  viml
Vim Iawriter
iA Writer vim colorscheme
Stars: ✭ 35 (-5.41%)
Mutual labels:  viml

vim-opengrok: opengrok interface for vim

Inspired by youngker/eopengrok.el

vim-opengrok screenshot

Installation

Plugin 'asenac/vim-opengrok'

Requeriments

Note: vim-opengrok uses opengrok's command line tools but it does not require to have opengrok's web application deployed.

Configuration

Add the following lines to your vimrc using the appropriate routes:

let g:opengrok_jar = '/path/to/opengrok/lib/opengrok.jar'
let g:opengrok_ctags = '/path/to/ctags'

vim-opengrok can use either a per-project index, created in a directory called .opengrok within the root directory of the project by using :OgIndex command, or an external index by defining g:opengrok_config_file variable pointing to the configuration.xml file. For example, for using the same index for both opengrok's web application and vim-opengrok, you might want to add the following to your vimrc file:

let g:opengrok_config_file = '/var/opengrok/etc/configuration.xml'

Note: vim-opengrok will fallback on g:opengrok_config_file variable if no index directory is found in the directory tree of the current working directory.

Commands

:OgIndex /path/to/index

Creates an index for the directory specified.

:OgReIndex

Updates the index that contains the current directory.

:OgSearch [f|d|r|p]

Searches in the index and displays the results in Vim's location list. A prompt is displayed to introduce the text to search. Supported queries:

  • d - Symbol Definitions

  • r - Symbol References

  • p - Path

  • f - Full text

    :OgSearchCWord

Searches word under the cursor and displays the results in Vim's location list.

:OgMode

Interactive queries displaying the results in a special buffer (see screenhost above).

Limitations

Currently vim-opengrok displays only the first chunk of results returned by opengrok.

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].