about summary refs log tree commit diff stats
path: root/vimrc.vim
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 17:23:29 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 17:23:29 -0800
commit113bae7311b63e55e55160970718d19bfeeb56c3 (patch)
treed2468b58470e173329c7ef6e8da496c2f768b037 /vimrc.vim
parent1b050736eea04323e09e5e8e7499c33cee1899d0 (diff)
downloadmu-113bae7311b63e55e55160970718d19bfeeb56c3.tar.gz
5856
Diffstat (limited to 'vimrc.vim')
-rw-r--r--vimrc.vim10
1 files changed, 1 insertions, 9 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 0200e01c..c01ab5c5 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -44,15 +44,7 @@ else
 endif
 
 function! EditSubx(cmd, arg)
-  exec "silent! " . a:cmd . " " . SubxPath(a:arg)
-endfunction
-
-function! SubxPath(arg)
-  if a:arg =~ "^ex"
-    return "examples/" . a:arg . ".subx"
-  else
-    return "apps/" . a:arg . ".subx"
-  endif
+  exec "silent! " . a:cmd . " apps/" . a:arg . ".subx"
 endfunction
 
 " we often want to crib lines of machine code from other files