view runtime/keymap/hebrewp.vim @ 31281:cab7d8accab7 v9.0.0974

patch 9.0.0974: even when Esc is encoded a timeout is used Commit: https://github.com/vim/vim/commit/dffa6ea85c82bbcb60368f38f7437c6cd89c9e55 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 29 20:33:20 2022 +0000 patch 9.0.0974: even when Esc is encoded a timeout is used Problem: Even when Esc is encoded a timeout is used. Solution: Use K_ESC when an encoded Esc is found.
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Nov 2022 21:45:04 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

let encoding = &enc
if encoding == 'latin1'
    if has("unix")
	let encoding = 'iso-8859-8'
    else
	let encoding = 'cp1255'
    endif
endif

if encoding == 'utf-8'
	source <sfile>:p:h/hebrewp_utf-8.vim
elseif encoding == 'cp1255'
	source <sfile>:p:h/hebrewp_cp1255.vim
else
	source <sfile>:p:h/hebrewp_iso-8859-8.vim
endif