If you yanked the line then it is still in the 0 register. You can paste
from it. Though this will be four keystrokes: V"0p
If you do that often you could use a map:
vnoremap P "0p
and then there are only two keystrokes: VP
Best,
Marcin
On 12:38 Sun 14 Oct , Dotan Cohen wrote:
> I am curr
On Sun, Oct 14, 2012 at 1:54 PM, Marcin Szamotulski wrote:
> If you yanked the line then it is still in the 0 register. You can paste
> from it. Though this will be four keystrokes: V"0p
>
> If you do that often you could use a map:
>
> vnoremap P "0p
>
> and then there are only two keystrokes: VP
--- Begin Message ---
> Thank you Marcin. I don't want to create a map as I've already got
> every short combination that is mappable mapped and used often!
>
> `V"0p` would be a good solution if it were repeatable with the period
> character. Is there any solution which is repeatable by the perio
On Sun, Oct 14, 2012 at 3:30 PM, Marcin Szamotulski wrote:
> Yes there is one, you could use C at the beginning of a line, but you
> have to yank the line with y$ rather than Y (to not catch the EOL)
> Explicitly you can use this: press C, now you are in the insert mode,
> and press ^r0 (i.e. CTRL
I'm running the latest Ubuntu stuff, but this problem has been around
for a while.
I like to use vim (not gvim) in my linux x-terminal. All is well
there. However, when I use vimdiff, none of the default colorschemes
is useable because much of the text is unreadable because of low
contrast. They
Suppose I have a agenda file, in which I note things to do, e.g. :
2012.10.13 write to Inc
2012.10.14 write to Gmbh
etc...
I want to complement this file with incremented information about these
companies (quotes, articles, etc…).
So, I create a tag file : .vim/doc/vimlog.txt, in which I have bot
On 2012-10-14, Kevin O'Gorman wrote:
> I'm running the latest Ubuntu stuff, but this problem has been around
> for a while.
> I like to use vim (not gvim) in my linux x-terminal. All is well
> there. However, when I use vimdiff, none of the default colorschemes
> is useable because much of the te
On Sun, Oct 14, 2012 at 10:56 AM, Gary Johnson wrote:
> On 2012-10-14, Kevin O'Gorman wrote:
>> I'm running the latest Ubuntu stuff, but this problem has been around
>> for a while.
>> I like to use vim (not gvim) in my linux x-terminal. All is well
>> there. However, when I use vimdiff, none of
Hi there!
I developed an autocompletion for Python:
https://github.com/davidhalter/jedi
There's a VIM plugin for Jedi:
https://github.com/davidhalter/jedi-vim
Basically it is a (very) enhanced version of pythoncomplete, which is the
default omnicomplete function for vim/python.
If anyone has al
Hi there!
I developed an autocompletion for Python, called Jedi:
https://github.com/davidhalter/jedi
There's a VIM plugin for Jedi:
https://github.com/davidhalter/jedi-vim
Basically it is a (very) enhanced version of pythoncomplete, which is the
default omnicomplete function for vim/python.
If a
Vim automatically saves files in my Home Folder. I want to be able to change
where it saves (i.e. if I do :w filename, it'll save it there).
I know if you do :pwd it shows you where it saves files, and you can do :cd
[where you want it] to change this, but when you restart vim, it reverts
back to
Hi there!
I developed an autocompletion for Python:
https://github.com/davidhalter/jedi
There's a VIM plugin for Jedi:
https://github.com/davidhalter/jedi-vim
Basically it is a (very) enhanced version of pythoncomplete, which is the
default omnicomplete function for vim/python.
If anyone has alw
Talk about your likings ..
I add such to my $HOME/_vimrc:
cnoremap >my some-path
Then I can type :w >my which will get replaced by some-path
and that _vimrc is the file to put commands to make them permanent.
There is 'autochdir' option which can help.
You can also create your own mapping such
On 14/10/12 19:13, Kevin O'Gorman wrote:
I'm running the latest Ubuntu stuff, but this problem has been around
for a while.
I like to use vim (not gvim) in my linux x-terminal. All is well
there. However, when I use vimdiff, none of the default colorschemes
is useable because much of the text i
Have you tried a cd command in your .vimrc? (if that's not too obvious)
See :h .vimrc. On windows vim will find $HOME/_vimrc before $HOME/.vimrc.
Regards, John
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For mo
:echo substitute(@%, "\..*", "", "")
:echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
Parameters2.html
>From :reg
": echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
"% Parameters2.html
So, how should I write this substitute command?
--
Graham Lawrence
--
You received this message from th
On 15:25 Sun 14 Oct , Graham Lawrence wrote:
> :echo substitute(@%, "\..*", "", "")
>
> :echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
> Parameters2.html
>
> >From :reg
> ": echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
> "% Parameters2.html
>
> So, how should I write this substitute
17 matches
Mail list logo