8 lines
221 B
Fish
8 lines
221 B
Fish
|
function nvim_profile
|
||
|
if test -e /tmp/nvim_profile.profile
|
||
|
rm /tmp/nvim_profile.profile
|
||
|
end
|
||
|
nvim --startuptime /tmp/nvim_profile.profile +q
|
||
|
tail -1 /tmp/nvim_profile.profile | awk '{print $1}'
|
||
|
end
|