huzzah, interix is fixed

This commit is contained in:
dave 2008-11-16 01:16:39 -06:00
parent d18fa49786
commit 560f72ca8f

17
vimrc
View file

@ -18,10 +18,10 @@ set nocompatible " Don't emulate vi's limitations
set encoding=utf-8 " Default encoding should always be UTF-8 set encoding=utf-8 " Default encoding should always be UTF-8
set tabstop=4 " 4 spaces for tabs set tabstop=4 " 4 spaces for tabs
set shiftwidth=4 " 4 spaces for indents set shiftwidth=4 " 4 spaces for indents
"set smarttab " Tab next line based on current line set smarttab " Tab next line based on current line
"set expandtab " Spaces for indentation "set expandtab " Spaces for indentation
"set autoindent " Automatically indent next line set autoindent " Automatically indent next line
"set smartindent " Indent next line based on current line set smartindent " Indent next line based on current line
"set linebreak " Display long lines wrapped at word boundaries "set linebreak " Display long lines wrapped at word boundaries
set incsearch " Enable incremental searching set incsearch " Enable incremental searching
set hlsearch " Highlight search matches set hlsearch " Highlight search matches
@ -280,12 +280,15 @@ imap <silent> <F12> <C-O>:silent set number!<CR>
" Don't force column 0 for # " Don't force column 0 for #
inoremap # X<BS># inoremap # X<BS>#
" Fix broken shit backspace on csil machines " Force <C-?> to be backspace except when in interix mode
" in tcsh with badly compiled vims " because interix uses that for forward delete...
" and always accept <C-h> as a backspace key
map <C-h> <BS> map <C-h> <BS>
map <C-?> <BS>
map! <C-h> <BS> map! <C-h> <BS>
map! <C-?> <BS> if (&term =~ "interix")
map <C-?> <BS>
map! <C-?> <BS>
endif
" Python specific stuff " Python specific stuff
if has('eval') if has('eval')