dgrnbrg / vim-redl

A better Vim integration story for Clojure
106 stars 8 forks source link

Remove <buffer> in history keybindings + doc. Doc for vertical split #27

Closed mascip closed 10 years ago

mascip commented 10 years ago

Issue #24, and doc for vertical split #4.

mascip commented 10 years ago

Good sentence, I've just added it.

Removing <buffer> means that this keybinding will be available in all buffers, not only in the redl buffer.

If another buffer defined the a mapping on the same keys (eg: <C-Up>), then it's the usual Vim problem of keybinding conflicts; seemingly unavoidable (I would trust any good practice @tpope has to share on the matter). But it would be a problem if another plugin defined a mapping on the same keys, using <buffer> in order to avoid conflicts. In that buffer, we would have cause a conflict that could have been avoided if we had also used <buffer>.

dgrnbrg commented 10 years ago

Thanks for this!