Ask Your Question

Trouble Getting Help in Vim

asked 2013-12-30 09:48:29 -0500

Black_Bucket gravatar image

updated 2014-09-28 10:37:20 -0500

mether gravatar image

Hello. I have just finished the vimtutor and everything went fine except for the last part (Lesson 7.1: Getting Help). I type :help and the help manual is shown as it is supposed to. But then I try (as suggested) the commands :help w, :help c_CTRL-D, :help insert-index and :help user-manual and the following appears at the bottom left of the screen:

E434: Can't find tag pattern
Press Enter or type command to continue

I press enter and a bunch of nonsensical characters appear on the screen, but I don't get any help. Why could this be happening and how can I fix it?


Note 1: I'm running Fedora 20 and have the following packages installed: vim-common, vim-minimal, vim-enhanced, vim-filesystem.

Note 2: This question was asked here but since the solution probably involves specific packages of Fedora I moved it here.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-30 10:12:36 -0500

Marc lml gravatar image

This happens because you start /bin/vi instead of /bin/vim. You can prevent this by adding the following alias to ~/.bashrc.

alias vi='vim'
edit flag offensive delete link more


I add the line to my .bashrc file but I keep having the same problem. Any other idea?

Black_Bucket gravatar imageBlack_Bucket ( 2013-12-30 10:32:40 -0500 )edit

Have you tried executing /bin/vim before adding the line to .bashrc?

Marc lml gravatar imageMarc lml ( 2013-12-30 14:38:23 -0500 )edit

vi is automatically aliased to vim after installing vim-enhanced, check /etc/profile.d/ .

':help w' seems to work as expected in vim, but displays the "E434: Can't find tag pattern" error in vimtutor... I don't know if this is the expected behaviour or not.

Ahmad Samir gravatar imageAhmad Samir ( 2013-12-31 12:46:03 -0500 )edit

Question Tools


Asked: 2013-12-30 09:48:29 -0500

Seen: 821 times

Last updated: Dec 30 '13