Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Making your VIM like Netbeans for editing Python, PHP, HTML, JS and etc. It's support with Autocomplete, Check syntax error, Python debugger and many else.

tree: 69bd98e14c

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .vim
Octocat-spinner-32 .vimrc
Octocat-spinner-32 README.md
README.md

VIM-Netbeans

We want use VIM as great as Netbeans for editing PHP, Phyton, JS, HTML, XML and many else filetype.

Now this VIM-Netbeans supported with NodeJS, Stylus, Less and many CSS/Javascript engine, template, parser

This VIM bundled with many plugins, syntax and custom .vimrc configuration.

This VIM is inspired by many great developers that share their custom VIM configuration.

All TLDR; documentation located in .vimrc. You can read and follow link there to see related projects used.

Installing

Go to your Command / Terminal :

cd ~/

git clone git://github.com/yodiaditya/vim-netbeans.git vim-netbeans

cd vim-neatbeans

vim .vimrc

When opening .vimrc, do ":BundleInstall" to install all package and exit by :wq.

rm -rf .vim/bundle/snipmate.vim/snippets

ln -s ~/vim-netbeans/.vim ~/.vim

ln -s ~/vim-netbeans/.vimrc ~/.vimrc

Change your TAB behaviour between PyDiction and Snipmate by follow this link :

http://stackoverflow.com/questions/1687252/with-vim-use-both-snipmate-and-pydiction-together-share-the-tab-key

But i prefer using CTRL+Space as Snipmate Completion by :

vim .vim/bundle/snipmate.vim/after/plugin/snipMate.vim

Edit start from line 15 :

"ino =TriggerSnippet() "snor i=TriggerSnippet() ino =TriggerSnippet() snor i=TriggerSnippet()

Dependencies

After do installing, you should go to VIM and do :BundleInstall. I use Vundle here which i use pathogen in the past development.

I use nodejs-snipmate and snipmate snippets from honza. So delete /snipmate.vim/snippets for enabling this two snippets update.

Also, i install Python Debugger like pyflakes, pylint and pep8.

For installing Python debugger using PIP :

sudo pip install pylint sudo pip install pyflakes sudo pip install pep8

Read .vimrc for magic keys and guide.

Also you need Ctags. If you using Ubuntu, then can do this command :

sudo apt-get install exuberant-ctags

Usage

For using this custom VIM, here are some clue :

  1. Use Backspace as PageUp & Space as PageDown

  2. Use tab in insert mode for autocomplete for Python ( using PyDiction )

  3. Text Autocomplete every you type. Also you can use CTRL + Space for Omni Completion

  4. Move to another tab / buffer using CTRL+Arrow

  5. Using NERDTree by :NERDTree or editing .vimrc to enable NERDTree automatically.

  6. Using F7 for FuzzFinder in Full Path or t for open based on current Buffer

  7. Press F8 for enabling NERDTRee and Tagbar (Love it!)

Author

I'm using VIM and Netbeans for building many application on PHP, JS and Python

I have a lot of blog which contains many information. You can check here :

  1. http://yoodey.com for Drupal 7, EC2 and Ubuntu Tutorial

  2. http://cisight.com for Codeigniter, CakePHP and Optimization Tutorial

  3. http://wpscale.com for Wordpress Tutorial

  4. http://yodi.me for my Programming Insight

  5. http://re.web.id for Indonesian Python Programming Guide

Something went wrong with that request. Please try again.