|okdavinci||let me have a try|
:split BufName ,but a new file was created
how to use one of the buffers comand.could you give me a example.thanks verymuch.
:split buffer Bufname?
|twb||Quick question: I have "syn on" in .vimrc. Some of my hosts have a vim without the syn feature, so it complains when I start vim. Can I put something like "if syn: syn on" instead, so that these hosts don't complain?|
|ipkiss||twb: :h has()|
|twb||E433: No tags file|
E149: Sorry, no help for has()
|ipkiss||go on one of your hosts where vim is correctly installed :)|
|twb||Eek. How do I terminate an if branch?|
|DustyDingo||hm, the 'gd' feature to jump to the definition of a local variable doesn't seem to work as it should, when the local variable is a function argument|
|tirkal||is there a keybinding to :bd?|
|ipkiss||twb: :h :if|
|DustyDingo||in C++ it often puts the curser to a different function, which has the same argument by name|
|okdavinci||got it. :snext :sbuff Buffname|
|DustyDingo||but of course this isn't the behaviour you expect,..|
am i doing something wrong ot is it just the case?
|ipkiss||tirkal: no there isn't by default|
|twb||So is this right? http://twb.ath.cx/~twb/scratch/profile/.vimrc|
|ipkiss||DustyDingo: I noticed that namespaces often confuse vim (in particular for [[ and ]])|
|tirkal||ipkiss: maybe for Quit Window then?|
|ipkiss||tirkal: why not making your own mapping, if you feel the need for it?|
|tirkal||just seemed like a common need :)|
don't you guys use :bd lots of times per day?
which reminds me: why isn't there a shortcut for :bn?
|DustyDingo||ipkiss: i think it treetsthe whole file as just one big space and jumps to the fist definition of the variable, even when it is in a complete other function|
|ipkiss||tirkal: i don't use it much, because often i don't care about the buffer still being loaded|
|DustyDingo||so maybe this feature is just half-backed, tho it would be a killer|
|ipkiss||DustyDingo: as explained in :h gd, it relies on [[|
|tirkal||ipkiss: still, it would make sense to bind something to :bn|
|DustyDingo||ipkiss: stupid :(|
|ipkiss||tirkal: i did map something to :bn :)|
|tirkal||what did you map to it?|
do you use bufexplorer or something like it?