On Wednesday, January 27, 2016 at 11:49:39 AM UTC-6, Chris Lott wrote:
> I'd like to take a paragraph like the following:
>
> This is a paragraph. Wow! What do I do now?
>
> And break it into individual lines, ala:
>
> This is a paragraph.
> Wow!
> What do I do now?
>
> StackExchange revealed
On Wednesday, October 7, 2015 at 4:34:18 AM UTC-5, Jan wrote:
> Is it possible to move a line or lines, with :m, and not have the cursor jump
> to that new location, ie. to have it stay where it is?
I'm a writer, not a coder, but I use this to move a single line (which usually
means a whole
I am trying to syntax highlight yaml blocks in Markdown files.
Right now, I can get it so it handles either blocks that look like this:
---
author: me
document: Help
---
or
---
author: me
document: Help
...
But not both. Is there a way to do both?
I tried end=\(/^---$/\|/^\.\.\.$\) but that
On Monday, June 29, 2015 at 10:52:25 AM UTC-5, Rick Dooling wrote:
I am trying to syntax highlight yaml blocks in Markdown files.
Right now, I can get it so it handles either blocks that look like this:
---
author: me
document: Help
---
or
---
author: me
document: Help
On Thursday, June 25, 2015 at 3:27:20 PM UTC-5, Charles Campbell wrote:
Rick Dooling wrote:
On Monday, March 9, 2015 at 7:53:06 PM UTC-5, DrChip wrote:
Rick Dooling wrote:
I saw another thread herein where the conversation touched on this but
without a conclusive answer.
I like
Dear Vim Wizards:
If I'm in file1.txt and want to write a range to file2.txt, I can do:
:'a,'bw file2.txt
But if file2.txt is open in another buffer, I get an error E139.
Is there a way to copy or move a range to another open buffer without getting
this error?
Thanks,
Rick Dooling
ps
On Friday, June 19, 2015 at 10:49:14 AM UTC-5, Ben Fritz wrote:
On Friday, June 19, 2015 at 8:23:17 AM UTC-5, Rick Dooling wrote:
Dear Vim Wizards:
If I'm in file1.txt and want to write a range to file2.txt, I can do:
:'a,'bw file2.txt
But if file2.txt is open in another buffer
So let's say I want the current line number in the Vim Buffer
let x=line(.)
And then I want to do something with it inside my Python script.
How do I refer to it? Or if there is a way to get the current line number using
the python vim module? I see vim.current.line but this is a string of
On Sunday, May 31, 2015 at 12:57:51 PM UTC-5, ZyX wrote:
2015-05-30 23:21 GMT+03:00 Rick Dooling
Hello,
I frequently want to open a text file, go to the last line, open the fold,
add one or two blank lines and begin writing.
I'm trying to make an alias for vim that does
On Saturday, May 30, 2015 at 3:50:31 PM UTC-5, Tim Chase wrote:
On 2015-05-30 13:21, Rick Dooling wrote:
alias note=gvim -c $ +foldo +put='' +star /Users/name/Notes/notes.md
Everything works except the attempt to put a blank line. No matter
what I try: :pu='' :$pu=' _' etc
Hello,
I frequently want to open a text file, go to the last line, open the fold, add
one or two blank lines and begin writing.
I'm trying to make an alias for vim that does this. Something like:
alias note=gvim -c $ +foldo +put='' +star /Users/name/Notes/notes.md
Everything works except the
On Saturday, May 30, 2015 at 3:45:07 PM UTC-5, Nicola wrote:
Hi,
I have recently re-implemented my status line from scratch. Since getting
to my (hopefully final) solution took a while (and help from this group) I'm
giving back my approach, in the hope that it may be useful to other
On Friday, January 30, 2015 at 1:58:02 PM UTC-6, Eric Weir wrote:
Wondering if there are any poets here who use vim in writing poetry, either
in the messy creative phase or the later refining, polishing, and editing
phase. If so, I’d be interested in knowing how you use vim, how you find vim
On Saturday, March 21, 2015 at 12:21:16 PM UTC-4, hcai wrote:
Hi Ethan,
Thanks for your suggestions! I definitely would like to spend time
learning how to manipulate the plugin managers.
Haitao
On Friday, March 20, 2015 at 1:08:32 PM UTC-4, Ethan Hereth wrote:
On Thu, Mar 19,
to the Jumpcut Clipboard.
Is there a way to tell netrw to use some other clipboard or register, so that
its entries don't fill up in my Jumpcut history?
Thank you
Rick Dooling
--
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you
I saw another thread herein where the conversation touched on this but without
a conclusive answer.
I like the long list style in netrw, and I also like sorting by time reversed
(showing newest files at the top). However, when I switch to this view all of
the dot-files and dot-directories
On Monday, March 9, 2015 at 7:53:06 PM UTC-5, DrChip wrote:
Rick Dooling wrote:
I saw another thread herein where the conversation touched on this but
without a conclusive answer.
I like the long list style in netrw, and I also like sorting by time
reversed (showing newest files
On Saturday, January 11, 2014 10:29:17 PM UTC-6, Ivan wrote:
I've written a few iabbreviations into my vimrc that act like snippets, but
they're pretty primitive compared to some of the available plugins (like
snipMate). I'm thinking about trying out snipMate, or something similar, and
I'm
On Friday, January 10, 2014 12:18:43 PM UTC-6, ZyX wrote:
This one grabs the buffer contents, converts it to HTML, and sends it to
the clipboard for pasting into WordPress or whatever.
It does not. Just run in *terminal* vim.
Mmm. I'm on a MacBook Pro using MacVim?
Don't know if that
On Friday, January 10, 2014 6:16:31 AM UTC-6, Jacobo de Vera wrote:
On Thu, Jan 9, 2014 at 9:07 PM, Rick Dooling rpdo...@gmail.com wrote:
On Thursday, January 9, 2014 2:29:41 PM UTC-6, ZyX wrote:
On Jan 9, 2014 11:50 PM, Rick Dooling rpdo...@gmail.com wrote
This one grabs the buffer contents, converts it to HTML, and sends it to
the clipboard for pasting into WordPress or whatever.
Send Text Through Filter To Clipboard:
http://vim.wikia.com/wiki/Use_filter_commands_to_process_text
function! MDC()
:redir
On Friday, January 10, 2014 3:06:44 PM UTC-6, Jacobo de Vera wrote:
On Fri, Jan 10, 2014 at 7:03 PM, Rick Dooling rpdoo.com wrote:
This one grabs the buffer contents, converts it to HTML, and sends it to
the clipboard for pasting into WordPress or whatever.
Send Text
Dear Vim Scripters:
I know how to run external commands and send the output to new files and such,
but I'm wondering if a Vim scripter can help me do something that has to be a
common task.
Assume I have a buffer open in Vim called file.markdown
I want to run my external markdown processor of
On Thursday, January 9, 2014 10:42:47 AM UTC-6, Rick Dooling wrote:
Dear Vim Scripters:
I know how to run external commands and send the output to new files and
such, but I'm wondering if a Vim scripter can help me do something that has
to be a common task.
I have tried this:
!pandoc % -o
I have tried this:
!pandoc % -o %.html | tabe %.html
But I get this error
/bin/bash: tabe: command not found
shell returned 127
Looking for a bash command not a vim command, it seems.
On Thursday, January 9, 2014 10:42:47 AM UTC-6, Rick Dooling wrote:
Dear Vim Scripters:
I know how
On Thursday, January 9, 2014 10:42:47 AM UTC-6, Rick Dooling wrote:
Dear Vim Scripters:
I know how to run external commands and send the output to new files and
such, but I'm wondering if a Vim scripter can help me do something that has
to be a common task.
Assume I have a buffer open
On Thursday, January 9, 2014 11:26:15 AM UTC-6, Rick Dooling wrote:
On Thursday, January 9, 2014 10:42:47 AM UTC-6, Rick Dooling wrote:
Dear Vim Scripters:
I know how to run external commands and send the output to new files and
such, but I'm wondering if a Vim scripter can help me do
On Thursday, January 9, 2014 2:29:41 PM UTC-6, ZyX wrote:
On Jan 9, 2014 11:50 PM, Rick Dooling rpdo...@gmail.com wrote:
On Thursday, January 9, 2014 11:26:15 AM UTC-6, Rick Dooling wrote:
On Thursday, January 9, 2014 10:42:47 AM UTC-6, Rick Dooling wrote:
Dear Vim Scripters
On Friday, February 22, 2013 7:19:06 PM UTC-6, Tim Chase wrote:
On 2013-02-22 15:14, Rick Dooling wrote:
Using Fountain (new markdown for screenwriters).
I have Vim successfully folding on lines beginning with =
using this
setlocal foldexpr=getline(v:lnum
Using Fountain (new markdown for screenwriters).
I have Vim successfully folding on lines beginning with =
using this
setlocal foldexpr=getline(v:lnum)!~\^=\
but I would like Vim to fold on BOTH = and # (hierarchy not necessary)
How do I get the OR into the foldexpr?
Thank you
Rick
--
--
I am no programming expert, I use Vim mainly for writing, but you
sound as if you are interested in something more semi-permanent than a
mere mark. Have you ever tried ctags?
http://ctags.sourceforge.net/
This could enable you to keep all the marks you want and also call
them by any name you
I would like to have the text in latex footnotes \footnote{My footnote
here.} appear in a different color, but can't seem to make it work
using my own tex.vim file in the .vim/after directory.
My latest try looked like this:
:syntax region Myregion3 start=footnote{hs=s+9 end=}he=s-2
I've
Thank you both!
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---
I'm no regex or pattern expert and I can't seem to get this matching
correctly.
I'd like to have any line containing all UPPER CASE letters, spaces,
and punctuation to appear in a certain color. The highlighting works
fine, but my pattern is erratic and incomplete, I think.
I can't seem to get
34 matches
Mail list logo