Results 1 to 5 of 5
Is it me or is vim (vi) impossibly difficult to use in Slackware? There's no vimrc in /etc/vim/ so I can't add the syntax colours , and 'i' to insert ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-15-2005 #1
vim in Slackware
Is it me or is vim (vi) impossibly difficult to use in Slackware? There's no vimrc in /etc/vim/ so I can't add the syntax colours , and 'i' to insert doesn't allow me to type any characters. Are there different flavours of vim? Or do I just need to configure it somehow to behave 'normally' ?
For the moment I've been using Pico, but I would prefer vim if I can get it working the way I'm used to.Registered Linux user #389109
My Semi-Linux Blog
- 08-15-2005 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Yeah, it does work a little differently than in some other distros.
You could do a google search for "vimrc", find an example of one you like, then edit to your satisfaction, then add it to your home directory like this:
/home/<user>/.vimrc
- 08-15-2005 #3Just Joined!
- Join Date
- Aug 2005
- Location
- Torreon Coahuila, Mexico
- Posts
- 9
Code:~$ cp /usr/share/vim/vim63/vimrc_example.vim .vimrc ~$ cp /usr/share/vim/vim63/gvimrc_example.vim .gvimrc
- 08-18-2005 #4What does this actually do? I've done it but my vim seems to be the same.
Originally Posted by gajon Registered Linux user #389109
My Semi-Linux Blog
- 08-18-2005 #5Just Joined!
- Join Date
- Aug 2005
- Location
- Torreon Coahuila, Mexico
- Posts
- 9
These are the vimrc files that you were looking for in /etc/vim, but instead you copy them to your home folder and then you can customize it if you with.
Make sure you are copying them to your home folder:
Then open up a file in vim and you'll see that it does syntax coloring now.Code:~$ cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc ~$ cp /usr/share/vim/vim63/gvimrc_example.vim ~/.gvimrc
Code:vim ~/.vimrc


Reply With Quote
