-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E225 global mapping already exists #31
Comments
Am 2014-09-24 09:39, schrieb zc he:
What mapping are you talking about? And where exactly do you think is a Best, |
if !hasmapto('<Plug>NrrwrgnWinIncr', 'n')
nmap <buffer> <unique> <Leader><Space> <Plug>NrrwrgnWinIncr
endif
|
Thanks! closed. |
- set local options later, so that FileType autocommands don't trigger to early- make sure, shortening the buffer name handles multibyte characters correctly.- new public function nrrwrgn#NrrwRgnStatus()- <Leader>nr also mapped as operator function (so the region over which you move will be opened in the narrowed window- highlighting wrong when char-selecting within a line- needs Vim 7.4- mention how to abort the narrowed window (suggested by David Fishburn, thanks!)- Execute hooks after the options for the narrowed window have been set (issue #29, reported by fmorales, thanks!)- <Leader><Space> Toggles the Narrowed Window Size (idea by David Fishburn, thanks!)- New hook b:nrrw_aucmd_written, to be executed, whenever the narrowed info has been written back into the original buffer.- g:nrrw_rgn_write_on_sync is being deprecated in favor of using the newly written hook- error on writing back multi narrowed window (issue #30, reported by aleprovencio chrisbra/NrrwRgn#30, thanks!)- error when calling Incr Function, Make it override over global mapping. (issue #31, reported by zc he chrisbra/NrrwRgn#31, thanks!)- |:NRP| didn't work as documented (reported by David Fishburn, thanks!)- fix small syntax error in autoload file (issue #32, reported by itchyny (chrisbra/NrrwRgn#32, thanks!)- check, that dict key is available before accessing it (issue #33, reported by SirCorion (chrisbra/NrrwRgn#33, thanks!)(automatically uploaded)
Within autoload/nrrwrgn.vim
<sid>SetupBufLocalMaps()
I'd suggest that you remove the
<unique>
tag.I think that since it is a buffer-only mapping, it does no harm to just override the global one.
Otherwise I have to change my global config to avoid the error message...
Besides, there is a missing comma in autoload/nrrwrgn.vim at the end of line 737.
The text was updated successfully, but these errors were encountered: