diff options
Diffstat (limited to 'vimrc.vim')
-rw-r--r-- | vimrc.vim | 10 |
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 |