Re: NERDTree plugin side bar width

2011-03-16 Thread jailed
Hi I figured it out. There is a line (:91) in the NERD_tree.vim file call s:initVariable(g:NERDTreeWinSize, 31) I changed this according to the value I needed. Not sure if this is a good way but worked for me. Thank you. -- View this message in context:

NERDTree plugin side bar width

2011-03-16 Thread jailed
Hi all, I'm using the nerdtree plugin. I would like to know if we can change the width of the sidebar which shows the contents of the root directory (the NerdTree), either make it more wider or less wider. If so please let me know how this can be accomplished. Thank you. -- View this message

Re: Reformatting numbered lists [Was: formatlistpat escape \]

2011-03-16 Thread Erik Christiansen
On Wed, Mar 16, 2011 at 01:12:03AM +1100, Ben Schmidt wrote: Do you have n in your formatoptions to enable numbered list formatting? :set fo+=n Doing the set command from my last post, plus the one just above, makes it work for me. Doh, I haven't fiddled with formatoptions for many

Re: NERDTree plugin side bar width

2011-03-16 Thread Jürgen Krämer
Hi, jailed wrote: I figured it out. There is a line (:91) in the NERD_tree.vim file call s:initVariable(g:NERDTreeWinSize, 31) I changed this according to the value I needed. Not sure if this is a good way but worked for me. you should better not modify the script, because your changes

Re: NERDTree plugin side bar width

2011-03-16 Thread Vladislav Rovda
Also you can use shift + A to zoom (maximize - minimize) NERD tree window -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: g` appearing in Vim.+ tabs management question.

2011-03-16 Thread Eddine
It's LIKE it's folded, or it IS folded? Is there a foldcolumn? Can you unfold it? Or do you just mean, no text is displayed? it's LIKE ie I can't unfold it, there is no foldcolumn. from the beginning of the file to the 1st line of the vim screen and everything is collapsed. And the

capturing command output

2011-03-16 Thread sinbad
hi, how to capture vim command output into a register or into a new window. for example i want the output set or set all or hi command to be captured in to a window. please let me know how to do this. thanks -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: capturing command output

2011-03-16 Thread John Little
On Mar 16, 9:47 pm, sinbad sinbad.sin...@gmail.com wrote: how to capture vim command output into a register or into a new window... See help :redir. For example, :redir set.txt :set all :redir END :e set.txt HTH, John -- You received this message from the vim_use maillist. Do not top-post!

Re: g` appearing in Vim.+ tabs management question.

2011-03-16 Thread Christian Brabandt
On Wed, March 16, 2011 9:43 am, Eddine wrote: :help 'tabline' and :help 'guitablabel' and follow the links. Somewhere in there is a setting to add a close button on each tab (in a position you specify). I know those pages, but not sure a graphical closing cross sign is implemented. Thank

Re: g` appearing in Vim.+ tabs management question.

2011-03-16 Thread Eddine
it's a feature that really misses; it would be great to have it in graphical native mode in gVim, whithout having to add this layer of settings. Too bad. Anyway thank you all for replying to me. 2011/3/16 Christian Brabandt cbli...@256bit.org: On Wed, March 16, 2011 9:43 am, Eddine wrote:

Re: capturing command output

2011-03-16 Thread donothing successfully
On 16 March 2011 08:47, sinbad sinbad.sin...@gmail.com wrote: how to capture vim command output into a register or into a new window. Ooh, I've just written my first attempt at a vimscript function (feedback welcome). It redirs to a variable, so doesn't use a register or a temp file. This

hit-return when pattern not found

2011-03-16 Thread Hofmann, Joachim
Hello, I start vim with some file and search argument: gvim +?0 Datei(en) BefehlsausgabenVoll.log When the pattern is not found: BefehlsausgabenVoll.log 148L, 8098C Error detected while processing command line: E486: Pattern not found: 0 Datei(en) Press ENTER or type command to continue How

Re: Reformatting numbered lists [Was: formatlistpat escape \]

2011-03-16 Thread Bee
On Mar 16, 12:02 am, Erik Christiansen dva...@internode.on.net wrote: On Wed, Mar 16, 2011 at 01:12:03AM +1100, Ben Schmidt wrote: Do you have n in your formatoptions to enable numbered list formatting?    :set fo+=n Doing the set command from my last post, plus the one just above, makes

Using viB commands

2011-03-16 Thread Виктор Малов
Hi, everyone. I have question about using commands viB. In vim help is told that: inner Block select [count] Blocks, from [count] [{ to the matching '}', excluding the '{' and '}' (see |[{|). But on this simple example that doesn't working like I and many others are expected: {

Re: hit-return when pattern not found

2011-03-16 Thread John Little
On Mar 17, 12:02 am, Hofmann, Joachim j.hofm...@e-punkt.eu wrote: gvim  +?0 Datei(en) BefehlsausgabenVoll.log How can I smooth this, so that I don't have to hit enter? gvim +:silent! ?0 Datei(en) BefehlsausgabenVoll.log is close, but not exactly the same, as it uses :? and leaves the cursor

Re: try not converting error to exception bug? (was hit-return when pattern not found)

2011-03-16 Thread Tim Chase
On 03/16/2011 06:02 AM, Hofmann, Joachim wrote: gvim +?0 Datei(en) BefehlsausgabenVoll.log When the pattern is not found: BefehlsausgabenVoll.log 148L, 8098C Error detected while processing command line: E486: Pattern not found: 0 Datei(en) Press ENTER or type command to continue How can I

Perl indent in vim 7.3

2011-03-16 Thread skrisna
Hello, I recently moved to Vim 7.3 from Vim 7.2. I use Vim primarily for coding Perl. The first thing I noticed today was that the indenting is not what I would expect-- Code Snippet - Line 1: if( $hello ){ Line 2: @add = mysub(\@add, hello\n); Line 3: print @add,\n; Line

script to download scripts from vim.org

2011-03-16 Thread Amit Agarwal
Hi All, I have written a script to download scripts for vim directly from the www.vim.org site. Please find a link to the same : http://blog.amit-agarwal.co.in/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/ I would like to put that on www.vim.org site, if that is

VIM 7.3 Problem with F1-F10 in terminal ubuntu 10.10

2011-03-16 Thread markus1189
Hi, i have a really strange problem: When i use vim in the console, the f1-10 is somehow broke: F1 inserts P F2 inserts Q F3 inserts R F4 inserts S F5-10 inverts the case This is really annoying... Somehow this bug does not occur with gvim I even tried it with a clean vimrc but no

Re: VIM 7.3 Problem with F1-F10 in terminal ubuntu 10.10

2011-03-16 Thread John Little
When i use vim in the console, the f1-10 is somehow broke: F1 inserts P Your $TERM setting does not match the console. By console, I thought you meant what I get when I type ctrl-alt-f1, but I've got doubts because in my console the escape sequence for F1 is esc[[A, but your F1 is giving the

Hey, trying to write the vimrc example to my vimrc, get message saying cant

2011-03-16 Thread Ben Farquhar
Hi, Im doing vimtutor. In particular, this: 1. Start editing the vimrc file. This depends on your system: :e ~/.vimrc for Unix :e $VIM/_vimrc for MS-Windows 2. Now read the example vimrc file contents: :r $VIMRUNTIME/vimrc_example.vim 3. Write

Re: Hey, trying to write the vimrc example to my vimrc, get message saying cant

2011-03-16 Thread ConcreteVitamin
Hi Ben, I recommend reading the vimtutor through before doing anything you can't master as of now. Regards, Covi On Thu, Mar 17, 2011 at 10:21 AM, Ben Farquhar benni.farqu...@gmail.comwrote: Hi, Im doing vimtutor. In particular, this: 1. Start editing the vimrc file. This depends on your

Re: VIM 7.3 Problem with F1-F10 in terminal ubuntu 10.10

2011-03-16 Thread bill lam
On my framebuffer term, F1 is ^[OP I use map #1 to map #12 for mapping F1 to F12, it may also work for you. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from