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