From 113bae7311b63e55e55160970718d19bfeeb56c3 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 1 Jan 2020 17:23:29 -0800 Subject: 5856 --- vimrc.vim | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'vimrc.vim') 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 -- cgit 1.4.1-2-gfad0