{"id":26285,"date":"2020-01-30T12:58:02","date_gmt":"2020-01-30T17:58:02","guid":{"rendered":"https:\/\/www.dannyadam.com\/blog\/?p=26285"},"modified":"2023-07-20T10:57:50","modified_gmt":"2023-07-20T14:57:50","slug":"vim-startuptime-and-vim-win","status":"publish","type":"post","link":"https:\/\/www.dannyadam.com\/blog\/2020\/01\/vim-startuptime-and-vim-win\/","title":{"rendered":"vim-startuptime and vim-win"},"content":{"rendered":"\n<p>I recently implemented two <a href=\"https:\/\/en.wikipedia.org\/wiki\/Vim_(text_editor)\">Vim<\/a> plugins (they also work on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Neovim\">Neovim<\/a>).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>vim-startuptime<\/strong><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2020\/01\/vim-startuptime.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1600\" src=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2020\/01\/vim-startuptime.png\" alt=\"\" class=\"wp-image-26286\"\/><\/a><\/figure>\n\n\n\n<p><code>vim-startuptime<\/code> is a plugin for viewing Vim startup event timing\u2014reported in milliseconds. This can be helpful when trying to modify your configuration to improve Vim&#8217;s startup time.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Launch <code>vim-startuptime<\/code> with <code>:StartupTime<\/code>.<\/li><li>Press <code>&lt;space&gt;<\/code> on events to get additional information.<\/li><li>Press <code>&lt;enter&gt;<\/code> on sourcing events to load the corresponding file in a new split.<\/li><li>Access documentation with <code>:help vim-startuptime<\/code>.<\/li><\/ul>\n\n\n\n<p>The source code\u2014along with installation instructions\u2014is available on GitHub:<br><a href=\"https:\/\/github.com\/dstein64\/vim-startuptime\">https:\/\/github.com\/dstein64\/vim-startuptime<\/a><a href=\"https:\/\/github.com\/dstein64\/vim-startuptime\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\">vim-win<\/span><\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2020\/01\/vim-win.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1600\" src=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2020\/01\/vim-win.png\" alt=\"\" class=\"wp-image-26293\"\/><\/a><\/figure>\n\n\n\n<p><code>vim-win<\/code> is a plugin for managing windows, including 1) selecting windows, 2) swapping window buffers, and 3) resizing windows. Full functionality requires <code>vim&gt;=8.2<\/code> or <code>nvim&gt;=0.4.0<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Enter <code>vim-win<\/code> with <code>&lt;leader&gt;w<\/code> or <code>:Win<\/code>.<\/li><li>Arrows or <code>hjkl<\/code> keys are used for movement.<\/li><li>Change windows with movement keys or numbers.<\/li><li>Hold <code>&lt;shift&gt;<\/code> and use movement keys to resize the active window.<\/li><li>Press <code>s<\/code> or <code>S<\/code> followed by a movement key or window number, to swap buffers.<\/li><li>Press <code>?<\/code> to show a help message.<\/li><li>Press <code>&lt;esc&gt;<\/code> to leave <code>vim-win<\/code>.<\/li><li>Access documentation with <code>:help vim-win<\/code>.<\/li><\/ul>\n\n\n\n<p>The source code\u2014along with installation instructions\u2014is available on GitHub:<br><a href=\"https:\/\/github.com\/dstein64\/vim-win\">https:\/\/github.com\/dstein64\/vim-win<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently implemented two Vim plugins (they also work on Neovim). vim-startuptime vim-startuptime is a plugin for viewing Vim startup event timing\u2014reported in milliseconds. This can be helpful when trying to modify your configuration to improve Vim&#8217;s startup time. Launch vim-startuptime with :StartupTime. Press &lt;space&gt; on events to get additional information. Press &lt;enter&gt; on sourcing [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[59,81,79,78],"class_list":["post-26285","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-vim","tag-vim-plugin","tag-vim-startuptime","tag-vim-win"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1sCC6-6PX","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/26285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/comments?post=26285"}],"version-history":[{"count":17,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/26285\/revisions"}],"predecessor-version":[{"id":26931,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/26285\/revisions\/26931"}],"wp:attachment":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/media?parent=26285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/categories?post=26285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/tags?post=26285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}