I'd like to list in the statusline the current buffer number and the
total number of open buffers. For example, if there are nine buffers
open and I'm viewing buffer number two, I'd like to see:
~/somefilename.txt [2/9]
I see that %n will place the current buffer number, but there doesn't
seem
On 2010-01-19, Peter Berntsen wrote:
> Running 7.2.245 under Slackware Linux 13.0 and I have noticed that
> my .vimrc file doesn't seem to be read. For example to not keep a
> backup file I comment out the code for that in the vimrc file like
> this.
> "if has("vms")
> " set nobackup " do
On Tue, 19 Jan 2010, Matt Wozniski wrote:
> On Tue, Jan 19, 2010 at 8:01 PM, Benjamin R. Haskell wrote:
> > Using this following minimal example, with foldmethod=marker:
> >
> > $ cat foldtest.txt
> > {{{
> > }}}
> >
> > If I close the fold on the last character of a line, 'l' will not
> > open t
On Tue, Jan 19, 2010 at 8:01 PM, Benjamin R. Haskell wrote:
> Using this following minimal example, with foldmethod=marker:
>
> $ cat foldtest.txt
> {{{
> }}}
>
> If I close the fold on the last character of a line, 'l' will not open
> the fold.
This is by design, l only opens the fold if the cur
Using this following minimal example, with foldmethod=marker:
$ cat foldtest.txt
{{{
}}}
If I close the fold on the last character of a line, 'l' will not open
the fold. It's actually more annoying with foldmethod=syntax, with
closing braces in column 1:
$ cat foldtest.c
void f() {
}
void g()
Chris Jones-44 wrote:
>
> Hmm.. I see your point. But in that event, wouldn't 'txt.vim' be the
> reserved name for a standard syntax file for files with filetype=txt?
>
> And as the overview in 'txt.txt' indicates, 'txt.vim' does quite a few
> things apart from syntax highligthing
>
Hi:
Than
On Jan 19, 4:18 am, Yosi Izaq wrote:
> I have two gvim 7.2 installs on my machine. One for cygwin and another
> for windows. I recently noticed that the windows gvim is actually
> loading the cygwin ~/.vimrc file instead of the Program file/vim/
> _vimrc file.
> How come?
Vim will always source
On Mo, 18 Jan 2010, Christian Brabandt wrote:
> > The amusing part was that you could watch as the editor replayed your
> > actions at an accelerated speed. I don't recall that the speed was
> > adjustable, but that would be useful.
[…]
While we are at that part, I started to read into the undo-
On Tue, Jan 19, 2010 at 3:36 PM, MK wrote:
> On Tue, 19 Jan 2010 12:28:45 -0500 (EST)
> "Benjamin R. Haskell" wrote:
>> Ubuntu 9.10's /usr/share/vim/vimrc contains:
>>
>> if has("syntax")
>> syntax on
>> endif
>>
>> Try commenting that out, for starters. Otherwise, I'll keep digging.
>> FC 9
I like to save the state of my files before I leave vim using the
:mkview command, and reload it using the :loadview command,
so I tried to add them to the .vimrc file to get vim to do this
automatically:
au BufWinLeave * mkview
au BufWinEnter * silent loadview
But everytime it runs, I get a stra
On 19 jan, 22:25, Christian Brabandt wrote:
> Hi epanda!
>
> On Di, 19 Jan 2010, epanda wrote:
>
> > I have seen the finddir func but it might that I have to enter a
> > searchedDir name.
>
> > How list all sub directories from a path and stored found pathSubDirs
> > into a map or List.
>
> Does
Hi epanda!
On Di, 19 Jan 2010, epanda wrote:
> I have seen the finddir func but it might that I have to enter a
> searchedDir name.
>
> How list all sub directories from a path and stored found pathSubDirs
> into a map or List.
Does this what you want:
:echo glob('path/**/')
regards,
Christian
Hi,
I have seen the finddir func but it might that I have to enter a
searchedDir name.
How list all sub directories from a path and stored found pathSubDirs
into a map or List.
Thanks
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/mailli
On Tue, 19 Jan 2010 12:28:45 -0500 (EST)
"Benjamin R. Haskell" wrote:
> Ubuntu 9.10's /usr/share/vim/vimrc contains:
>
> if has("syntax")
> syntax on
> endif
>
> Try commenting that out, for starters. Otherwise, I'll keep digging.
> FC 9 and 10 don't appear to have a similar 'global vimrc
Running 7.2.245 under Slackware Linux 13.0 and I have noticed that
my .vimrc file doesn't seem to be read. For example to not keep a
backup file I comment out the code for that in the vimrc file like
this.
"if has("vms")
" set nobackup " do not keep a backup file, use versions
instead
"els
Hi,
I am using gVim 7.2 under Windows 7 and I have customized my En-Us
keyboard using the MS Keyboard Layout Creator, so that it contains
not only English characters, but also Czech ones and others (e.g.
Latin long
vocals), which have diacritical marks. It works perfectly well in all
programs but
On Jan 19, 9:29 am, Torsten Andre wrote:
> Hi there,
> I'm close to smashing my monitor at the wall, so please bare with me ;)
>
> I have the problem that when I follow symbol from one file, everything
> works fine, from another vim tells me that it cannot find the tag. So
> how did I get here?
On Tue, 19 Jan 2010, MK wrote:
> On Sun, 17 Jan 2010 18:06:29 +0100
> Tony Mechelynck wrote:
> > Like Ben said, I suspect that you're doing ":syntax on" (which
> > reloads the colorscheme if any, and if none, the compiled-in
> > defaults) after your ":hi" statements, so that the latter are
> >
On 2010-01-19, Yosi Izaq wrote:
> Hi,
>
> I have two gvim 7.2 installs on my machine. One for cygwin and another
> for windows. I recently noticed that the windows gvim is actually
> loading the cygwin ~/.vimrc file instead of the Program file/vim/
> _vimrc file.
> How come?
:help _vimrc
> a
Hi there,
I'm close to smashing my monitor at the wall, so please bare with me ;)
I have the problem that when I follow symbol from one file, everything
works fine, from another vim tells me that it cannot find the tag. So
how did I get here?
I have the following directory setup:
/project
/som
> This is impossible to use. It's just too slow..
> Such a feature must have an index, otherwise it's useless.
The file list is generated only once. If there are several tenthousand
files in the directory + subdirectories, then it probably is the
presentation of the file list that is slow -- I can
Hi,
I'm trying to use these mappings:
map j
map k
map h
map l
They usually work fine, but sometimes (I don't understand exactly
when) the c-j mapping does other things. In this moment, while I'm
editing a php it brings me to the "insert mode".
In my vimrc that is the only setting regarding c
On Tue, Jan 19, 2010 at 3:51 AM, Jürgen Krämer wrote:
>
> Hi,
>
> Albie Janse van Rensburg wrote:
>> Matt Wozniski wrote on 19/01/2010 07:04 AM:
>>> Your vim is running in vi-compatible mode. Fixing this should be as easy as
>>>
>>> echo "set compatible" >>~/.vimrc
>>>
>>> ~Matt
>>>
>>
>> Shou
On Sun, 17 Jan 2010 18:06:29 +0100
Tony Mechelynck wrote:
> Like Ben said, I suspect that you're doing ":syntax on" (which reloads
> the colorscheme if any, and if none, the compiled-in defaults) after
> your ":hi" statements, so that the latter are overriden.
No! As I mentioned in the first em
Excerpts from KKde's message of Tue Jan 19 11:42:40 +0100 2010:
>
> > -> :h garbagecollect()
>
> Ok. I understood through garbagecollect we can cleanup unused lists or
> dict. My question is will VIM will automatically recover the memory
> once the complete function completes?
I'm not going to gi
On Dec 29 2009, 5:15 pm, bill lam wrote:
> you may have look at the project plugin that I used to manage over 1000
> files. There is a very short introduction at
>
> http://ariya.blogspot.com/2008/07/vim-lightning-fast-navigation-in-la...
Thanks, I'll try it. I hope it can scale for bigger proje
On Jan 5, 10:09 am, Tom Link wrote:
> Are you calling :TSelectFilesInSubdirs?
This is impossible to use. It's just too slow..
Such a feature must have an index, otherwise it's useless.
Didn't you say you have a plugin that uses the git index ? Can I
please use it ?
Thanks
--
You received this
Joan Miquel Torres Rigo wrote:
> Instead of that, when I need to pick for some file, I simply execute
> ":tabedit ." (note the final dot) which opens current directory in new tab.
Did you mean ":tabnew ." ?
Anyway, this method force me to browse for my file. Think of a huge
project (e.g. linux ke
> -> :h garbagecollect()
Ok. I understood through garbagecollect we can cleanup unused lists or
dict. My question is will VIM will automatically recover the memory
once the complete function completes?
--
You received this message from the "vim_use" maillist.
For more information, visit http://
Hi,
I have two gvim 7.2 installs on my machine. One for cygwin and another
for windows. I recently noticed that the windows gvim is actually
loading the cygwin ~/.vimrc file instead of the Program file/vim/
_vimrc file.
How come? and how can I fix that?
TIA,
Yosi
--
You received this message fro
On Sat, Jan 16, 2010 at 09:36:56PM EST, vimer_at_cn wrote:
>
>
> Chris Jones-44 wrote:
> >
> > This makes me think that it might be a good idea to find a more
> > distinctive name for your file names, and possibly the corresponding
> > tags in the help file..
> >
> > Why not PlainTextBrowser.v
Hi,
Albie Janse van Rensburg wrote:
> Matt Wozniski wrote on 19/01/2010 07:04 AM:
>> Your vim is running in vi-compatible mode. Fixing this should be as easy as
>>
>> echo "set compatible" >>~/.vimrc
>>
>> ~Matt
>>
>
> Shouldn't that be as follows?
>
> echo "set nocompatible" >>~/.v
Matt Wozniski wrote on 19/01/2010 07:04 AM:
> Your vim is running in vi-compatible mode. Fixing this should be as easy as
>
> echo "set compatible" >>~/.vimrc
>
> ~Matt
>
Shouldn't that be as follows?
echo "set nocompatible" >>~/.vimrc
--
[ Albie Janse van Rensburg ~ http://morph.
What's your nerdtree plugin's version?
My version is 4.1.0 and works well. It may be work well if you try it.
My vim version is 7.2.245 in ubuntu 8.04.
2010/1/19 gaoxt1983
>
> There is a situation I must use a source-compiled vim, so I downloaded
> vim72
> and run configure , make, make install
34 matches
Mail list logo