" Meant to be installed like this: " C:\Windows\gvim.exe " C:\Windows\vimrc " Eg. no runtime is used, no registry modifications are made, just two files in a directory that's already in the path. " Vim is less functional than normal, but still more functional than most other editors. """"""""""""""""""""""""""""""" basic stuff """"""""""""""""""""""""""""" set nocompatible encoding=utf8 nobackup " sane defaults set ignorecase hlsearch incsearch " search settings set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent " tab and indent settings set ruler " display row/col syntax on command W w | command Q q " accomodate stuck-shift keys set modeline if &diff | syntax off | endif " disable syntax coloring when doing a diff """"""""""""""""""""""""""""""" useful stuff for gvim """""""""""""""""""""""""""""""""""""""" set clipboard=unnamed """"""""""""""""""""""""""""""" useful stuff under standalone mode """""""""""""""""""""""""""""""""""""""" set guioptions-=T " since we don't have the runtime files, remove the menu bar "... from mswin.vim in standard runtime " Alt-Space is System menu if has("gui") noremap :simalt ~ inoremap :simalt ~ cnoremap :simalt ~ endif