Skip to content

machakann/vim-event-DotCommandPre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 <Plug>(event-DotCommandPre+Dot):

	nmap . <Plug>(event-DotCommandPre+Dot)

If you are using another plugin defining a key mapping to ., for example <Plug>(CustomDot), then map <Plug>(event-DotCommandPre) before the key mapping:

	nmap . <Plug>(event-DotCommandPre)<Plug>(CustomDot)

If you are using repeat.vim, <Plug>(RepeatDot) definition is delayed. Thus, in order to ensure the mapping exists, add the lines:

	runtime autoload/repeat.vim
	nmap . <Plug>(event-DotCommandPre)<Plug>(RepeatDot)

Requirement:

Vim 8.0 or higher

License

NYSL license

About

Add an autocmd event 'DotCommandPre'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published