about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-30 16:39:27 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-30 16:39:27 -0800
commit14da19a27204f77ea65ad66fe3fba6a60225f035 (patch)
tree127206649dcea12792387d270ad1bd431579fb28
parent8bf0c436ecdbbbbf07a2221702d35b323cc27f9c (diff)
downloadmu-14da19a27204f77ea65ad66fe3fba6a60225f035.tar.gz
4806
Drop a wildcard in my edit shortcuts that's getting confused between apps/crenshaw2-1.subx
and apps/crenshaw2-1b.subx. We're pretty much always using the full filename
(excluding .subx extension) anyway.
-rw-r--r--vimrc.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 8bb5bbfe..1c85b643 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -72,9 +72,9 @@ endfunction
 
 function! SubxPath(arg)
   if a:arg =~ "^ex"
-    return "examples/" . a:arg . "*.subx"
+    return "examples/" . a:arg . ".subx"
   else
-    return "apps/" . a:arg . "*.subx"
+    return "apps/" . a:arg . ".subx"
   endif
 endfunction