用於選項卡切換的 ^PgUp/^PGDown 不起作用

用於選項卡切換的 ^PgUp/^PGDown 不起作用

Vim 有用於選項卡導航的預設鍵綁定 -- Ctrl+ PgUp/ Ctrl+PgDown

st它們不起作用,我想原因在於~/.inputrc但我不知道如何編輯它。

我當前的輸入:

"\e[1;5C": forward-word
"\e[1;5D": backward-word


"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
"\e[5~": beginning-of-history  # PageUp key
"\e[6~": end-of-history        # PageDown key
user$ echo $TERM
screen-256color

在維姆中:

:set term
# output
term=screen-256color

我沒有更改 st 的 config.h:

# will produce nothing
diff ./my_st-0.8.2/config.def.h ./original_st-0.8.2/config.def.h

相關內容