naaj_ila | 29 Aug 04:36 2015
Picon

Copy text and Paste at multiple lines

Say i had a text like this 
baseline string a;
baseline b;
baseline c;
baseline d; 

I need to have like this 
baseline string a; 
baseline string b;
baseline string c;
baseline string d;

Q1.I wanted to copy "string" and Paste across different lines at a single
shot .How can i do this.?
Q2.I wanted to copy  a text from "unix terminal/from different Vim file".How
can i paste that string in multiple lines at a single shot? 

I dont want to use "string find and replace". 

--
View this message in context: http://vim.1045645.n5.nabble.com/Copy-text-and-Paste-at-multiple-lines-tp5725641.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
--

-- 
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

--- 
(Continue reading)

Gary Johnson | 28 Aug 17:06 2015

Odd delay in execution of <C-O>u

When undoing the most recent change in insert mode by typing
<C-O>u , there is a delay of about three seconds before the undo
takes effect.

For example, start vim like this,

    $ vim -N -u NONE

and insert two sets of changes by typing the following:

    first change<Esc>A second change

where <Esc> is a literal Escape.  Now undo the second change by
typing

    <Esc>u

The second change is deleted immediately.  Now add the second change
again, but this time undo it while remaining in insert mode by
typing

    <C-O>u

Notice that the cursor moves to the start of the second change
immediately, but that there is a pause of about three seconds before
the text of the second change is deleted.

Why is that, and can it be fixed?

I'm using Vim 7.4.838 in an xterm on Fedora 14.
(Continue reading)

Josef Fortier | 28 Aug 05:50 2015
Picon

clearing plugin augroup

I'm trying to clear augroup events from a plugin that's useful, but has some annoying event bindings.

I can run autocmd! GROUP_NAME interactively, but when I try to do this in my .vimrc (or a local .vimrc) I get
the error
E367: No such group:

I'm sure there's some arcane load ordering thing here, but it escapes me. I've tried:

* putting the augroup at the end of my .vimrc
* in a directory local .vimrc (I've enabled exrc)

Any advice?

-- 
--

-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tim Chase | 27 Aug 14:46 2015

Bug with i_CTRL-\_CTRL-O?

Based on my reading of 

  :help i_CTRL-\_CTRL-O

it should act like i_CTRL-O without moving the cursor. However, I
tried the following sequence and didn't see the behavior:

  $ vim -u NONE some_prose.txt
  " move to some arbitrary middle-of-the-document location
  ihello<c-\><c-o>gUb

At this point, it takes a full second (not the instantaneous update
that would happen in normal mode; not the main problem, just odd;
happens to coincide with 'timeoutlen') before the text changes
visually to upper-case unless I hit another key.  However the cursor
gets positioned at the *beginning* of "hello" rather than after
"hello" where it was before the command was issued.

So i_CTRL-\_CTRL-O appears to be the same behavior as i_CTRL-O
instead of preserving the cursor-location.

This is stock 7.4.1-488,576 that comes with Debian Stable, so if this
has already been encountered and fixed in a later version, sorry for
the repeat report.  Otherwise, it sounds like something is amiss here.

-tim

-- 
--

-- 
You received this message from the "vim_use" maillist.
(Continue reading)

skeept | 27 Aug 12:30 2015
Picon

Gvim shows some letters with strike

When viewing the attached file with gvim I get the screenshot attached.
I am using Terminus font but i think it is possible to see this with other fonts also.

The command used to produce is:
gvim --noplugin -u NONE -U NONE -c "set encoding=utf8" -c "set gfn=Terminus:h12" tree.txt.

If I move the cursor with the keys l and k on top one of the letters that is striked then it gets fixed.

I am not sure if something like this has been reported before. If so please disregard this message.

Thank you!

Gvim version is:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 26 2015 14:30:20)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-838
Compiled by dummy9 <at> GLOBAL
Huge version with GUI.  Features included (+) or not (-):
+acl                +digraphs           +libcall            +profile            +textobjects
+arabic             +directx            +linebreak          +python/dyn         +title
+autocmd            -dnd                +lispindent         +python3/dyn        +toolbar
+balloon_eval       -ebcdic             +listcmds           +quickfix           +user_commands
+browse             +emacs_tags         +localmap           +reltime            +vertsplit
++builtin_terms     +eval               +lua                +rightleft          +virtualedit
+byte_offset        +ex_extra           +menu               +ruby/dyn           +visual
+cindent            +extra_search       +mksession          +scrollbind         +visualextra
+clientserver       +farsi              +modify_fname       +signs              +viminfo
+clipboard          +file_in_path       +mouse              +smartindent        +vreplace
+cmdline_compl      +find_in_path       +mouseshape         -sniff              +wildignore
+cmdline_hist       +float              +multi_byte_ime/dyn +startuptime        +wildmenu
(Continue reading)

Sergius Lord | 26 Aug 21:11 2015
Picon

Make VIM IDE-like

I installed NERDTree, but it opens only one file, and can't make that it will be like separate window, and all
files will open in tabs, just like ":tabnew filename" - it makes new tab and Tree View disappears. So, I'd
like to have such behaviour, if it's possible. I also installed NERDTree Tabs plugin, but can't
understand how it works and is it do exactly what I want. Please, help.

-- 
--

-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Fabian Nick | 26 Aug 19:10 2015

Highlight if-else-endif structures in Vim

Hi all,

ss there a way to highlight if-else-endif structures in Vim on demand based on their 'level' in the overall
program hierarchy? I.e. I want something like

if <<< highlight in red
   foo
else <<<< red
   if <<< blue
      baz
      bar
   endif <<< blue
endif <<< red

I'm mostly editing FORTRAN code, but I guess this feature would be pretty generic, as long as the syntax
highlighting works for the given language...

Cheers,
Fabian

-- 
--

-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
(Continue reading)

Uwe Husmann | 26 Aug 15:00 2015
Picon

Solver in vim?

Today i've seen a blogpost about some very interesting tools that i haven't seen before. 


Those are textpads that will recognize and solve mathematical formulas and equations.

I just wonder if there are similar plugins for vim that will do the same thing or at least go in the same direction?

Thank you all,
Uwe

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Florian Bruhin | 26 Aug 08:47 2015

Terminal issues with vim + tmux + Bitvise SSH Server

Hi!

I regularely access my Windows VM using SSH via BitVise SSH Server[1].
Using vim via VNC in a cmd.exe works fine and as expected.

However, via SSH, I noticed the following problems:

- The cursor is only visible in insert mode - outside of insert mode,
  I get no visible cursor at all.

- When I press backspace, an U+2302 HOUSE[2] is inserted instead of a
  character being deleted.

- When I press the escape key, I have to wait some time before
  continuing to type - otherwise, strange symbols are inserted (e.g.
  an 'i' with diaeresis for <Esc>o)

My terminal is rxvt-unicode -> tmux -> ssh to Windows. When I drop the
tmux part, it seems only the last problem persists (which I can live
with).

Any idea what could be going wrong, and if there's some workaround I
could do in the SSH server/tmux/vim?

Thanks,

Florian

[1] https://www.bitvise.com/ssh-server
[2] http://www.fileformat.info/info/unicode/char/2302/index.htm

-- 
http://www.the-compiler.org | me <at> the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

-- 
--

-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mash Walter | 26 Aug 14:44 2015
Picon

How to keep vim registers across applications?

I'm wondering if I can somehow keep vim registers across applications say I copy something in vim and then paste it into fish-shell in vim mode or into my browser in vim mode or if I can at least make it to store the registers accessible so that I can write other applications which may reuse those registers. Because copy pasting without vim mode sucks even though I have a map for set paste!

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paul Isambert | 26 Aug 09:27 2015
Picon

gVim closing randomly.

Hello there,

Vim (GUI) has behaved strangely for the past few weeks (or perhaps
months): it simply closes abruptly, without reason, a few times per
week. Swap files are deleted, so it seems Vim is closing “normally”.

Has anybody encountered the same problem, and if so, any solution?

(I’m running Arch.)

Best,
Paul

-- 
--

-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Gmane