Re: Alternate .vimrc causes problems with Leader key

2014-09-07 Thread Adnan Zafar
On Sun, Sep 7, 2014 at 7:35 AM, Philip Rhoades wrote: > However, if I have all the above lines in ".vimrc_Maildir" and start vim > with: > > vim -u ./.vimrc_Maildir > > the test does not work! Hi Philip, When you start vim and it sees a .vimrc, then it sets nocompatible. However if you start v

Re: README.md to a doc?

2014-02-26 Thread Adnan Zafar
Hi Tim, Just leave the file as it is or delete it. Plugin authors provide files like that to provide information on GitHub pages for example. If you're installing the plugin using Pathogen or Vundle or one of the others, everything should be set up to just ignore it. If you're installing manually,

Re: Snipmates not working with Vundle

2013-10-16 Thread Adnan Zafar
; >>> Bundle "bonsaiben/bootstrap-snippets" The repository changed names to vim-snippets <https://github.com/honza/vim-snippets> a while ago. You can just use Bundle "honza/vim-snippets" --Adnan Zafar -- -- You received this message from the "vim_

Re: Incorrect syntax highlight of things like '\r' within EOF block in bash script

2013-07-17 Thread Adnan Zafar
On Wed, Jul 17, 2013 at 4:22 PM, Peng Yu wrote: > On Wed, Jul 17, 2013 at 3:09 PM, Adnan Zafar wrote: >> On Wed, Jul 17, 2013 at 4:02 PM, Peng Yu wrote: >>> Hi, >>> >>> vim can not syntax highlight the following script correctly. Does >>> anybody kn

Re: Incorrect syntax highlight of things like '\r' within EOF block in bash script

2013-07-17 Thread Adnan Zafar
On Wed, Jul 17, 2013 at 4:02 PM, Peng Yu wrote: > Hi, > > vim can not syntax highlight the following script correctly. Does > anybody know a better highlight plugin that can correct highlight it? > Thanks. > > ~/linux/test/latex/tex/bin$ cat main.sh > #!/usr/bin/env bash > > tex < \relax > Hello?

Re: find and replace with sequential numbers

2013-07-12 Thread Adnan Zafar
On Fri, Jul 12, 2013 at 12:21 PM, Chris Lott wrote: > I have a document with the following kind of text: > > ## 3. foo > > various text here > > ## 1. foo > > more text here > > What I would like to do is search for all the headers (## X. etc) and > replace them with the proper seq