PortableApps.com: http://portableapps.com/apps/development/gvim_portable
SourceForge.net: http://portablegvim.sourceforge.net/downloads.html
NOTE: Windows only
I took gVim Portable from PortableApps.com and trimmed it down to resemble the lightweight version from SourceForge, meaning "doc", "spell", "vimtutor" and a few other things were removed.
- Light version of gVim Portable
- renpy.vim in \Data\settings\vimfiles\syntax (thanks, Musashi)
- gVim.edit.py in root folder (orig. by Musashi; needs to be rewritten)
- _vimrc in \Data\settings (thanks, Casey):
Code: Select all
colorscheme murphy set guifont=Consolas:h11:cANSI set nobackup set nowritebackup set noswapfile set lines=40 set columns=100 set tabstop=4 set shiftwidth=4 set softtabstop=4 set autoindent set smarttab set expandtab filetype indent on filetype on filetype plugin on au BufRead,BufNewFile *.rpy setfiletype renpy set encoding=utf-8
- gVim.edit.py needs to be written to allow the Ren'Py launcher to run gVim Portable!*
Syntax highlighting in screen language is nonexistent; renpy.vim needs to be updated.**Better color scheme for renpy syntax, which looks iffy compared to python**It stays on the same indentation level whenever <ENTER> is hit.
** I am currently taking care of the syntax highlighting using renpy.xml from jEdit as a guide.
TIPS (to be posted in Cookbook release post; I'm just placing it here first):
- Extract gVimPortableLW-7.3.zip and place the folder in the Ren'Py root directory where Editra / jEdit is.
- Not for the faint of heart, though I'm sure you know that by now. I included The Vim Tutor in English as a text file available for download [here] (right click and save as).
- To set font in _vimrc (thanks, qqx):
- Start a graphical vim session.
- Type :e $MYVIMRC <ENTER>. This will open _vimrc.
- Use the graphical font selection dialog to select a font (Edit > Select Font...).
- Type :set guifont= <TAB> <ENTER>.
- Insert a line somewhere and type <CTRL> + <R> followed by <:>.