diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:23:29 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:23:29 -0800 |
commit | 113bae7311b63e55e55160970718d19bfeeb56c3 (patch) | |
tree | d2468b58470e173329c7ef6e8da496c2f768b037 /vimrc.vim | |
parent | 1b050736eea04323e09e5e8e7499c33cee1899d0 (diff) | |
download | mu-113bae7311b63e55e55160970718d19bfeeb56c3.tar.gz |
5856
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 |