Monday, August 17, 2020

macro or plugin -- which one is faster?

Hi,

Some tasks in vim are easily added with the use of a plugin, but you can
also make a custom macro to to the same job. Making a macro has the
advantage of better learning the workings of vim, and maybe not having
the other functions a plugin has that I don't use. My feeling is that I
make vim 'heavier' when having too much plugins, but I don't know if
that is true.

I'd like to hear your experience and opinions on this!

The background is that I would like to have an easy way to add an empty
line above or below a paragraph when editing a text. Using '<shift>-o' or
'o' for this requires extra steps for leaving insert mode and going back
to where I was. The plugin 'unimpaired.vim' just does the job with
'[<space>', but has so many other things that I really don't need...

[https://vimtricks.com/p/vimtrick-add-a-line-above-or-below]

TIA

//meine

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200817102619.GA11359%40trackstand.

No comments: