https://github.com/foriequal0/vim-autonumber
Automatically switch through relative/absolute/no number mode with autocmd *enter/leave
https://github.com/foriequal0/vim-autonumber
Last synced: about 1 month ago
JSON representation
Automatically switch through relative/absolute/no number mode with autocmd *enter/leave
- Host: GitHub
- URL: https://github.com/foriequal0/vim-autonumber
- Owner: foriequal0
- Created: 2014-05-16T05:26:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-16T05:54:49.000Z (about 11 years ago)
- Last Synced: 2023-08-04T07:25:36.352Z (almost 2 years ago)
- Language: VimL
- Size: 137 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vim-autonumber
==============Automatically switch through relative/absolute/no number mode based on the current editing context.
Basic Usage
-----------
Press `Ctrl+U` in command mode, the number display mode will rotate through```
Relative Number -> Absolute Number -> No Number
<-----------------------------------|
```And these modes you can see in command mode called 'Default mode'.
The display mode will switched to Alt Mode When you enter insert mode, or exit current window and enter other window.
Default modes has it's pair Alt mode. See following table.```
Default Mode | Relative | Absolute | No
-------------+----------+----------+----
Alt Mode | Absolute | Absolute | No
```