On Tue, 29 Jul 2003 at 08:46 -0600, Hans Fugal scribbled: > > Delete works but the backspace still doesn not work. Shall I post my > > _vimrc? > I say go ahead. Also try vim -U NONE -u NONE (don't source _gvimrc > either). Ok, I've attached my vimrc. I still can't figure out why backspace doesn't work. It just beeps at me! :-) -- Glen Wagley <[EMAIL PROTECTED]> :wq
"These are settings for the default vim/windoze behavior "set nocompatible "source $VIMRUNTIME/vimrc_example.vim "source $VIMRUNTIME/mswin.vim "behave mswin
"This is the vimrc file "taken from http://dev.wagdog.net/config_files/vimrc " vi options set autowrite set noerrorbells set report=1 set showmatch set showmode set shiftwidth=4 set tabstop=4 set warn set wrapscan " vim options set background="light" set nobackup "set backspace="indent,eol" set listchars=tab:\ \ ,trail:\ set cmdheight=2 set confirm set display="lastline" set history=50 set incsearch set nojoinspaces set linebreak set list set more set ruler set scrolljump=1 set scrolloff=5 set noshiftround set softtabstop=4 set nostartofline "set writebackup set ts=4 set sw=4 set expandtab set smarttab set smartindent set textwidth=80 set fo=tcrq filetype on let java_highlight_all=1 let java_highlight_java_lang_ids=1 let java_highlight_functions=1 let java_highlight_debug=1 let java_space_errors=1 highlight NonText ctermbg=lightgrey highlight SpecialKey ctermbg=lightgrey if !exists("autocommands_loaded") let autocommands_loaded = 1 au BufReadPost * if line("'\"") | exe "normal '\"" | endif endif " map to flip to the next buffer map <F2> :bnext<CR> map <F3> :bprevious<CR> " gvim set nocompatible " Make external commands work through a pipe instead of a pseudo-tty set noguipty set ch=2 " Make command line two lines high set guifont=Raize " Make shift-insert work like in Xterm map <S-Insert> <MiddleMouse> map! <S-Insert> <MiddleMouse> "various tlist stuff let Tlist_Ctags_Cmd = 'C:\ctags\ctags.exe' let JavaBrowser_Ctags_Cmd = 'C:\ctags\ctags.exe' nnoremap <silent> <F8> :JavaBrowser<CR> nnoremap <silent> <F4> :Tlist<CR> nnoremap <silent> <F5> :TlistSync<CR> let Tlist_UseSingleClick = 1 " tab completion!! " InsertTabWrapper " http://vim.sourceforge.net/tips/tip.php?tip_id=102 function! InsertTabWrapper(direction) let col = col('.') - 1 if !col || getline('.')[col - 1] !~ '\k' return "\<tab>" elseif "backward" == a:direction return "\<c-p>" else return "\<c-n>" endif endfunction inoremap <tab> <c-r>=InsertTabWrapper ("forward")<cr> inoremap <s-tab> <c-r>=InsertTabWrapper ("backward")<cr> " I like highlighting strings inside C comments let c_highlight_all=1 let c_comment_strings=1 let c_highlight_all=1 let ruby_highlight_all=1 " Switch on syntax highlighting if it wasn't on yet. if !exists("syntax_on") syntax on endif " Switch on search pattern highlighting. set hlsearch " I switch themes from time to time source $VIMRUNTIME/colors/nuvola.vim "This was inserted by the vim installer set diffexpr=MyDiff() function MyDiff() let opt = '' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif silent execute '!C:\Vim\vim62\diff -a ' . opt . '"' . v:fname_in . '" "' . v:fname_new . '" > "' . v:fname_out . '"' endfunction
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
