Re[2]: Need help about 3 questions
Hello Bill, I don't use UTL.vim or Total Commander, so I can't help you. However, *.vba are vimballs (kind of like tarballs). All you do is edit one and it tells you what to do - type: :so % That will place the files in the appropriate directories (usually under your vimfiles subdirectory). The actual place is the first directory of 'rtp' (type :set rtp?). You should have a recent version of the vimball plugin (the one in the distribution is about 5 months old). You can the latest at the author's site: http://mysite.verizon.net/astronaut/vim or at vim online: http://vim.sf.net An even better approach for updating you runtime files is to update from the vim ftp site. For windows, and using 4nt as your shell, the command is: copy /[!*~] /u /s ftp://ftp.home.vim.org/pub/vim/runtime/dos/*; c:\vim\vim70\ That's all on one line. It copies all new or newer files for all subdirectories excluding files ending with '~'. c:\vim\vim70 is my runtime directory - replace it with yours. Sorry for my late reply due to network problem here yesterday. This problem solved. Thanks for your help. PS: About my question 3, maybe I should ask: How can I adjust vimrc configuration so tab alignment looks the same both in Vim and in Notepad? Best Regards, Raymond
Re[2]: Need help about 3 questions
Hello Bill, I don't use UTL.vim or Total Commander, so I can't help you. However, *.vba are vimballs (kind of like tarballs). All you do is edit one and it tells you what to do - type: :so % That will place the files in the appropriate directories (usually under your vimfiles subdirectory). The actual place is the first directory of 'rtp' (type :set rtp?). You should have a recent version of the vimball plugin (the one in the distribution is about 5 months old). You can the latest at the author's site: http://mysite.verizon.net/astronaut/vim or at vim online: http://vim.sf.net An even better approach for updating you runtime files is to update from the vim ftp site. For windows, and using 4nt as your shell, the command is: copy /[!*~] /u /s ftp://ftp.home.vim.org/pub/vim/runtime/dos/*; c:\vim\vim70\ That's all on one line. It copies all new or newer files for all subdirectories excluding files ending with '~'. c:\vim\vim70 is my runtime directory - replace it with yours. Sorry for my late reply due to network problem here yesterday. This problem solved. Thanks for your help. PS: About my question 3, maybe I should ask: How can I adjust vimrc configuration so tab alignment looks the same both in Vim and in Notepad? Best Regards, Raymond
Re: Need help about 3 questions
Raymond wrote: [...] How can I adjust vimrc configuration so tab alignment looks the same both in Vim and in Notepad? Best Regards, Raymond Leave 'tabstop' at its default of 8, since (IIUC) the width of tab stops is not user-settable in Notepad. If you have any files that look different in Vim and Notepad, use :verbose setlocal tabstop?, the active cursor being in that file, to see where the option was last set. If, for instance, the file has a |modeline| setting 'tabstop' or 'ts' to anything other than 8, Vim won't display the file the same way as Netscape. Best regards, Tony.
Re[2]: Need help about 3 questions
Hello Tony, How can I adjust vimrc configuration so tab alignment looks the same both in Vim and in Notepad? Leave 'tabstop' at its default of 8, since (IIUC) the width of tab stops is not user-settable in Notepad. If you have any files that look different in Vim and Notepad, use :verbose setlocal tabstop?, the active cursor being in that file, to see where the option was last set. If, for instance, the file has a |modeline| setting 'tabstop' or 'ts' to anything other than 8, Vim won't display the file the same way as Netscape. Thanks for your reply. I've found the way to make tab alignments look alike both in Vim and Total Commander, and it's simple. Edit [Lister] section of TC config file wincmd.ini, add this line: TabWidth=4 Best Regards, Raymond
Re: Need help about 3 questions
Raymond wrote: Hello all, I'm new to Vim, now i'm using GVim 7.0 on Windows system. Here is my questions. [...] 2. Now I know how to install *.vim plugin. Then I encounter VISINCR.VBA plugin (http://www.vim.org/scripts/script.php?script_id=670). How to install this kind of *.vba plugin? [...] That's a vimball. Load it into Vim, and it will tell you to source it to install its contents. For more info, see :help pi_vimball.txt. Best regards, Tony.
Need help about 3 questions
Hello all, I'm new to Vim, now i'm using GVim 7.0 on Windows system. Here is my questions. 1. Just installed UTL.VIM plugin ( http://vim.sf.net/script.php?script_id=293). Its \gu feature is usful to me. One thing I couldn't figure out is how to highlight URLs and email address in text file. According to its doc file this should be possible. Could any one help me? 2. Now I know how to install *.vim plugin. Then I encounter VISINCR.VBA plugin (http://www.vim.org/scripts/script.php?script_id=670). How to install this kind of *.vba plugin? 3. Anyone here use Total Commander? When viewing Vim-edited file with TC lister, tab alignment is a little mess up. How can I adjust vimrc configuration so tab alignment looks the same both in Vim and in TC lister? At present related configuration in my vimrc like this: set tabstop=4 set shiftwidth=4 I appreciate if anyone could help me. Best Regards, Raymond
Re: Need help about 3 questions
On Sun 22-Oct-06 11:09pm -0600, Raymond wrote: I'm new to Vim, now i'm using GVim 7.0 on Windows system. Here is my questions. 2. Now I know how to install *.vim plugin. Then I encounter VISINCR.VBA plugin (http://www.vim.org/scripts/script.php?script_id=670). How to install this kind of *.vba plugin? I don't use UTL.vim or Total Commander, so I can't help you. However, *.vba are vimballs (kind of like tarballs). All you do is edit one and it tells you what to do - type: :so % That will place the files in the appropriate directories (usually under your vimfiles subdirectory). The actual place is the first directory of 'rtp' (type :set rtp?). You should have a recent version of the vimball plugin (the one in the distribution is about 5 months old). You can the latest at the author's site: http://mysite.verizon.net/astronaut/vim or at vim online: http://vim.sf.net An even better approach for updating you runtime files is to update from the vim ftp site. For windows, and using 4nt as your shell, the command is: copy /[!*~] /u /s ftp://ftp.home.vim.org/pub/vim/runtime/dos/*; c:\vim\vim70\ That's all on one line. It copies all new or newer files for all subdirectories excluding files ending with '~'. c:\vim\vim70 is my runtime directory - replace it with yours. -- Best regards, Bill