Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 53: | Line 53: | ||
The script has an inconsistency when searching in the forwards direction. With the default hex in <code>'nrformats'</code>, the code finds and operates on the next number, which may be a hex number. After the operation, the cursor is left on the last character of the number, and if that character is a letter (for example, <code>0x12AB</code>), repeating the operation will find and operate on the ''next'' number because the script starts by searching for a digit 0..9. |
The script has an inconsistency when searching in the forwards direction. With the default hex in <code>'nrformats'</code>, the code finds and operates on the next number, which may be a hex number. After the operation, the cursor is left on the last character of the number, and if that character is a letter (for example, <code>0x12AB</code>), repeating the operation will find and operate on the ''next'' number because the script starts by searching for a digit 0..9. |
||
β | |||
β | ==Enhanced with nextval plugin== |
||
β | You can extend the functionality with a plugin. [http://www.vim.org/scripts/script.php?script_id=4536 Nextval] can increment/decrement integer (in several variants), float, hex and boolean. |
||
==Making a list== |
==Making a list== |