exdict.vim is a plugin on vim for syntax highlight and vim's dictionary and inline api reference by special dictionary.
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
dict
plugin
README.md

README.md

exdict.vim

Description

exdict.vim is a plugin on vim for syntax highlight and competion by dictionary and show inline api reference by special dictionary. Support dictionary is as follows.

- c library
- win32api
- stl
- mfc
- posix
- Windows Kernel Api
- KMDF (Windows Driver Foundation)
- java (j2se6.0)
- php
- wpf

Requirements

exdict.vim is requires grep-program. please set &grepprg.

Usage

:LoadExdict [ms_c|win32_api|mfc|winddk|kmdf|j2se6|php|posix|wpf]{n}

###exdict completion###

  1. Load exdict (for example mfc)

    :Exdict mfc

  2. Press in input mode.

  3. Input keyword for narrow down. (for example input CString)

    input keyword:CString

  4. Select api from completion menu.

###Show Inline Api Reference:###

ex) printf

printf(
       ~~~~~~~~~~~~~~
             A
             |
             +-- input <c-down> at input mode or normal mode.

Settings

###Specify Key :### " sorry. it is not work now. let g:exdict#disable_default_keymap = 1 imap (exdict-next-i) imap (exdict-prev-i) nmap (exdict-next-n) nmap (exdict-prev-n) imap (exdict-omni-complete)

Default Keymaps

  • imap Show Next Inline Api Reference (input mode)
  • imap Show Previous Inline Api Reference (input mode)
  • nmap Show Next Inline Api Reference (normal mode)
  • nmap Show Previous Inline Api Reference (normal mode)
  • imap Api Completion

ScreenShots

###Dictionary###

ex) Input "Create" + <c-j>

sample1

###Syntax Highlight###

ex) Highlighting CreateEvent (it'a win32api)

sample2

###Inline Api Reference###

ex) Inline help of CreateEventA.

sample3

HISTORY

v1.0.0 by yuratomo

  • release version

v0.6.1 by yuratomo

  • modify command name. (LoadExdict -> Exdict)

v0.6.0 by yuratomo

  • add wpf php posix dictionary.
  • stop auto load by filetype.

v0.5.0 by yuratomo

  • Stop auto load dictionary.
  • Add :LoadExdict

v0.4.0 by yuratomo

  • Add g:exdict#disable_xxx
  • Delete :FindRef

v0.3.0 by yuratomo

  • support mfc
  • app :FindRef

v0.2.1 by yuratomo

  • Fix Extraction of the function name.
  • Change default keymap.

v0.2.0 by yuratomo

  • support java

v0.1.0 by yuratomo

  • first version