delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_18,J_CHICKENPOX_23,J_CHICKENPOX_35,J_CHICKENPOX_38,J_CHICKENPOX_51,J_CHICKENPOX_74,J_CHICKENPOX_92,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A493C66.2030907@tlinx.org> |
Date: | Mon, 29 Jun 2009 15:12:54 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird 2.0.0.22 (Windows/20090605) |
MIME-Version: | 1.0 |
To: | "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
CC: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | Re: gvim crashes immediately |
References: | <24228254 DOT post AT talk DOT nabble DOT com> <4A485B43 DOT 3020208 AT tlinx DOT org> <0105D5C1E0353146B1B222348B0411A201C30CE30A AT NIHMLBX02 DOT nih DOT gov> |
In-Reply-To: | <0105D5C1E0353146B1B222348B0411A201C30CE30A@NIHMLBX02.nih.gov> |
X-Stationery: | 0.4.9 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------030207090209070501060308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Buchbinder, Barry (NIH/NIAID) [E] wrote: > Linda Walsh sent the following at Monday, June 29, 2009 2:12 AM >> Any reason not to run the Win32-Gvim native client > Linda (or anyone who has an answer): > Do you have any suggestions for commands that should be put in _vimrc > so using cygwin is transparent? I am especially concerned with things > needed to execute commands (i.e., with "!"). > Thanks for your advice. I've wanted to ask that for a long time. --- I'll include my .vimrc and .gvimrc, but the really aren't anything special. --------------030207090209070501060308 Content-Type: text/plain; name=".vimrc" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=".vimrc" " " usr.skeleton .vimrc usr.wheel 644 " vim script derived from <vim-distro>:vimrc_example.vim " set cpoptions-=B set cpoptions+=Z+ if v:progname =~? "evim" finish endif set backspace=indent,eol,start set history=50 set ruler set showcmd set incsearch " do incremental searching if &t_Co > 2 || has("gui_running") "highlight if > 2 colors or GUI syntax on " set hlsearch " Also switch on highlighting the last used search pattern. endif if has("autocmd") filetype plugin indent on autocmd FileType * setlocal textwidth=0 " Put these in an autocmd group, so that we can delete them easily. augroup vimrcEx au! " uncomment next to autowrap at 76 for all text files(a pain coding) autocmd FileType text setlocal textwidth=76 autocmd BufReadPost * "Reposition file to last position \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif augroup END endif "highlight Comment ctermfg=Gray "highlight Constant ctermfg=Gray set autowrite set backup set backupdir=./.backups,~/.backups,/tmp set backupext=.bak set encoding=utf-8 set fo=2tcql set incsearch set keymap=accents set patchmode=.orig " keep original copies of all files set showmatch set ignorecase set smartcase set smartindent set sw=4 set tm=100 "10ms for timeous on multikeycodes set tabstop=4 set ttyfast syntax on colo ron " vim -b : edit binary using xxd-format! augroup Binary au! au BufReadPre *.bin let &bin=1 au BufReadPost *.bin if &bin | %!xxd au BufReadPost *.bin set ft=xxd | endif au BufWritePre *.bin if &bin | %!xxd -r au BufWritePre *.bin endif au BufWritePost *.bin if &bin | %!xxd au BufWritePost *.bin set nomod | endif augroup END "set spellsuggest=double "set spelllang=en,en_us,fr "spell on "spellfile <spf filename> "setlocal spell spelllang=en "zw = comment out mistakes in spellfile "let g:spell_clean_limit (in seconds) = 60 * 60 to ignore last hour "comments " " share clipboard with windows: set clipboard+=unnamed au BufRead,BufNewFile *.txt setfiletype txtfile --------------030207090209070501060308 Content-Type: text/plain; name=".gvimrc" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=".gvimrc" "so $VIMRUNTIME/mswin.vim set guifont=Lucida_console:h9.5 set lines=42 set keymap=accents set encoding=utf-8 set shiftwidth=4 set guioptions+=A set guioptions-=t "set guioptions=egmrLtT=default, adding A set guioptions=AegmrLt color linda --------------030207090209070501060308 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------030207090209070501060308--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |