Thanks this works for my current use case. Clearly my knowledge of normal is
weak and needs brushing up.
--
--
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
On Wednesday, June 11, 2014 10:02:12 PM UTC-6, wolfv wrote:
> On Wednesday, June 11, 2014 9:24:29 PM UTC-6, Ben Fritz wrote:
> > On Wednesday, June 11, 2014 5:29:07 PM UTC-5, wolfv wrote:
> > > > Can you use vimdiff, from C:\Users\wolf\Documents (rather than My
> > > > Documents)?
> > >
> > > I a
On Wednesday, June 11, 2014 9:24:29 PM UTC-6, Ben Fritz wrote:
> On Wednesday, June 11, 2014 5:29:07 PM UTC-5, wolfv wrote:
> > > Can you use vimdiff, from C:\Users\wolf\Documents (rather than My
> > > Documents)?
> >
> > I am using Windows 7.
> > From Command Prompt:
> > C:\Users\wolf\Docume
On Wednesday, June 11, 2014 5:36:31 PM UTC-5, Eric Christopherson wrote:
> In my vimrc I have
>
> set undofile
> set undodir=~/.vimundo
> -- thus I am almost always able to undo changes done in Vim even if I close a
> file and reopen it. One other benefit I've enjoyed for a while is the
> be
On Wednesday, June 11, 2014 5:29:07 PM UTC-5, wolfv wrote:
> > Can you use vimdiff, from C:\Users\wolf\Documents (rather than My
> > Documents)?
>
> I am using Windows 7.
> From Command Prompt:
> C:\Users\wolf\Documents>vim -d a.txt b.txt
> This pops up:
> C:\PROGRA~2\Vim\vim74\vim.exe is
In my vimrc I have
set undofile
set undodir=~/.vimundo
-- thus I am almost always able to undo changes done in Vim even if I close
a file and reopen it. One other benefit I've enjoyed for a while is the
behavior where, if I have a file open in Vim, and some program besides Vim
modifies the file
On Wednesday, June 11, 2014 2:01:21 PM UTC-6, Tim Chase wrote:
> On 2014-06-11 12:33, wolfv wrote:
>
> > The only reason I use vimdiff from the command prompt is because
>
> > that is how the tutorial does it. Otherwise I always launch gVim
>
> > from the taskbar. Is there a way to run vimdiff f
On Wednesday, June 11, 2014 3:12:55 PM UTC-6, Ben Fritz wrote:
> On Wednesday, June 11, 2014 2:33:57 PM UTC-5, wolfv wrote:
> > From Command Prompt:
> > C:\Users\wolf\My Documents>gvim -N -u NONE -U NONE -i NONE -O
> > a.txt b.txt
> > This message pops up:
> > Location is not ava
On Wednesday, June 11, 2014 2:33:57 PM UTC-5, wolfv wrote:
> From Command Prompt:
> C:\Users\wolf\My Documents>gvim -N -u NONE -U NONE -i NONE -O a.txt
> b.txt
> This message pops up:
> Location is not available
> C:\Users\wolf\My Documents is not accessible.
>
After my previous article in this list, I learned a lot about Evil and Vim, and
concluded that the two editors are equivalent. At least, I didn't find anything
that I could do in Vim, but not in Evil.
I told before that I wanted to migrate from Evil to Vim, because Evil does not
have a help sys
On 2014-06-11 12:33, wolfv wrote:
> The only reason I use vimdiff from the command prompt is because
> that is how the tutorial does it. Otherwise I always launch gVim
> from the taskbar. Is there a way to run vimdiff from the taskbar
> gVim?
If you highlight two files in your File Explorer and ri
On Wednesday, June 11, 2014 10:48:15 AM UTC-6, Ben Fritz wrote:
> On Tuesday, June 10, 2014 4:49:26 PM UTC-5, wolfv wrote:
> >
> > I manually set a.txt and b.txt to contain unique lines of text.
>
> In what program? Vim? Notepad?
>
> > Then from Command Prompt:
> > gvim -O a.txt b.txt
> > op
On Wednesday, June 11, 2014 12:51:52 PM UTC-5, Christian Brabandt wrote:
> Hi Benjamin!
>
>
>
> On Mi, 11 Jun 2014, Benjamin Fritz wrote:
>
>
>
> > I have these two lines in a modified "lithochromatic" colorscheme:
>
> >
>
> > highlight IncSearch ctermbg=NONE ctermfg=NONE guifg=NONE guibg=
Hi Benjamin!
On Mi, 11 Jun 2014, Benjamin Fritz wrote:
> I have these two lines in a modified "lithochromatic" colorscheme:
>
> highlight IncSearch ctermbg=NONE ctermfg=NONE guifg=NONE guibg=#f8f8f8
> cterm=underline,bold gui=underline,italic
> highlight Search ctermbg=NONE ctermfg=NONE guifg=N
I have these two lines in a modified "lithochromatic" colorscheme:
highlight IncSearch ctermbg=NONE ctermfg=NONE guifg=NONE guibg=#f8f8f8
cterm=underline,bold gui=underline,italic
highlight Search ctermbg=NONE ctermfg=NONE guifg=NONE guibg=#d8d8d8
cterm=underline gui=underline
In gvim 7.4.292 64
On Tuesday, June 10, 2014 4:49:26 PM UTC-5, wolfv wrote:
>
> I manually set a.txt and b.txt to contain unique lines of text.
In what program? Vim? Notepad?
> Then from Command Prompt:
> gvim -O a.txt b.txt
> opens gvim showing both files as empty.
This tells me that Vim is somehow not fin
On Wednesday, June 11, 2014 12:25:43 PM UTC+12, Pankaj Gupta wrote:
> Does a similar function exist for motion commands?
The plain answer is :normal, but that's so simple I'm not sure I understand
your request.
Your example:
vim -c "normal M" x.txt
HTH, John Little
--
--
You receiv
Hi,
I want to launch vim so that the cursor is placed on the middle of the screen
when open. I can use the -c option to supply functions. How can I find the
function names for motion commands, e.g. M in this case? For switching windows
I could find wincmd which is pretty handy. Does a similar f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I am trying to guess the logic behind this decision. Using strings should lead
to the least amount of additional code since there already is :echo. I would
not say that this is right decision though.
On June 11, 2014 1:01:21 AM GMT+03:00, Christia
19 matches
Mail list logo