Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Considering that jVi does not support .vimrc files, what alternatives do we have that do support .vimrc files? Specifically, I have many handy insert-mode mappings that I would prefer not to give up, such as this:

inoremap kk <Esc>A

Additionally, there are some mappings that I could live without, but I think that I will need real VIM for, such as this:

inoremap hh <c-o>?\%<c-r>=line('.')<Return>l\({}\\|\[]\\|<>\\|><\\|()\\|""\\|''\\|><lt>\)?s+1<Return>

Note: I know that the question of VIM keybindings in Netbeans / Eclipse / any IDE comes up often enough, but in this question I am not asking about VIM keybindings, but rather about .vimrc specifically, or better yet real VIM embedded in Netbeans. I have not seen this facet addressed in any other of the myriad of ostensibly-similar posts.

I have looked at Vi Vim for netbeans / ViEx, vim for netbeans, and others. Apparently VIM includes a socket interface for integration into an IDE which is interestingly enough called "netbeans". The help file for this feature lists a few projects, but is terribly out of date. The only project that still seems active from that file is PIDA but their website is down.

share|improve this question
    
It looks like you've nailed the question. What language do you use? What features do you need in netbeans? Did you consider using Eclipse instead of Netbeans? Eclim works quite well. –  romainl Aug 21 '12 at 13:28
    
I find Eclipse to be unacceptably slow, even with 4 GiB of RAM and a modern dual-core processor. Additionally, Eclipse has terrible support for remote file systems (FTP or SSH). Other than that, I do like Eclipse and have used it much more than Netbeans. For remote coding I'm almost exclusively in PHP / MySQL / HTML / Javascript. For local coding I'll do anything including PHP, Python, Java, and maybe some Mono / C#. My OS is Kubuntu Linux. –  dotancohen Aug 21 '12 at 14:06
5  
jVi has an option panel where you can add your own mappings. Here, your kk works as is but your hh doesn't. With some effort, you might be able to "port" most of your custom mappings. –  romainl Aug 21 '12 at 20:44
    
+1 for the mention of the socket interface. I didn't know about that. And also the hh mapping :) –  echristopherson Aug 21 '12 at 22:55
    
Thanks, Romainl, putting things in that configuration textarea helps. –  dotancohen Aug 22 '12 at 0:24

1 Answer 1

Is gVim sufficient for your purposes?

share|improve this answer
    
I am currently using VIM, but was hoping to get into an IDE. gVIM and VIM it will be until I can find an IDE that supports a real VIM experience. –  dotancohen May 7 '13 at 19:58
    
@dotancohen Only Vim provides a real Vim experience. –  mcandre May 8 '13 at 11:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.