Tip #267: selectively displaying abbreviations
tip karma |
Rating 13/6, Viewed by 411
|
created: |
|
June 27, 2002 6:42 |
|
complexity: |
|
basic |
author: |
|
zzapper |
|
as of Vim: |
|
5.7 |
Hi Vimmers,
abbreviations have always been one of the most useful parts of vi(m), trouble is when you've got too many you forgot what you called them.
You can of course list the whole lot with
:ab<cr>
But did you know that you can type the first few letters of your abbreviations and get a list of just thos abs eg
:ab php<cr>
gives me all my php abs
&
:ab perl<cr>
gives me all my perls
also try control-D instrad of <cr>
zzapper
<<use -S command line switch |
Get cursor position as byte percentage instead of line percentage >>
Additional Notes
|