On Wed, 08 Apr 2009, Vishnu wrote:
> Note: Python feature must be enabled in your vim.

Thank you. I tried and it sais E319, and then I checked version and it
showed -python.  I hesitate to recompile (lazy etc).

> import vim
> 
> for bufx in vim.buffers:
>       if vim.current.buffer != bufx:
>               commandString = "bd! " + `bufx.number`
>               vim.command(commandString)

Do you (or anyone) know how to rewrite this using vimscript?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩315 王昌齡  出塞
    秦時明月漢時關  萬里長征人未還  但使龍城飛將在  不教胡馬渡陰山

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to