From f5767c825fcd1f17c729530b3d4de490e40f7c43 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 4 Oct 2010 22:07:46 -0400 Subject: [PATCH 1/2] set executable on some scripts --- convert-to-wav.pl | 0 hilite | 0 repeat | 0 ssh_execute.pl | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 convert-to-wav.pl mode change 100644 => 100755 hilite mode change 100644 => 100755 repeat mode change 100644 => 100755 ssh_execute.pl diff --git a/convert-to-wav.pl b/convert-to-wav.pl old mode 100644 new mode 100755 diff --git a/hilite b/hilite old mode 100644 new mode 100755 diff --git a/repeat b/repeat old mode 100644 new mode 100755 diff --git a/ssh_execute.pl b/ssh_execute.pl old mode 100644 new mode 100755 From 304d5d5e551d585a0c2fbb37ad60ff6e04423170 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 17 Nov 2010 21:09:33 -0500 Subject: [PATCH 2/2] vimrc update --- vimrc | 63 +++++------------------------------------------------------ 1 file changed, 5 insertions(+), 58 deletions(-) diff --git a/vimrc b/vimrc index 81f6759..a5d3072 100644 --- a/vimrc +++ b/vimrc @@ -2,59 +2,6 @@ " This must be first, because it changes other options as a side effect. set nocompatible -if has("unix") - - if has("gui_running") -" colorscheme elflord - colorscheme ir_black - set lines=40 - endif - -else " Windows GUI settings - - source $VIMRUNTIME/vimrc_example.vim - source $VIMRUNTIME/mswin.vim - behave mswin - - set diffexpr=MyDiff() - function MyDiff() - let opt = '-a --binary ' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - let arg1 = v:fname_in - if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif - let arg2 = v:fname_new - if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif - let arg3 = v:fname_out - if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif - let eq = '' - if $VIMRUNTIME =~ ' ' - if &sh =~ '\ ' . arg3 . eq - endfunction - - " Josh's - if has("gui_running") - set lines=53 - set columns=85 - colorscheme ir_black - set guifont=Courier:h10 - map ,w :winpos 735 12 - map ,W :winpos 1436 46 - endif - set backupdir=C:\WINDOWS\Temp\vim - set directory=C:\WINDOWS\Temp\vim - -endif " has("unix") - " Only do this part when compiled with support for autocommands. if has("autocmd") @@ -87,7 +34,6 @@ else endif " has("autocmd") -"""" BELOW HERE CAN BE THE SAME IN _vimrc """" set ruler set expandtab set tabstop=4 @@ -98,7 +44,6 @@ set copyindent set cindent set backspace=indent,eol,start set mouse=a -set scrolloff=8 syntax on set hlsearch set showmatch @@ -107,16 +52,20 @@ set incsearch " GUI settings set background=dark set showtabline=2 +set nomousehide if has("gui_running") colorscheme ir_black runtime ftplugin/man.vim nmap K :Man - set lines=38 + set lines=40 map ,w :winpos 769 153 + set scrolloff=8 if &diff set columns=175 endif +else + set scrolloff=4 endif " mappings @@ -141,8 +90,6 @@ map ,L :highlight TooLong guibg=lightyellow :match TooLong '\%>80v.*.$' " flag more than 80 characters in a row as an error " 3match error '\%>80v.\+' -set nomousehide - if has("autocmd") autocmd FileType text setlocal noautoindent " autocmd FileType c match error /\v\s+$/