Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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'

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)