aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/vim-startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vim-startup.sh')
-rwxr-xr-xscripts/vim-startup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vim-startup.sh b/scripts/vim-startup.sh
new file mode 100755
index 0000000..ebc74a5
--- /dev/null
+++ b/scripts/vim-startup.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+log="$(mktemp)"
+vim --startuptime "$log"
+sort -nr -k2 "$log" | head -n 30 > ./vim-startup.log