aboutsummaryrefslogtreecommitdiff
path: root/runtime/vimrc_example.vim
diff options
context:
space:
mode:
authorDavid Bürgin <676c7473@gmail.com>2015-03-28 15:51:48 +0100
committerJustin M. Keyes <justinkz@gmail.com>2015-03-29 09:55:59 -0400
commit2c7e8c38e0f483cf803eb225720cd11ae370ae75 (patch)
tree7d4ab698d225a1a94e4afe36d40bf3792c64c455 /runtime/vimrc_example.vim
parent9d02e5b984bb540567766941cff4d03f0b6e1837 (diff)
downloadrneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.tar.gz
rneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.tar.bz2
rneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.zip
vim-patch:7.4.502 #2282
Problem: Language mapping also applies to mapped characters. Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to mapped characters. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-502
Diffstat (limited to 'runtime/vimrc_example.vim')
-rw-r--r--runtime/vimrc_example.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim
index cd944155f2..1be1bcd3b6 100644
--- a/runtime/vimrc_example.vim
+++ b/runtime/vimrc_example.vim
@@ -1,7 +1,7 @@
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2014 Feb 05
+" Last change: 2014 Nov 05
"
" To use it, copy it to
" for Unix: ~/.vimrc
@@ -80,3 +80,8 @@ if !exists(":DiffOrig")
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
\ | wincmd p | diffthis
endif
+
+" Prevent that the langmap option applies to characters that result from a
+" mapping. If unset (default), this may break plugins (but it's backward
+" compatible).
+set langnoremap