Vim 7.2.411 won't work on CentOS 2.6.32-504.3.3.el6.x86_64

2014-12-29 Thread eiger3970
Hello, I install Vim on CentOS with command # yum install vim. This works, but then running vim gives error: [root@centos public_html]# vim contactus.html Error detected while processing /etc/vimrc: line 50: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to co

Is there a way to incsearch with folded context

2014-12-29 Thread Kevin Wu
When I do searching, the cursor would jump to the first match, if I set "incsearch". But it's not true with folded context. Specifically speaking, What I want to get is that when searching, the folded context would be unfold automatically and the cursor would jump into where the first match is,

Re: [ANN] Vim for Windows build, contains all 3rd party dependencies

2014-12-29 Thread Kevin O'Gorman
Me too. I hate wordpad. On Sun, Dec 28, 2014 at 8:53 AM, Shiny Bling wrote: > On Sunday, 28 December 2014 14:21:18 UTC+1, Fernando Basso wrote: > > On Saturday, December 27, 2014 7:47:14 PM UTC-2, Shiny Bling wrote: > > > > > > Please let me know whether any of you find my effort useful. > > >

Re: Is there a way to incsearch with folded context

2014-12-29 Thread Gary Johnson
On 2014-12-28, Kevin Wu wrote: > When I do searching, the cursor would jump to the first match, if > I set "incsearch". > But it's not true with folded context. > Specifically speaking, What I want to get is that when searching, > the folded context would be unfold automatically and the cursor > wo

Makefile editing slightly broken

2014-12-29 Thread Kevin O'Gorman
I dunno what happened, I'm still using the same .vimrc I have for years, but lately there's a glitch when I'm editing a Unix makefile. When I start to edit the commands for a rule, it uses spaces instead of a tab to position the command. For makefiles, of course, this is wrong. Vim even knows th

Re: Vim 7.2.411 won't work on CentOS 2.6.32-504.3.3.el6.x86_64

2014-12-29 Thread Gary Johnson
On 2014-12-28, eiger3970 wrote: > Hello, > I install Vim on CentOS with command # yum install vim. > This works, but then running vim gives error: > > [root@centos public_html]# vim contactus.html > Error detected while processing /etc/vimrc: > line 50: > E484: Can't open file /usr/share/vim/syn

How do I open a new window without losing focus in the current one?

2014-12-29 Thread Jeff Baxter
If I use :new [filename] the file is opened in a split window, but the focus is also shifted there, whereas I want it to stay in the current window. How can I do that? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replyi

Re: How do I open a new window without losing focus in the current one?

2014-12-29 Thread Tim Chase
On 2014-12-29 06:18, Jeff Baxter wrote: > If I use > > :new [filename] > > the file is opened in a split window, but the focus is also shifted > there, whereas I want it to stay in the current window. > > How can I do that? I'm not sure it's possible to open an unfocused window. However, you

Re: Is there a way to incsearch with folded context

2014-12-29 Thread Kevin Wu
Gary Johnson於 2014年12月30日星期二UTC+8上午3時30分04秒寫道: > On 2014-12-28, Kevin Wu wrote: > > When I do searching, the cursor would jump to the first match, if > > I set "incsearch". > > But it's not true with folded context. > > Specifically speaking, What I want to get is that when searching, > > the folde

Re: Makefile editing slightly broken

2014-12-29 Thread Ben Fritz
On Monday, December 29, 2014 1:32:39 PM UTC-6, Kevin O'Gorman wrote: > I dunno what happened, I'm still using the same .vimrc I have for years, but > lately there's > a glitch when I'm editing a Unix makefile. > > When I start to edit the commands for a rule, it uses spaces instead of a tab > to

Re: How do I open a new window without losing focus in the current one?

2014-12-29 Thread Ben Fritz
On Monday, December 29, 2014 8:18:54 AM UTC-6, Jeff Baxter wrote: > If I use > > :new [filename] > > the file is opened in a split window, but the focus is also shifted there, > whereas I want it to stay in the current window. > > How can I do that? There is the :pedit command to open that fi

Re: Is there a way to incsearch with folded context

2014-12-29 Thread Gary Johnson
On 2014-12-29, Kevin Wu wrote: > Gary Johnson於 2014年12月30日星期二UTC+8上午3時30分04秒寫道: > > On 2014-12-28, Kevin Wu wrote: > > > When I do searching, the cursor would jump to the first match, if > > > I set "incsearch". > > > But it's not true with folded context. > > > Specifically speaking, What I want t