diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | scripts/vim-startup.sh | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,4 @@ /.vim/* !/.vim/my/ /.config/emacs +vim-startup.log 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 |
