Don't resize urxvt to zero-size.
[profile.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index 812f103..24e05bc 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -605,20 +605,14 @@ syn enable
 
 " Set colours.
 if has("gui_running")
-  try
-    if has("win32")
-      se guifont=DejaVu_Sans_Mono:h10:cANSI
-    else
-      se guifont=DejaVu\ Sans\ Mono\ 10
-    endif
-  catch
-  endtry
+  if has("win32")
+    silent se guifont=DejaVu_Sans_Mono:h10:cANSI
+  else
+    silent se guifont=DejaVu\ Sans\ Mono\ 10
+  endif
 endif
 if has("gui_running") || &t_Co > 16
-  try
-    colo iain
-  catch
-  endtry
+  silent colo iain
 endif
 
 " Ignore whitespace when diffing.
@@ -1046,6 +1040,10 @@ se go+=e
 " Perforce.
 let g:p4EnableMenu=1
 let g:p4Presets='P4CONFIG'
+
+" BufExplorer.
+let g:bufExplorerShowRelativePath=1
+let g:bufExplorerSplitOutPathName=0
 endif "}}}1
 
 " Resize after startup.