Re: Arrows keys in insert mode stopped working...

2014-08-07 Thread Óscar Pereira
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Óscar Pereira | https://erroneousthoughts.org Rules of Optimisation: Rule 1: Don't do it. Rule 2

Re: Arrows keys in insert mode stopped working...

2014-08-07 Thread Óscar Pereira
On Thu, Aug 07, 2014 at 01:05:34PM +0200, Paolo Bolzoni wrote: It was not fault of the plugins... I was an unexpected side effect of "" inoremap "" I setup to push myself to use ctrl-c to change from insert mode to normal mode. It is possible to disable the esc key without breaking the arrows?

vim: leaders vs. character searches

2014-08-24 Thread Óscar Pereira
ating a previous character search in reverse is done with an underscore. This works really nicely, and I see no drawbacks -- other than the fact that it changes a vim default command... Does anyone see any problems with this solution, or has any other better alternatives? ---Óscar Pereira pgpsPhIeyVjT2.pgp Description: PGP signature

Re: best vim plugin for tex?

2014-09-03 Thread Óscar Pereira
(newclude package) and the \addbibresource (from biblatex). Both patches are available here: https://github.com/gauthma/myvim/tree/master/customizations Hope that helps, ---Óscar Pereira On Wed, Sep 03, 2014 at 02:24:50PM -0400, ping song wrote: I wanted to start to write some tex files in

Open folds in autocmd makes vim start at strange lines

2015-01-21 Thread Óscar Pereira
Dear all, I wanted a way to make vim, when opening a file, open all folds it contained. But *only* when opening the file: if I closed some folds on the original file and then switched to another window or buffer, when returning to the original one the folds I had closed should remain closed. The

Re: Open folds in autocmd makes vim start at strange lines

2015-01-22 Thread Óscar Pereira
this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Óscar Pereira | https://erroneousthoughts.org Rules of Optimisation: Rule 1: Don't do it. Rule 2 (for experts only): Don't do i

Re: Open folds in autocmd makes vim start at strange lines

2015-01-22 Thread Óscar Pereira
Unfortunately this does not work when the foldmethod is being set on modelines (which is often the case for me). Thus I resorted to BufWinEnter, which the docs explicitly say happens after modeline processing: http://vimdoc.sourceforge.net/htmldoc/autocmd.html#BufWinEnter On Wed, Jan 21, 2015 at

yank / delete / paste without output

2013-07-18 Thread Óscar Pereira
s bar to two lines permanently, but before I do that, is there a better way? I also tried setting ch inside the function, and outside the function but inside the map, before calling the function proper -- neither worked. So, ideas anyone? Thanks in advance for your help. --Óscar -- Óscar Pereir

Re: yank / delete / paste without output

2013-07-18 Thread Óscar Pereira
Yes that worked! Many thanks! :D --Óscar On Thu, Jul 18, 2013 at 12:04:18PM -0700, Gary Johnson wrote: > On 2013-07-18, Óscar Pereira wrote: > > Hello, > > > > I have a vimscript function, in which I yank some content, modify > > it, and then paste it back. The fun

Re: yank / delete / paste without output

2013-07-18 Thread Óscar Pereira
On Thu, Jul 18, 2013 at 03:22:33PM -0400, Benji Fisher wrote: > On Thu, Jul 18, 2013 at 3:04 PM, Gary Johnson wrote: > > > On 2013-07-18, Óscar Pereira wrote: > > > > > > normal! gv"xy > > > "... modify the text ... > > > normal!