Re: Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Dominique Pellé
Daniel wrote: > Hi, > > I would be very thankful if someone could tell me how to set things up so I > can copy and paste > Spanish text from google translate into vim? I am sure there is some very > simple way to do this, > but I can't see it. Copy/paste from Firefox into Vim does not work for

Plans for Vim 7.4

2013-05-08 Thread Bram Moolenaar
Hello Vim users, We are now at patch level 7.3.931. In a few weeks we would reach 999. I don't want to find out what happens if we go over that, so it's time for Vim 7.4! The top five of the voting list: http://www.vim.org/sponsor/vote_results.php 1. add IDE features 2. add integration with Py

Re: can't use vimrc

2013-05-08 Thread skyworld
在 2013年5月8日星期三UTC+8下午9时55分08秒,Christian Brabandt写道: > On Wed, May 8, 2013 15:18, skyworld wrote: . Here is my results for gvim7.1: > > :version > VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 1 2011 > 18:27:06) > Compiled by satish@gridsync4 > Normal version with GTK GUI. > Features included

Re: delete last character of multiple lines

2013-05-08 Thread Tim Chase
> but can you please explain what exactly does :'<,'> means? That's a range as defined by two marks, the '< mark (meaning the starting line of a visual selection) , through the '> mark (meaning the ending line of a visual selection). Vim supports an incredibly powerful declaration

Re: delete last character of multiple lines

2013-05-08 Thread Nicolas Dermine
On Thu, May 9, 2013 at 12:44 AM, yoni kessler wrote: > thanks allot! > > I'm a bit familiar with regex, > but can you please explain what exactly does :'<,'> means? > Hi Yoni, The '<,'> range stands for the current (or last) visual selection. When you have a visual selection and type :, the

Re: delete last character of multiple lines

2013-05-08 Thread yoni kessler
thanks allot! I'm a bit familiar with regex, but can you please explain what exactly does :'<,'> means? thanks again -- -- 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.

Re: Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Daniel
On Wednesday, May 8, 2013 1:43:13 PM UTC-7, Christian Brabandt wrote: > > > There are probably some PPA which provide more recent snapshots for > Ubuntu. This one looks promising: > https://launchpad.net/~nmi/+archive/vim-snapshots > > > Are you using those on Windows? If so, then there might

Re: delete last character of multiple lines

2013-05-08 Thread Phil Dobbin
On 08/05/2013 19:46, Tim Chase wrote: > On 2013-05-08 19:15, Phil Dobbin wrote: >> On 08/05/2013 18:29, Jürgen Krämer wrote: >>> :'<,'>s/.$// >> >> Does the '.' replace a character with nothing? > > This is the method I'd default to. It's a standard search/replace > command. The pattern searc

Re: Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Christian Brabandt
Hi Daniel! On Mi, 08 Mai 2013, Daniel wrote: > > Could you try a more recent vim version? I seem to remember several > > clipboard patches which were supposed to fix unicode misbehaviour. > > > regards, > > Christian > > Thanks for replying. > > Here is what my ubuntu 12.10 (quetzal) vim -

Re: Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Daniel
> Could you try a more recent vim version? I seem to remember several > clipboard patches which were supposed to fix unicode misbehaviour. > regards, > Christian Thanks for replying. Here is what my ubuntu 12.10 (quetzal) vim --version shows related to patches: VIM - Vi IMproved 7.3 (2010 A

Re: delete last character of multiple lines

2013-05-08 Thread Tim Chase
On 2013-05-08 19:15, Phil Dobbin wrote: > On 08/05/2013 18:29, Jürgen Krämer wrote: > > :'<,'>s/.$// > > Does the '.' replace a character with nothing? This is the method I'd default to. It's a standard search/replace command. The pattern searched for is "any one character ('.') at the end of

Re: delete last character of multiple lines

2013-05-08 Thread Phil Dobbin
On 08/05/2013 18:29, Jürgen Krämer wrote: > : >>> what should i do in order to delete last character of multiple lines?\ >> >> How about visually selecting the lines and then: >> >> :'<,'>norm! $x > > or > > :'<,'>s/.$// Does the '.' replace a character with nothing? Cheers, Phil... --

Re: delete last character of multiple lines

2013-05-08 Thread Jürgen Krämer
: >> what should i do in order to delete last character of multiple lines?\ > > How about visually selecting the lines and then: > > :'<,'>norm! $x or :'<,'>s/.$// Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of

Re: Removing junk .swp files

2013-05-08 Thread Gary Johnson
On 2013-05-08, Paul wrote: > On Wednesday, 01 May, 2013 at 20:11:08 BST, 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: > >

Re: delete last character of multiple lines

2013-05-08 Thread Taylor Hedberg
> what should i do in order to delete last character of multiple lines?\ How about visually selecting the lines and then: :'<,'>norm! $x signature.asc Description: Digital signature

delete last character of multiple lines

2013-05-08 Thread yoni kessler
Hi all, I tried to delete the last character of multiple lines in the following way: ctrl+v on the first line, then jjj to mark 3 lines, then $ to select the lines to the end, then A to switch ti insert mode in the end of the first line, then I deleted the last character of the first line(using

Re: can't use vimrc

2013-05-08 Thread Christian Brabandt
On Wed, May 8, 2013 15:18, skyworld wrote: . Here is my results for gvim7.1: > :version > VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 1 2011 18:27:06) > Compiled by satish@gridsync4 > Normal version with GTK GUI. Features included (+) or not (-): > Here is my result for gvim7.0: > :version

Re: can't use vimrc

2013-05-08 Thread skyworld
在 2013年5月8日星期三UTC+8下午4时51分48秒,Christian Brabandt写道: > On Wed, May 8, 2013 10:12, skyworld wrote: > Hi, > thanks for your kind > information. I checked the way you showed me and I > can now confirm that > gvim7.1 has loaded my old settings. The reason why I > can't find those my > familiar settin

Re: Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Christian Brabandt
On Wed, May 8, 2013 09:03, Daniel wrote: > Hi, > > I would be very thankful if someone could tell me how to set things up so > I can copy and paste Spanish text from google translate into vim? I am > sure there is some very simple way to do this, but I can't see it. > > When I enter English, lets s

Copy and paste Spanish from google translate into vim?

2013-05-08 Thread Daniel
Hi, I would be very thankful if someone could tell me how to set things up so I can copy and paste Spanish text from google translate into vim? I am sure there is some very simple way to do this, but I can't see it. When I enter English, lets say "symptom", into google translate, it gets trans

Re: Removing junk .swp files

2013-05-08 Thread Paul
On Wednesday, 01 May, 2013 at 20:11:08 BST, 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 I d

Re: can't use vimrc

2013-05-08 Thread Christian Brabandt
On Wed, May 8, 2013 10:12, skyworld wrote: > Hi, > thanks for your kind information. I checked the way you showed me and I > can now confirm that gvim7.1 has loaded my old settings. The reason why I > can't find those my familiar setting in gvim7.1 is that I found some font > are not installed in g

Re: can't use vimrc

2013-05-08 Thread skyworld
Hi, thanks for your kind information. I checked the way you showed me and I can now confirm that gvim7.1 has loaded my old settings. The reason why I can't find those my familiar setting in gvim7.1 is that I found some font are not installed in gvim7.1 but installed in gvim7.0. I have to find a