view runtime/keymap/greek_cp737.vim @ 34596:5a8340e044f4 v9.1.0190

patch 9.1.0190: complete_info() returns wrong order of items Commit: https://github.com/vim/vim/commit/8950bf7f8b85c1287d4e696965d88091fcc60594 Author: Girish Palya <girishji@gmail.com> Date: Wed Mar 20 20:07:29 2024 +0100 patch 9.1.0190: complete_info() returns wrong order of items Problem: complete_info() returns wrong order of items (after v9.0.2018) Solution: Revert Patch v9.0.2018 (Girish Palya) bug fix: complete_info() gives wrong results 1) complete_info() reverses list of items during <c-p> 2) 'selected' item index is wrong during <c-p> 3) number of items returnd can be wrong Solution: - Decouple 'cp_number' from 'selected' index since they need not be correlated - Do not iterate the list backwards - Add targeted tests Regression introduced by https://github.com/vim/vim/commit/69fb5afb3bc9da24c2fb0eafb0027ba9c6502fc2 Following are unnecessary commits to patch problems from above: https://github.com/vim/vim/commit/fef66301665027f1801a18d796f74584666f41ef https://github.com/vim/vim/commit/daef8c74375141974d61b85199b383017644978c All the tests from above commits are retained though. fixes: #14204 closes: #14241 Signed-off-by: Girish Palya <girishji@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Mar 2024 20:15:03 +0100
parents 8cd729851562
children
line wrap: on
line source

" Vim Keymap file for greek DOS cp737
" Maintainer: Panagiotis Louridas <louridas@acm.org>
" Last Updated: Thu Mar 23 14:05:45 EET 2006

" This keyboard layout allows all Greek symbols to be typed,
" including accented capitals and diaeresis. It does not
" include diaeresis and accent on the same vowel, nor
" the greek quotes, as these were not included in the codepage.
" It includes the Greek semicolon sign.

"
" accent			";" + letter
" diaeresis			":" + letter
" diaeresis + accent		";" + ":" (or ":" + ";") + letter
" semicolon			"q"
" colon				"Q"
" greek semicolon		"W"
" sigma at end of word		"w"

" Use this short name in the status line.
let b:keymap_name = "greek"

loadkeymap
" capital
A	<char-128>	" €
B	<char-129>	" 
G	<char-130>	" ‚
D	<char-131>	" ƒ
E	<char-132>	" „
Z	<char-133>	" …
H	<char-134>	" †
U	<char-135>	" ‡
I	<char-136>	" ˆ
K	<char-137>	" ‰
L	<char-138>	" Š
M	<char-139>	" ‹
N	<char-140>	" Œ
J	<char-141>	" 
O	<char-142>	" Ž
P	<char-143>	" 
R	<char-144>	" 
S	<char-145>	" ‘
T	<char-146>	" ’
Y	<char-147>	" “
F	<char-148>	" ”
X	<char-149>	" •
C	<char-150>	" –
V	<char-151>	" —

" small
a	<char-152>	" ˜
b	<char-153>	" ™
g	<char-154>	" š
d	<char-155>	" ›
e	<char-156>	" œ
z	<char-157>	" 
h	<char-158>	" ž
u	<char-159>	" Ÿ
i	<char-160>	"  
k	<char-161>	" ¡
l	<char-162>	" ¢
m	<char-163>	" £
n	<char-164>	" ¤
j	<char-165>	" ¥
o	<char-166>	" ¦
p	<char-167>	" §
r	<char-168>	" ¨
s	<char-169>	" ©
w	<char-170>	" ª
t	<char-171>	" «
y	<char-172>	" ¬
f	<char-173>	" ­
x	<char-174>	" ®
c	<char-175>	" ¯
v	<char-224>	" à

" accented capital
;A	<char-234>	" ê
;E	<char-235>	" ë
;H	<char-236>	" ì
;I	<char-237>	" í
;O	<char-238>	" î
;Y	<char-239>	" ï
;V	<char-240>	" ð
"
:I	<char-244>	" ô
:Y	<char-245>	" õ

" accented small
;a	<char-225>	" á
;e	<char-226>	" â
;h	<char-227>	" ã
;i	<char-229>	" å
;o	<char-230>	" æ
;y	<char-231>	" ç
;v	<char-233>	" é
"
:i	<char-228>	" ä
:y	<char-232>	" è
"
" symbols
q	;		" ;
Q	:		" :
W	<char-250>	" ú