davidhalter/jedi-vim — pull request #224 by justinmk (2013-12-06 18:30:12+00:00)
Title: fix #223: xnoremap/nnoremap instead of noremap

- mapping operator-pending-mode and selection-mode has undesirable side-effects, and isn't actually used by jedi-vim, so map only to normal-mode and visual-mode.

- also, wrap 'for' loops in s:init() functions to avoid polluting the global namespace ('for key in keys' assigns g:key).