Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/machakann/vim-event-dotcommandpre
Add an autocmd event 'DotCommandPre'
https://github.com/machakann/vim-event-dotcommandpre
Last synced: 1 day ago
JSON representation
Add an autocmd event 'DotCommandPre'
- Host: GitHub
- URL: https://github.com/machakann/vim-event-dotcommandpre
- Owner: machakann
- Created: 2016-12-17T07:55:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T02:59:01.000Z (about 2 years ago)
- Last Synced: 2024-11-25T05:30:24.062Z (about 2 months ago)
- Language: Vim Script
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-event-DotCommandPre
Add an autocmd event 'DotCommandPre'# Usage
If you are not using any other plugin defining key mapping to `.` key, add the line into your vimrc to use `(event-DotCommandPre+Dot)`:```vim
nmap . (event-DotCommandPre+Dot)
```If you are using another plugin defining a key mapping to `.`, for example `(CustomDot)`, then map `(event-DotCommandPre)` before the key mapping:
```vim
nmap . (event-DotCommandPre)(CustomDot)
```If you are using [repeat.vim](https://github.com/tpope/vim-repeat), `(RepeatDot)` definition is delayed. Thus, in order to ensure the mapping exists, add the lines:
```vim
runtime autoload/repeat.vim
nmap . (event-DotCommandPre)(RepeatDot)
```# Requirement:
Vim 8.0 or higher# License
NYSL license* [Japanese](http://www.kmonos.net/nysl/)
* [English (Unofficial)](http://www.kmonos.net/nysl/index.en.html)