Is it possible to use VI or VIM keymap in NetBeans? - vim

Vim is my favorite tool for programming in OSX, but my team mate all use NetBeans. Some of them use Eclipse Keymap. Any suggestion plug-in to enable VI command in NetBeans 6.5?
Related:
Does any IDE have a vi keybindings option?

Check jVi, a Vi emulator for NetBeans.
I've also found ViEx, the project seems to be pretty active...

jVi can be installed using the NetBeans plugin manager; from NB do
Menu>Tools>Plugins
Select the tab "Available Plugins", in search enter "jvi". First install "jVi for NB-xx Update Center", then you can install jVi.

Related

How can I use MacVim like gVim?

I'm trying to get a Mac Vim setup similar to my Windows gVim setup. I downloaded homebrew and installed Macvim with it, but when I run MacVim it comes up in a terminal and looks like regular Vim.
All I did in Windows was download gVim and I got some vimrc settings from a popular github repository so everything looks nicer and plugins were all set up for me. How can I achieve something similar with Mac?
I am relatively new to both Mac and Vim so help is appreciated.
MacVim comes with two executables: one is a regular windowed GUI application and the other is a command-line program. Both are bundled in the MacVim.app that you downloaded and installed in ~/Applications.
Double-clicking on the icon in the finder, clicking on the icon in the dock or choosing MacVim from the "Open with…" contextual menu should start the GUI.
Using someone else's setup is a very bad idea. Don't.

Lack of file explorer in Linux vim

In vim 7.3 on OSX, if I type
vim ~/myfiles
vim will put me into the Vim File Explorer for that directory, and I can open or rename files.
In vim 7.4 on Ubuntu, I get the unhelpful error message
"~/myfiles" is a directory
Looking through the compiled options (vim --version) and online documentation, I see no obvious way to activate this functionality through, say, a command-line or compile-time option. It is such a great feature of vim that I'm surprised it is not enabled on the version of vim available in the Linux package.
Use the :E command for the explorer mode.
The ability to edit a directory like this depends on a plugin. Most of the time, that plugin is the "netrw" plugin provided with Vim in the official runtime files. In Ubuntu (and Debian) you install that runtime separately so that every Vim package can use it rather than duplicating functionality. Try installing the vim-runtime package, and maybe a more feature-full Vim while you are at it, if you have not already done so.
To summarize and answer my own question...
File explorer functionality is actually provided by a plug-in, "netrw", which seems not to be installed by default in the two or three versions of vim I tried via apt-get.
Installing NERDTree solved the problem brilliantly - it can do so much more than the default explorer. I have not yet figured out how to rename a file using NERDTree - something that is easy with 'netrw', but that is a minor irritant and there is probably a way to do it.

Remove Gnome style from Eclipse Luna

I've installed Eclipse Luna on my Debian machine and recognized that Eclipse looked like all other Gnome applications.
I had Gnome installed, but I'm using KDE and don't like applications to look like Gnome.
I removed all gnome libraries, but Eclipse still looks the same. Is there any way to remove the Gnome theme from Eclipse?
it seems that there is no such a way to totally get rid of Gnome theme from Eclipse, but you can install some compatible tools to make KDE render appearance built on GTK, for example, gtk3-engines-oxygen and gtk2-engines-oxygen (Oxygen is your KDE desktop theme).
If you are using other themes, you can use the following command to search out the exact software name:
aptitude search gtk3-engines

Perl IDE over SSH

is there a Perl IDE / Editor that supports working on files remotely (via SSH)?
Currently I'm using the shell with vim & nano on the remote machine, and when working locally, I usually use Aptana Studio (Eclipse + EPIC).
p.s: I'm working under linux.
Thanks,
You could mount the remote file system with sshfs then work on it with any local IDE
I've been using Active State's Komodo Edit for the last few years. It's free, cross platform (linux, OSX, windows), can edit over scp or sftp and works well with perl. Active State also make the non-free Komodo IDE that is a more full featured IDE.
Komodo can also do vi emulation, which was a trifecta for me (perl/ssh/vi).
It's not an IDE in the click and drool sense, but Emacs + Tramp is what I use (and these days, Tramp is included with Emacs).
I use Geany via Putty + WinSCP

Problem Installing CommandT for Vim on Windows (can't find ruby.h)

I'm trying to install CommandT for Vim on Windows. My setup:
OS: Windows 7
Vim: Cream installation of Vim (Vim 7.3 plus ruby support)
Ruby: rubyinstaller-1.8.7-p334.exe
Ruby dev kit: DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe
I followed this guide http://rfbrazier.posterous.com/installing-the-command-t-vim-plugin-on-window, as well as the official CommandT installation screen cast. I've installed ruby and the dev kit successfully, and have verified the dev kit installation by installing the discount gem.
My problem is that when I try to generate the CommandT makefile, I get an error saying the script can't find ruby.h: "checking for ruby.h... no". No makefile, no CommandT :(
Any advice?
I had this problem too. Download http://rubyforge.org/frs/download.php/66888/devkit-3.4.5r3-20091110.7z and install it according to INSTALL.txt from this 7z-file
If you are using gVim 7.2 on windows and want a Command-T bundle with the extension already compiled, get from the same source I use in my vimfiles repository: https://github.com/carlosedp/vimfiles/tree/master/bundle

Resources