mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-28 05:50:31 +01:00
Add key configuration.
As terminfo seems to be off for xterm, I use zkbd instead. The files are nice and small so they can be in the repo to prevent myself from running it over and over.
This commit is contained in:
26
zsh/.zkbd/xterm-256color-:1
Normal file
26
zsh/.zkbd/xterm-256color-:1
Normal file
@@ -0,0 +1,26 @@
|
||||
typeset -g -A key
|
||||
|
||||
key[F1]='^[OP'
|
||||
key[F2]='^[OQ'
|
||||
key[F3]='^[OR'
|
||||
key[F4]='^[OS'
|
||||
key[F5]='^[[15~'
|
||||
key[F6]='^[[17~'
|
||||
key[F7]='^[[18~'
|
||||
key[F8]='^[[19~'
|
||||
key[F9]='^[[20~'
|
||||
key[F10]=''''
|
||||
key[F11]=''''
|
||||
key[F12]='^[[24~'
|
||||
key[Backspace]='^?'
|
||||
key[Insert]='^[[2~'
|
||||
key[Home]='^[[H'
|
||||
key[PageUp]='^[[5~'
|
||||
key[Delete]='^[[3~'
|
||||
key[End]='^[[F'
|
||||
key[PageDown]='^[[6~'
|
||||
key[Up]='^[[A'
|
||||
key[Left]='^[[D'
|
||||
key[Down]='^[[B'
|
||||
key[Right]='^[[C'
|
||||
key[Menu]=''''
|
||||
Reference in New Issue
Block a user