Wednesday, May 1, 2013

Re: Does vim support markdown?

VimWiki uses its own syntax by default, but there's an option to make it use markdown instead.

All that does is to change the highlighting while you're in vimwiki land.

Separately, vim has a syntax file that maps to .markdown files as well.

In any case, vim itself does not render markdown files to html by itself. Vimwiki has a helper to do that, but I bet it just shells out when needed to a 'real' markdown parser.




On Wed, May 1, 2013 at 2:43 PM, Tim Gray <tgray@protozoic.com> wrote:
On May 01, 2013 at 04:24 PM -0400, Eric Weir wrote:
Initially I was going to ask if vim supports markdown syntax, but now I'm guessing vimwiki itself processes the markdown coding in vimwiki documents? Is that right?

My copy of Vim (MacVim) has a copy of markdown.vim in $VIMRUNTIME/syntax.  So it looks like to me that Vim supports it out of the box.  At least MacVim does.


--
--
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/groups/opt_out.



--
--
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/groups/opt_out.
 
 

Re: Does vim support markdown?

On May 01, 2013 at 04:24 PM -0400, Eric Weir wrote:
>Initially I was going to ask if vim supports markdown syntax, but now
>I'm guessing vimwiki itself processes the markdown coding in vimwiki
>documents? Is that right?

My copy of Vim (MacVim) has a copy of markdown.vim in
$VIMRUNTIME/syntax. So it looks like to me that Vim supports it out of
the box. At least MacVim does.

--
--
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/groups/opt_out.

Re: Removing junk .swp files

On Wed, May 01, 2013 at 12:11:08PM -0700, Mike Hume wrote:
> You could setup a tmp directory for where swp files are stores.

> set directory=~/.vim/tmp/swap

> If you have swp files littered about, run this command to
> recursively find and delete them:

> find . -type d -name .swp | xargs rm -rf

you're going to need an asterisk in front of that '.swp'

--
--
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/groups/opt_out.

Does vim support markdown?


I'm a bit confused. The issue is raised by my ongoing project of getting my vim set up running in vim touch on an android tablet. I use vimwiki with markdown syntax a lot on my laptop. Trying to get vimwiki going on the tablet makes me wonder how that is possible, since I do not have a markdown plugin installed in vim.

Initially I was going to ask if vim supports markdown syntax, but now I'm guessing vimwiki itself processes the markdown coding in vimwiki documents? Is that right?

Thanks,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA

"Style is truth." 

- Ray Bradbury

Re: Fix for missing keys on bluetooth keyboards


On May 1, 2013, at 10:33 AM, Eric Weir wrote:

For those who're trying to get vim going on tablets with bluetooth keyboards, it appears this provides solution for missing keys. <http://forums.logitech.com/t5/Keyboards-and-Keyboard-Mice/Tablet-Keyboard-missing-keys-fix/td-p/699426>

Apparently not. I did not read carefully enough. The app involved is Windows-only.

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eeweir@bellsouth.net

"Hatred destroys. Love heals."

- Eknath Easwaran

Re: Removing junk .swp files

mike's suggestion is I similar to what I use... and it works quite well... I also prepend the abs path to the file to avoid name collisions...

On May 1, 2013 1:49 PM, "BPJ" <bpj@melroch.se> wrote:
Is there any easy/automatized way to remove junk (as in not associated with any file currently open in (g)vim) .swp files
in the current directory and its subdirectories?
A plugin perhaps?

/bpj

--
--
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/groups/opt_out.


--
--
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/groups/opt_out.
 
 

Re: Removing junk .swp files

On Wednesday, May 1, 2013 2:12:58 PM UTC-5, Ben Fritz wrote:
>
> Such .swp files should never exist if you always exit Vim normally.
>
> Only when Vim crashes or gets terminated abnormally will you have such files hanging around.
>

Also there may be swap files associated with a DIFFERENT Vim instance, especially if you or others edit files on a network location using Vim from multiple computers.

Deleting them automatically might interfere with other Vim instances. I think you will always want a confirmation step at least before deleting swap files.

--
--
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/groups/opt_out.