File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,11 @@ $if mode=emacs
142
142
" \e [H " : beginning-of-line
143
143
" \e [U " : end-of-line
144
144
$endif
145
+ $if term = sun
146
+ " \e [214z " : beginning-of-line
147
+ " \e [220z " : end-of-line
148
+ " ^? " : delete-char
149
+ $endif
145
150
$if term = cygwin
146
151
" \e [1~ " : beginning-of-line
147
152
" \e [4~ " : end-of-line
Original file line number Diff line number Diff line change @@ -264,8 +264,11 @@ inoremap # X<BS>#
264
264
map <C-h> <BS>
265
265
map! <C-h> <BS>
266
266
if (&term = ~ " interix" )
267
+ map <C-?> <DEL>
268
+ map! <C-?> <DEL>
267
269
map [H <Home>
268
270
map [U <End>
271
+ elseif (&term = ~ " ^sun" )
269
272
map <C-?> <DEL>
270
273
map! <C-?> <DEL>
271
274
elseif (&term !~ " cons" )
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ case $TERM in
61
61
bindkey '\e[U' end-of-line
62
62
bindkey '^?' delete-char
63
63
;;
64
+ sun*)
65
+ bindkey '\e[214z' beginning-of-line
66
+ bindkey '\e[220z' end-of-line
67
+ bindkey '^?' delete-char
68
+ ;;
64
69
cygwin*)
65
70
bindkey '\e[1~' beginning-of-line
66
71
bindkey '\e[4~' end-of-line
You can’t perform that action at this time.
0 commit comments