about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-08-04 16:24:07 -0700
committerKartik Agaram <vc@akkartik.com>2018-08-04 16:24:07 -0700
commit9968eda49191e5d2095d00996d0212875bbc0fab (patch)
treed0220a3c4df762dd1dd3d0d2d6f2793abfb1cb7c
parent55b4627de1fcdd5f139994759d0929515204b6d8 (diff)
downloadmu-9968eda49191e5d2095d00996d0212875bbc0fab.tar.gz
4474
-rw-r--r--vimrc.vim9
1 files changed, 1 insertions, 8 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 2e11238b..8e2c9aeb 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -54,13 +54,6 @@ augroup END
 
 " assumes CWD is subx/
 command! -nargs=1 EE call EditSubx(<f-args>)
-
 function! EditSubx(arg)
-  " run commands silently because we may get an error loading EditSubx from a
-  " different directory.
-  if a:arg =~ "test.*"
-    exec "silent! vert split teensy/" . a:arg . "*.[cs]"
-  else
-    exec "silent! vert split " . a:arg . "*.subx"
-  endif
+  exec "silent! vert split " . a:arg . "*.subx"
 endfunction