bwHomeEndAdv.vim : This script enhances the <Home> and <End> in both normal mode and insert mode
script karma |
Rating 5/4,
Downloaded by 763 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Bruce Who |
|
script type |
utility |
|
description |
Description:
This script enhances the <Home> and <End> key in both normal mode and
insert mode.
<Home> is enhanced to behave like in Visual C++, you can use <Home> to
jump between the first column and the first non-space character of a
line.
Besides, <End> is also enhanced and can be used to jump between the last
column and the last non-space character of a line. |
|
install details |
Drop the script to your plugin directory. |
|
script versions (upload new version)
Click on the package to download.
bwHomeEndAdv.vim |
1.3 |
2005-08-25 |
6.0 |
Bruce Who |
- Bug fix: After Entering VIM, and press <End> for the first time while the cursor is already at the end of the line, an error occurs.
- add <silent> to each mapping to make it behave like normal <Home> & <End>.
Thanks to Andrzej Zaborowski who reported the bug and gave me a patch, and also gave me the suggestion. |
bwHomeEndAdv.vim |
1.2 |
2005-07-24 |
6.0 |
Bruce Who |
Initial upload |
ip used for rating: 3.145.186.173
|