Re: vim72 for redhat enterprise 4
On 26/11/09 09:11, thgr wrote: Thank you very much for your help! Sorry for the long delay in my answer - i was very busy at work. I did not have my own .vimrc file: after copying my standard gvimrc the tab completion worked. But the :e . to browse the file system still does not work. Tried to install netrw.vim but that resulted in the error E492: Not an editor command: UseVimball when :so % sourcing the .vim file. But on the M$ windows machines and on the 6.3 versions on linux :e . works out of the box - am I missing here something too? Again lots of thanks for your advice! 1. You may want to read my Compiling HowTo pages: - for Unix/Linux: http://users.skynet.be/antoine.mechelynck/vim/compunix.htm - for Windows: http://users.skynet.be/antoine.mechelynck/vim/compile.htm The Unix/Linux version includes an example set of configure arguments which I set by means of environment variables, so they'll stick even if make decides to re-run configure (e.g. because a change in src/auto/configure forces it to rebuild the Makefile). It is what I use: you'll want to change (as a minimum) the compiled by setting. Both versions mention not only how to compile Vim but also - where to get the patches (Vim 7.2 has seen 315 official patches as of this writing); - where to get the latest runtime files (changes to the runtime files are only rarely mentioned in the patches). 2. To browse the current directory, it is better to use :e ./ where the trailing slash makes it obvious to the netrw plugin that it is a directory. No need to reinstall netrw unless the version that comes with Vim isn't good enough for you. 3. Please bottom-post next time (and trim irrelevant text in the quoted email), see http://groups.google.com/group/vim_use/web/vim-information Best regards, Tony. -- The men sat sipping their tea in silence. After a while the klutz said, Life is like a bowl of sour cream. Like a bowl of sour cream? asked the other. Why? How should I know? What am I, a philosopher? -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php
Re: vim72 for redhat enterprise 4
Thank you very much for your help! Sorry for the long delay in my answer - i was very busy at work. I did not have my own .vimrc file: after copying my standard gvimrc the tab completion worked. But the :e . to browse the file system still does not work. Tried to install netrw.vim but that resulted in the error E492: Not an editor command: UseVimball when :so % sourcing the .vim file. But on the M$ windows machines and on the 6.3 versions on linux :e . works out of the box - am I missing here something too? Again lots of thanks for your advice! On Nov 12, 6:45 am, pansz panshi...@routon.com wrote: thgr写道: Hi vim users, I want to use all the great features of vim version 7 for redhat enterprise linux 4 (comes with vim 6.3) - so i downloaded the sources and compiled. But now I am missing some great features - can anybody tell me how they can be invoked (or tell me where I can find a neat .rpm that has all the stuff)? 1. do you have your own ~/.vimrc ? if you are using the system wide version it usually at /etc, while the compiled vim usually search it at /usr/local/share/vim/vim72 2. type :version within your vim and give the output, it helps to identify your problem. --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: vim72 for redhat enterprise 4
On 2009-11-11, thgr wrote: Hi vim users, I want to use all the great features of vim version 7 for redhat enterprise linux 4 (comes with vim 6.3) - so i downloaded the sources and compiled. But now I am missing some great features - can anybody tell me how they can be invoked (or tell me where I can find a neat .rpm that has all the stuff)? * command completion in command mode: doesn't work because I get for example ':set ignorec^I' (vim writes ^I instead of completing to ':set ignorecase' * I can't browse the file system: e.g. ':e.' gives vim message: '. is a directory' which is completely true but not what I wanted to achieve ... Thank you very much for your help! The default settings for configure should give you almost all the features of vim, so you shouldn't need to do any more than ./configure make make install unless you want something special like integration with perl, python or cscope, for example. Make sure your vim is running in 'nocompatible' mode. Otherwise, it will behave pretty much like vi. One way to ensure this is to have a file named .vimrc in your home directory. You can execute :set compatible? to check the state of that variable. If that doesn't help, then execute these two commands and post the results here. :verbose :scriptnames That will tell us the features that your vim actually contains and whether it is reading the configuration files properly. As for rpm, I don't use it, but if you read the rpm man page you should find an option for listing available packages. That will give you the name of the vim package, which is something like vim-enhanced. The package named just vi or vim will install the tiny version of vim that has very few features. You may need to install an rpm named something like vim-runtime as well to get all the runtime files, such as the ones that tell vim how to display a directory. Regards, Gary --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: vim72 for redhat enterprise 4
On Wed, Nov 11, 2009 at 09:52:05AM EST, thgr wrote: [..] * I can't browse the file system: e.g. ':e.' gives vim message: '. is a directory' which is completely true but not what I wanted to achieve ... http://www.vim.org/scripts/script.php?script_id=1075 CJ --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: vim72 for redhat enterprise 4
thgr wrote: Hi vim users, I want to use all the great features of vim version 7 for redhat enterprise linux 4 (comes with vim 6.3) - so i downloaded the sources and compiled. But now I am missing some great features - can anybody tell me how they can be invoked (or tell me where I can find a neat .rpm that has all the stuff)? * command completion in command mode: doesn't work because I get for example ':set ignorec^I' (vim writes ^I instead of completing to ':set ignorecase' * I can't browse the file system: e.g. ':e.' gives vim message: '. is a directory' which is completely true but not what I wanted to achieve ... Thank you very much for your help! (get, uncompress, and untar the vim72 archive. You may want to do all the patches, too) configure --with-features=huge make su ... make install exit One last thing -- check your path to insure that you're getting the vim you just compiled rather than the system one. Regards, Chip Campbell --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: vim72 for redhat enterprise 4
thgr 写道: Hi vim users, I want to use all the great features of vim version 7 for redhat enterprise linux 4 (comes with vim 6.3) - so i downloaded the sources and compiled. But now I am missing some great features - can anybody tell me how they can be invoked (or tell me where I can find a neat .rpm that has all the stuff)? 1. do you have your own ~/.vimrc ? if you are using the system wide version it usually at /etc, while the compiled vim usually search it at /usr/local/share/vim/vim72 2. type :version within your vim and give the output, it helps to identify your problem. --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---