Friday, June 25, 2021

Re: Txtfmt

On Thu, Jun 24, 2021 at 09:50:51PM +0200, Julius Hamilton wrote:
> Hey,
>
> I am trying to get up and running with this highlighting plug in:
> https://github.com/bpstahlman/txtfmt/blob/master/README.md.
>
> Its a bit complicated and I was wondering if someone could please walk me
> through the basic steps of installation and use.

The most crude and straightforward way of installing a plugin is just by
dropping the <plugin>.vim file in your ~/.vim/plugin/ directory. You can
do the same for the files that have to go into /ftplugin/, /syntax/,
etc. Just follow the directory structure on the Github site for the
right place on your computer.

Be sure to download the raw version of the plugin code! On the website,
click until you reach the file and see the code, click the [Raw] button,
right-click and 'save page as...' in the directory mentioned above. The
right name will be already given. Note that different files for
different sub-folders can have the same name -- work in an organized
manner!

My experience is that this works all the time.

Other possibility is using the description for installing a plugin with
the use of Patogen, Vundle or Git -- just follow instructions, and all
files will be placed in the right directories. When not (gitting them to
the wrong directory) you can relocate the files by hand as mentioned
above.

A straightforward 'how-to' you can find here:

https://danishpraka.sh/2018/06/09/vim-plugin-install.html

Good Luck!

//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/YNXlzPtlZvKM7WIo%40trackstand.

No comments: