Re: The Seven Habits Of Effective Text Editing 2
Thanks, Mikolaj and Jonas. That's exactly what I was looking for. - Original Message From: Mikolaj Machowski <[EMAIL PROTECTED]> To: vim@vim.org Sent: Saturday, February 17, 2007 12:25:32 PM Subject: Re: The Seven Habits Of Effective Text Editing 2 On sobota 17 luty 2007, VIM mail list wrote: > The original "seven habits of effective text editing" was fascinating > and useful. I am sure that I'm not the only vimmer who would be > interested in hearing more about this updated version. However, I can't > find any links to either a video or a transcript of this talk. Are you > planning to make this available on your website? Is it available > elsewhere? http://video.google.com/videoplay?docid=2538831956647446078&q=engedu+vim 1h 20m. m. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
The Seven Habits Of Effective Text Editing 2
Hi Bram, I just heard about your recent talk at google, entitled "The Seven Habits Of Effective Text Editing 2". ( http://google-code-updates.blogspot.com/2007/02/open-source-developers-google-speaker.html ) The original "seven habits of effective text editing" was fascinating and useful. I am sure that I'm not the only vimmer who would be interested in hearing more about this updated version. However, I can't find any links to either a video or a transcript of this talk. Are you planning to make this available on your website? Is it available elsewhere? --Fraser Hanson __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Select just-pasted text
Perfect! This is so easy to map to my own key combination too. Thanks to all who replied. --- Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Jimmy Mack wrote: > > > I really like the "gv" command, which starts > visual > > mode and automatically selects the previous > selection, > > regardless of where the cursor happens to be. > > > > I would like to see a similar command that starts > > visual mode and selects the block of text I have > just > > pasted in. > > > > After extensive browsing through the help system > and > > online, I can't find a way to do this. > > > > My vim scripting skills are weak, can anyone tell > me > > if this is possible to script a command for? I'm > not > > sure if vim retains information about the > boundaries > > of the most recently pasted text. > > You can use: `[v`] > > If the cursor is still at the start of the pasted > text then v`] works. > > -- > "Computers in the future may weigh no more than 1.5 > tons." >Popular > Mechanics, 1949 > > /// Bram Moolenaar -- [EMAIL PROTECTED] -- > http://www.Moolenaar.net \\\ > ///sponsor Vim, vote for features -- > http://www.Vim.org/sponsor/ \\\ > \\\download, build and distribute -- > http://www.A-A-P.org/// > \\\help me help AIDS victims -- > http://ICCF-Holland.org/// > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Select just-pasted text
I really like the "gv" command, which starts visual mode and automatically selects the previous selection, regardless of where the cursor happens to be. I would like to see a similar command that starts visual mode and selects the block of text I have just pasted in. After extensive browsing through the help system and online, I can't find a way to do this. My vim scripting skills are weak, can anyone tell me if this is possible to script a command for? I'm not sure if vim retains information about the boundaries of the most recently pasted text. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com