clear_local_maps.vim : Clear buffer-local leader mappings
script karma |
Rating 6/5,
Downloaded by 559 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tom Ryder |
|
script type |
utility |
|
description |
This plugin provides an autoload function that clears all buffer-local mappings that begin with maplocalleader. It's intended for use at the start of an augroup that sets up filetype mappings, to clear away existing ones in the buffer first.
https://dev.sanctum.geek.nz/cgit/vim-clear-local-maps.git/ |
|
install details |
Drop autoload/clear_local_maps.vim in your ~/.vim/autoload directory. Add doc/clear_local_maps.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.
You might use it in your vimrc like this:
let g:maplocalleader = '_'
augroup vimrc_filetype_mappings
autocmd!
autocmd FileType * call clear_local_maps#Clear()
" Filetype-local mappings go here...
augroup END |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|