Skip to content
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

Closed
blindFS opened this issue Sep 24, 2014 · 3 comments
Closed

E225 global mapping already exists #31

blindFS opened this issue Sep 24, 2014 · 3 comments

Comments

@blindFS
Copy link

blindFS commented Sep 24, 2014

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.

@chrisbra
Copy link
Owner

Am 2014-09-24 09:39, schrieb zc he:

Within autoload/nrrwrgn.vim SetupBufLocalMaps()

I'd suggest that you remove the 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.

Reply to this email directly or view it on GitHub [1].

Links:

[1] #31

What mapping are you talking about? And where exactly do you think is a
comma is missing?

Best,
Christian

@blindFS
Copy link
Author

blindFS commented Sep 24, 2014

  1. mapping:
if !hasmapto('<Plug>NrrwrgnWinIncr', 'n')
    nmap <buffer> <unique> <Leader><Space> <Plug>NrrwrgnWinIncr
endif
  1. comma:
    autoload/nrrwrgn.vim line 737

let cmd = printf("%s %d", ':vert resize' should be

let cmd = printf("%s %d", ':vert resize',

chrisbra added a commit that referenced this issue Sep 24, 2014
@blindFS
Copy link
Author

blindFS commented Sep 25, 2014

Thanks! closed.

@blindFS blindFS closed this as completed Sep 25, 2014
vim-scripts pushed a commit to vim-scripts/NrrwRgn that referenced this issue Jan 16, 2015
- 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants