Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-01-2004, 02:59 PM   #1
Registered: Jan 2004
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
Strange Vim settings under Slackware 10


I have a fresh installation of Slackware 10 and problems using Vim. I'm new to Linux but used Vim on my Debian 3.0 router without any problems. When I use Vim on my Slackware system there are lots of strange things going on. For example:

- I have no -- Insert -- in the lower left corner when in Insert mode
- Cursor keys print letters when in Insert mode
- Backspace doesn't work as expected
and so on...

An echo $TERM on both system is set to xterm. There is no .vimrc in the root/user folders, even slocate can't find one. I searched the forum and google but couldn't find a solution for that. It would be nice if someone had a solution how to make Vim act the "normal" way, because I don't want to switch to another editor. Thanks a lot =).

Old 08-01-2004, 03:04 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Try to begin with a workable config :

cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc

Then adapt it to suit your needs
Old 08-01-2004, 03:17 PM   #3
Registered: Jan 2004
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
Thank you very much. I will try that =).

Edit: Works great.. Thanks =).

Last edited by Lars79; 08-01-2004 at 03:22 PM.
Old 08-01-2004, 08:15 PM   #4
Registered: Jun 2004
Location: QC, Philippines
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
You're not experiencing anything strange. It's just the default configuration. Slackware expects its users to configure things first so that the user knows what it's all about and doesn't get confused when using another system.

Read the vim manual pages and the built-in help. Virtually any behavior can be modified to suit your needs. It's actually a lot of fun to make Vim submit to your demands.

If you're lazy try to find a config file in
Old 08-02-2004, 03:52 AM   #5
Registered: Jan 2004
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
Hi Ninaw,

thanks for your reply. I use the example configuration that Cedrik suggested. I changed a few things but it is a quite good basis to work with. I really like the Slackware behavior to let the user configure everything. The problem with Vim was that is was, at least for me, nearly unusable in the default configuration. Because I never experienced that before (under Debian it ist already configured from the beginning on), I didn't know how to change that, which of course was my fault and not Slackware's. Because I never used another editor like joe or nano on the shell I also didn't want to switch. Because of that I had problems to edit configuration files before having X. Thanks to you guys, I will know what to do next time =).
Old 08-02-2004, 08:50 AM   #6
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
What are you seeking for is nocompatible option, so in your ~/.vimrc you may have:

set nocompatible

I like Slackware too, because all apps & kernel are in stock/pristine form waiting to tweak them to your needs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
elvis point to vim in slackware slackwaresux Linux - General 7 12-17-2010 12:28 AM
Trouble with vim in Slackware electronjunkie Slackware 10 02-17-2006 08:31 PM
vim acting strange littlemidget Debian 6 09-17-2004 12:52 PM
VIM under Slackware 9.1 kittani Linux - Software 5 06-16-2004 06:02 AM
simple vi (vim) settings lenlutz Linux - General 20 10-04-2003 05:40 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration