From d9199fb664896839bc7a6fc7c7413addd8f63d9d Mon Sep 17 00:00:00 2001 From: Yodi aditya Date: Sat, 3 Sep 2011 20:16:01 +0700 Subject: [PATCH] updating messages --- .vim/bundle/javaScriptLint.vim | 1 - .vimrc | 10 +++++---- README.md | 38 ++++++++++++++++------------------ 3 files changed, 24 insertions(+), 25 deletions(-) delete mode 160000 .vim/bundle/javaScriptLint.vim diff --git a/.vim/bundle/javaScriptLint.vim b/.vim/bundle/javaScriptLint.vim deleted file mode 160000 index f499953..0000000 --- a/.vim/bundle/javaScriptLint.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f4999532c67f7cf5a5c13346aaf22ce818e35994 diff --git a/.vimrc b/.vimrc index 8f56b75..867e3ab 100644 --- a/.vimrc +++ b/.vimrc @@ -20,7 +20,6 @@ Bundle 'Conque-Shell' Bundle 'L9' Bundle 'cschlueter/vim-mustang' Bundle 'sukima/xmledit' -"Bundle 'vim-scripts/closetag.vim' Bundle 'mhz/vim-matchit.git' Bundle 'vim-scripts/tComment' Bundle 'Raimondi/delimitMate' @@ -34,7 +33,6 @@ Bundle 'vim-scripts/mru.vim' "Snipmate Bundle 'msanders/snipmate.vim' Bundle 'vim-scripts/snipmate-snippets' -"Bundle 'vim-scripts/AutoComplPop' because there is the creator refer to neocomplcache Bundle "Shougo/neocomplcache" " Python development @@ -51,7 +49,7 @@ Bundle 'godlygeek/tabular' Bundle 'jamescarr/snipmate-nodejs' Bundle 'wavded/vim-javascript' Bundle 'lunaru/vim-less' -Bundle 'joestelmach/javaScriptLint.vim' +"Bundle 'joestelmach/javaScriptLint.vim' " Syntax checking Bundle 'scrooloose/syntastic' @@ -115,7 +113,6 @@ filetype plugin indent on " required! """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Sets how many lines of history VIM has to remember set history=1000 -set undolevels=1000 " Ignore some file set wildignore=*.swp,*.bak,*.pyc,*.class @@ -213,6 +210,11 @@ set nobackup set nowb set noswapfile +set undodir=~/.vim/undodir +set undofile +set undolevels=1000 "maximum number of changes that can be undone +set undoreload=10000 "maximum number lines to save for undo on a buffer reload + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Moving around, tabs and buffers """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/README.md b/README.md index 4e3168c..7d47cb1 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ VIM-Netbeans ============= -We want use VIM as great as Netbeans for editing PHP, Phyton, JS, HTML, XML and many else filetype. +use VIM as great as Netbeans for editing PHP, Python, JS, HTML, XML and many else filetype. -Now this VIM-Netbeans supported with NodeJS, Stylus, Less and many CSS/Javascript engine, template, parser +This have several great feature : -This VIM bundled with many plugins, syntax and custom .vimrc configuration. +- Supported with NodeJS, Stylus, Less and many CSS/Javascript engine, template, parser +- Integrated with JavascriptLint for auto-checking syntax +- Have great Python checking and fast shortcut like `Shift - e` for execute current files +- Use Vundle for managing plugins +- `F8` for Browser files and Tags +- Check .vimrc to see many feature and goodies bag -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. +This VIM is inspired by many great developers that share their custom VIM configuration. Installing @@ -17,21 +21,21 @@ Installing Go to your Command / Terminal : +{% codeblock %} cd ~/ - -git clone git://github.com/yodiaditya/vim-netbeans.git vim-netbeans - +git clone https://github.com/yodiaditya/vim-netbeans.git cd vim-neatbeans - vim .vimrc +{% endcodeblock %} + When opening .vimrc, do ":BundleInstall" to install all package and exit by :wq. +{% codeblock %} rm -rf .vim/bundle/snipmate.vim/snippets - ln -s ~/vim-netbeans/.vim ~/.vim - ln -s ~/vim-netbeans/.vimrc ~/.vimrc +{% endcodeblock %} Change your TAB behaviour between PyDiction and Snipmate by follow this link : @@ -39,18 +43,16 @@ http://stackoverflow.com/questions/1687252/with-vim-use-both-snipmate-and-pydict But i prefer using CTRL+Space as Snipmate Completion. Here a how to make it : -vim .vim/bundle/snipmate.vim/after/plugin/snipMate.vim +`vim .vim/bundle/snipmate.vim/after/plugin/snipMate.vim` Edit start from line 15 : +{% codeblock %} "ino =TriggerSnippet() - "snor i=TriggerSnippet() - ino =TriggerSnippet() - snor i=TriggerSnippet() - +{% endcodeblock %} Dependencies @@ -68,9 +70,7 @@ A. Python Debugger like pyflakes, pylint and pep8 For installing Python debugger using PIP : `sudo pip install git+git://github.com/kevinw/pyflakes.git` - `sudo pip install pylint` - `sudo pip install pep8` Read .vimrc for magic keys and guide. @@ -93,9 +93,7 @@ Also add this into .vim/bundle/javaScriptLint.vim/plugin/javaScriptLint.vim : " set up commands - command! JavaScriptLintExec call JavascriptLint() - command! JavaScriptLintClear call s:ClearCursorLineColor()