Skip to content

Commit

Permalink
Add files
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyho committed Jul 14, 2013
1 parent f2ee0ba commit 0d62edc
Show file tree
Hide file tree
Showing 1,951 changed files with 597,757 additions and 2 deletions.
7 changes: 7 additions & 0 deletions EditWithVim-tab.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\vim tabnew]
@="vim It Tab"

[HKEY_CLASSES_ROOT\*\Shell\vim tabnew\command]
@="\"D:\\software\\gVimPortable\\vim73\\gvim.exe\" -p --remote-tab-silent \"%1\" \"%*\""
7 changes: 7 additions & 0 deletions EditWithVim.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\edit with vim]
@="Edit with vim"

[HKEY_CLASSES_ROOT\*\Shell\edit with vim\command]
@="\"D:\\software\\gVimPortable\\vim73\\gvim.exe\" \"%1\""
27 changes: 25 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
VIM
Vim/Gvim
===

Vim[contain configuration files]:can used in both in windows and linux.
I found this vim package in[ Here](http://www.oschina.net/code/snippet_574132_13357 "OSChina") and I modify some of the configurations and Add two registry file to add two entry (`open in gvim tab` and `Open with gvim`) in Windows right click context menu.

----------

# For Windows: #
1. After clone the this repo, move this repo directory to where you want to place.
2. Add the path to system environment variable[path], if you want to using the ctags and cscope.
3. Modify the path string where store the gvim.exe in registry file `EditWithVim-tab.reg` and `EditWithVim.reg`. The default is `D:\\software\\gVimPortable\\vim73\\gvim.exe\`
4. Double click the registry files to merge them to system. As the registry file name imply, each of them will add a enty in right click context menu.

# For Linux #

1. Clone this repo.
2. Install the vim(or gvim) using the proper commands, for example in Ubuntu: `sudo apt-get install vim`
3. Install the cscope, ctags and taglist plugin.
4. Move the _vimrc file to you home directory, and rename it to .vimrc
5. Move the vimfiles directory to you home directory, and rename it to .vim
# For Cygwin #
These is no much different between cygwin and linux to use vim.

----------

----------

Loading

0 comments on commit 0d62edc

Please sign in to comment.