We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a406b6 commit f8c1510Copy full SHA for f8c1510
clj/bin/syntime
@@ -0,0 +1,22 @@
1
+#!/usr/bin/env bash
2
+#
3
+# Copyright (c) 2017 Sung Pae <[email protected]>
4
+# Distributed under the MIT license.
5
+# http://www.opensource.org/licenses/mit-license.php
6
+
7
+if (($# != 1)); then
8
+ echo "usage: $0 file.clj"
9
+ exit 1
10
+fi
11
12
+VIMRC="
13
+set runtimepath^=$(dirname "$0")/../..
14
+filetype plugin indent on
15
+syntax on
16
+syntime on
17
+"
18
19
+exec vim -N -u <(echo "$VIMRC") \
20
+ -c 'execute "redir > " . strftime("report-%Y-%m-%d-%H-%M-%S.log")' \
21
+ -c 'call feedkeys(repeat("j", line("$")-1) . ":silent syntime report | quit\<CR>")' \
22
+ "$1"
0 commit comments