From 2c7e8c38e0f483cf803eb225720cd11ae370ae75 Mon Sep 17 00:00:00 2001 From: David Bürgin <676c7473@gmail.com> Date: Sat, 28 Mar 2015 15:51:48 +0100 Subject: 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 --- runtime/vimrc_example.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtime/vimrc_example.vim') 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 -" 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 -- cgit