Is there a vim plugin for eclipse that allows me to reassign jj to Esc?

I am looking for an eclipse plugin that gives me basic vim commands.

I don’t expect much, but I'm so used to running jj that this feature is very important to me. "jj" should work like in vim: leave the insert mode, but do not insert any characters.

I am considering

  • viplugin
  • vrapper
  • viable
  • vimplugin
  • eclim

but did not find much information if it is possible to reassign something in ESC.

With viplugin, it is possible to do this, but when reassigning 'jj' it still inserts 'jj'. Eclim should support him, but he is probably heavy.

+4
source share
1 answer

You can customize vrapper behavior with the vimrc-like: ~/.vrapperrc . It works like the ~/.vimrc syntax, but you are pretty limited in what you can put there.

 inoremap jj <ESC> 

does exactly what you want, though, as in Vim.

+7
source

Source: https://habr.com/ru/post/1396577/


All Articles