Re: v/V with a count

2012-05-26 Thread Ingo Karkat
On 26-May-2012 08:01, Christian Brabandt wrote: > Hi James! > > On Fr, 25 Mai 2012, James McCoy wrote: > >> On Fri, May 25, 2012 at 07:05:49AM -0700, Ben Fritz wrote: >>> Will this break typing 1v to reselect an area equal to the last >>> visual selection, but at the new cursor position? From jus

Re: bug related to patch 7.3.449 (Autocommands caused command to abort)

2012-05-26 Thread Christian Brabandt
Hi Alex! On Sa, 26 Mai 2012, Alex Efros wrote: > On Sat, May 26, 2012 at 07:59:41AM +0200, Christian Brabandt wrote: > > I don't think so, but Bram has the final saying. I would certainly find > > it unexpected, if this would quit my vim. The error is simply telling > > you, that an autocommand

Re: Updated fasm vim syntax file

2012-05-26 Thread Thilo Six
Hello Антон and Ron, Excerpt from Антон Кочков: > Hello! > I've updated fasm vim syntax file to match fasm-1.70.02 (latest > stable) version syntax and support 64bit, MMX, SSE1-SSE4, AVX-AVX2 > instructions. > Hope it can be useful. Looking at Антонs changes i found the following: 1) Why did yo

Re: Substitution of metacharacters

2012-05-26 Thread Christian Brabandt
On Do, 24 Mai 2012, Christian Brabandt wrote: > On Do, 24 Mai 2012, Bob von Knobloch wrote: > > Hi, I've searched all over but can't find an answer. How can one perform > > commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the > > gui's 'find and replace' dialogue? > > Not possib

Re: bug related to patch 7.3.449 (Autocommands caused command to abort)

2012-05-26 Thread Christian Brabandt
On Sa, 26 Mai 2012, Christian Brabandt wrote: > On Fr, 25 Mai 2012, Alex Efros wrote: > > Thanks! But, sorry, I just found another simple way to crash 7.3.530 > > without tabs: > > > > $ vi -u /dev/null --noplugin > > :autocmd BufWinLeave * if empty(getbufvar(0+expand(''), '&bt')) | > >

Re: Updated fasm vim syntax file

2012-05-26 Thread Антон Кочков
Hello! Sorry, I've downloaded file from board.flatassembler.net (bit updated), then update it by myself. Best regards, Anton Kochkov. On Sat, May 26, 2012 at 3:11 PM, Thilo Six wrote: > Hello Антон and Ron, > > > Excerpt from Антон Кочков: > >> Hello! >> I've updated fasm vim syntax file to mat

[patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-26 Thread Lech Lorens
The attached patch adds the "j" flag to 'formatoptions' which is described in todo.txt as follows: 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. It makes it possible to perform a join on the following lines: #v+ /* * Comment */ #v- to obtain: #v+ /* Comment */ #

autocmd causes other autocmds to not happen

2012-05-26 Thread Britton Kerin
The vim docs give me the impression that individual autocommands are executed independently. However... This sequence of autocommands: autocmd BufWritePost * if 0 | echo | endif autocmd BufWritePost * echo "foo" will not cause "foo" to be echoed when a buffer is written. Reversing

Re: [patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-26 Thread Gary Johnson
On 2012-05-26, Lech Lorens wrote: > The attached patch adds the "j" flag to 'formatoptions' which is > described in todo.txt as follows: > 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. Thank you! I'm continually removing comment leaders in the middle of joined com

patch: efm_perl missed some error messages

2012-05-26 Thread Alex Efros
Hi! Here is patch for syntastic, but it uses exact copy of Vim's /usr/share/vim/vim73/tools/efm_perl.pl, so patch will apply: https://github.com/powerman/syntastic/commit/1e99ed56b7cefde536997c037fff44be9fd26fab -- WBR, Alex. -- You received this message from the

Patch 7.3.531

2012-05-26 Thread Bram Moolenaar
Patch 7.3.531 (after 7.3.530) Problem:GUI does not work on MS-Windows. Solution: Add the missing #ifdef. (Patrick Avery) Files: src/gui.c *** ../vim-7.3.530/src/gui.c2012-05-25 14:06:18.0 +0200 --- src/gui.c 2012-05-27 00:34:51.0 +0200 *** *** 102,111

BUG: sh syntax mistakes here-strings for here-docs

2012-05-26 Thread Richard Bronosky
Steps to reproduce: curl https://raw.github.com/gist/2795766/heredoc.sh | vim - Version: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 24 2011 20:00:09) Compiled by r...@apple.com For your convenience I've included the syntax file in the gist: https://gist.github.com/2795766#L334 Am I missing

Re: autocmd causes other autocmds to not happen

2012-05-26 Thread Tony Mechelynck
On 26/05/12 21:31, Britton Kerin wrote: The vim docs give me the impression that individual autocommands are executed independently. However... This sequence of autocommands: autocmd BufWritePost * if 0 | echo | endif autocmd BufWritePost * echo "foo" will not cause "foo" to be