History Report a problem
Article Edit this page Discussion

Main Page

From Vim Tips Wiki

Jump to: navigation, search

Welcome to the Vim Tips wiki

This wiki is about the editor Vim. We aim to exchange tips and tricks with other Vim users. Please help by improving or adding comments to any tip.

We are currently editing over 1,621 articles.

  • Search the tips

  • Access tips by tip id, for example tip 1 is VimTip1

Featured tip for May view archive

Many Vim users prefer working with commands rather than complex key sequences, because commands can be remembered. A frequently-used command can be mapped to any key you like.

You can create user-defined commands, but each must start with an uppercase letter. So how do you replace a built-in command with a user-defined command? Here is a clever but simple technique to replace built-in commands, while avoiding accidental cabbrev expansions.

See Featured Tips for more, or to nominate a featured tip.

Did you know? view archive

From Vim Help view archive

  • :verbose abbreviate lists each abbreviation and where it was defined. :help :abbreviate-verbose
  • Avoid an insert-mode abbreviation by pressing Ctrl-V (or Ctrl-Q if you use Ctrl-V for paste) before the character after the abbreviation. :help abbreviations
  • Setting the 'display' option to include "lastline" will show as much of the final (wrapped) line as will fit on the screen. :help 'display'

Other pages

Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Pixar
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Flash Gordon
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"Main Page"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation


.