Skip to content
Svein Arne Ackenhausen edited this page Feb 23, 2014 · 1 revision

Supported versions

Integration with vim is done through the NetBeans API so NetBeans support is required. As of now gvim is confirmed.

Configuring vim

In the EditorEngine plugins directory you will find vim.dll and the vim.executable and vim.parameters configuration files. You can either add the path to your gvim executable to the $PATH environment variable or configure vim.executable to point to gvim.

Keyboard shortcuts

Below is a sample for your vim startup settings:

Windows

map <C-S-j> :let x = system('oi set-to-foreground ContinuousTests "ContinuousTests Standalone Client"')<cr>
imap <C-S-j> <Esc>:let x = system('oi set-to-foreground ContinuousTests "ContinuousTests Standalone Client"')<cr>
map <C-S-t> :let x = system('oi gototype')<cr>
imap <C-S-t> <Esc>:let x = system('oi gototype')<cr>
map <C-S-e> :let x = system('oi explore')<cr>
imap <C-S-e> <Esc>:let x = system('oi explore')<cr>

Linux

map <C-S-t> :nbkey gototype<cr>
imap <C-S-t> <Esc>:nbkey gototype<cr>
map <C-S-j> :nbkey autotest.net setfocus<cr>
imap <C-S-j> <Esc>:nbkey autotest.net setfocus<cr>
map <C-S-e> :nbkey explore<cr>
imap <C-S-e> <Esc>:nbkey explore<cr>
imap <C-S-p> <Esc>:nbkey snippet-complete<cr>
map <C-S-p> :nbkey snippet-complete<cr>

Running OpenIDE with vim

To launch the editor run “oi editor vim”.

Clone this wiki locally