Friday, February 19, 2016

Re: How to get rounded bullet list character

Ben Fritz wrote:

> On Thursday, February 18, 2016 at 9:04:14 PM UTC-6, Sam Burk wrote:
> > On Feb 18, Mac Martine wrote:
> > >If you scroll down slightly in to the image showing an example of Vim notes, it has the round bullet points in fro of the list items: https://github.com/xolox/vim-notes
> > >
> > >How do you create those?
> >
> > In the example you gave, it was written in Markdown. If you're using Markdown,
> > it can either be written with a "*" or a "-" character. You'll only see the
> > bullet after it's been rendered as HTML, though, as in on that Github page.
> >
> > If you want to type that literal character into a file in Vim, you could
> > define an abbreviation like the one below:
> >
> > iabbrev *** •
> >
> > Now every time you type three asterisks in insert mode, Vim will change it to
> > that bullet. You can change the asterisks to whatever you want.
>
> I'd prefer using a digraph:
>
> digraph li 8226 " Bullet
>
> Then type CTRL_K followed by "li" in insert mode to get the character.

Is this "li" some standard? I notice this entry is missing from the Vim
digraphs, perhaps that list needs to be updated.

--
You had connectors? Eeee, when I were a lad we 'ad to carry the
bits between the computer and the terminal with a spoon...

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: