开发者

Key Mapping for ViPlugin for Eclipse

开发者 https://www.devze.com 2023-01-05 07:52 出处:网络
I want to duplicate some of my Vi key mappings in the ViPlugin for Eclipse. Specifically, I use \"jj\" for the Esc key, which is done like this in my rc file:

I want to duplicate some of my Vi key mappings in the ViPlugin for Eclipse. Specifically, I use "jj" for the Esc key, which is done like this in my rc file:

map! jj <Esc>

The ViPlugin User Manual explains how to set up some rc file type of configurations. The example given is:

<?xml version="1.0"?>
<xml>
    <shiftwidth>4</shiftwidth>
    <vimcursor>true</vimcursor>
    <ignorecase>true</ignorecase&开发者_如何学Gogt;
    <expandtab>true</expandtab>
    <hlsearch>true</hlsearch>
    <incsearch>true</incsearch>
    <undolevels>1000</undolevels>
    <wordseparators>.,(,), ,TAB,ENTER,:,;,?,+,=,ANGLE_BRACKET_RIGHT,ANGLE_BRACKET_LEFT,*,{,},",|,COMMA,-,\,/,@,[,],},~,!,#,$,%,^,',`,´,AND</wordseparators>
</xml>

The User Manual also mentions about a handful of Eclipse Actions that the ViPlugin implements, which can be assigned Keybinding (for example, EraseBackOneWord and AddOneLevelOfIndentation), but that doesn't seem to be helpful here.


I believe what you trying to achieve isn't possible using the ViPlugin. It supports a limited set of rebindable actions which are accessible through the default eclipse key bindings menu.

0

精彩评论

暂无评论...
验证码 换一张
取 消