Paste with movements

2013-11-04 Thread Егор
I have text like this http://example.com/"; class="test-class">Link Now I want change link text. Also in buffer I have text I need to set to link. I need to put cursor on "L" paste from buffer with "P" key and then delete text from "L" till "<". Is it possible to paste text with deleting word?

Re: Help! OS X folded sections: invisible in Terminal (but visible in iTerm2)

2013-11-04 Thread Justin M. Keyes
On Mon, Nov 4, 2013 at 5:40 PM, Bruno Sutic wrote: > Hi, > I'm using terminal vim 7.4 on OS X. > I was surprised to discover that in Terminal app, folded sections aren't > displayed properly - they're invisible! > > If I open the same file (same vimrc, same colorscheme, same everything) in > iTe

Re: gvim window shrinks after executing "set guifont" in session file

2013-11-04 Thread Tony Mechelynck
On 31/10/13 20:43, unam3 wrote: …In arch linux in vim 7.3, 7.4 by `gvim -S session` or ":so session". In 7.3 this thing can be curing by adding "win …" after "set guifont=…" in session file, but not in 7.4. In 7.4 i try to make session with appropriate window size by adding to 'ses

Help! OS X folded sections: invisible in Terminal (but visible in iTerm2)

2013-11-04 Thread Bruno Sutic
Hi, I'm using terminal vim 7.4 on OS X. I was surprised to discover that in Terminal app, folded sections aren't displayed properly - they're invisible! If I open the same file (same vimrc, same colorscheme, same everything) in iTerm2, folded sections are displayed nicely. How come? Since I'd

Re: Error browsing epub (zip) files (cdpath)

2013-11-04 Thread Chris Lott
On Mon, Nov 4, 2013 at 6:07 AM, Charles E Campbell < drc...@campbellfamily.biz> wrote: > And then I tried using the autocmd you gave above in my .vimrc file on an > epub file that had plenty of spaces in it: > > $HOME/Calibre Library/John Schember/Calibre Quick Start Guide > (1)/Calibre Quick St

Re: formatting C code

2013-11-04 Thread Ben Fritz
On Sunday, November 3, 2013 11:55:18 PM UTC-6, ranjit...@gmail.com wrote: > Hi, > > I want to format all the lines like "if(CONDITION)return false;" > > to: "if(CONDITION) > > return false;" > > > > ie) I want to separate the 'if(CONSITION) statement' an

Re: why is terminal multiplexing (TMUX, Screen) useful with VIM?

2013-11-04 Thread Tim Chase
On 2013-11-04 04:54, Gallagher Polyn wrote: > My question is why wouldn't solo coding in the terminal with tabbed > windows plus VIM alone be sufficient? Assuming no need to share > one's terminal with others, what does terminal multiplexing give > the VIM user that they don't already have? In add

Re: why is terminal multiplexing (TMUX, Screen) useful with VIM?

2013-11-04 Thread Matteo Cavalleri
> My question is why wouldn't solo coding in the terminal with tabbed windows > plus VIM alone be sufficient? Assuming no need to share one's terminal with > others, what does terminal multiplexing give the VIM user that they don't > already have? I think it's (as usual) a matter of personal pr

Re: Error browsing epub (zip) files (cdpath)

2013-11-04 Thread Charles E Campbell
Chris Lott wrote: au BufReadCmd *.epub call zip#Browse(expand("")) Looks like yet another suffix for zip files (there are 36 and counting...). I use calibre to see epub files myself, so I'm not sold on making *.epub files part of the standard zip recognition autocmds. Netrw's "x" comm

why is terminal multiplexing (TMUX, Screen) useful with VIM?

2013-11-04 Thread Gallagher Polyn
With the arrival of a new laptop, I'm attempting to learn all-new best practices for programming, including using VIM as my primary editor. In the course of learning VIM online, I've run across a few tutorials by Chris Hunt, in which he touts the use of TMUX with VIM (for example, www.youtube.c

Re: 't_Co' is always set to 256 if 'nocompatible' is set

2013-11-04 Thread fechnedu
Sorry for reposting this message, I accidently hit the post button when I wasn't finished yet: Hey, first of all, thanks for your detailed and very helpful post :) On Monday, November 4, 2013 2:14:24 AM UTC+1, Tony Mechelynck wrote: > The colours Vim uses depend on its colorscheme. If you don't

Re: 't_Co' is always set to 256 if 'nocompatible' is set

2013-11-04 Thread fechnedu
Hey, first of all, thanks for your detailed and very helpful post :) On Monday, November 4, 2013 2:14:24 AM UTC+1, Tony Mechelynck wrote: > The colours Vim uses depend on its colorscheme. If you don't set any, > you get the default colours, which use only the 16 color codes > compatible with any

Re: Why is this VimLeave autocommand causing 'E749: empty buffer' ?

2013-11-04 Thread Paul
On Wednesday, 30 October, 2013 at 21:11:21 GMT, Thiago de Arruda wrote: I'm trying to setup vim to save all files when it receives SIGTERM, here's the relevant vim command: au VimLeave * if v:dying | wa | endif This should write all buffers when vim exits. From another terminal if I kill v