Open pepoluan opened 3 years ago
unibilium is unable to handle terminfo stored in hashed database (On FreeBSD, terminfo is stored in a hashed database). Thus there are some terminals on FreeBSD where the Home
and End
etc keys will not work even if terminfo (result of infocmp
) and TERM
environment variables are correct.
There are two workarounds.
Terminal -> Keyboard -> The Home and End keys
to rxvt
, and then use neovim to do :noremap <kHome> <End>
(The Home key works without setting the map).$HOME/.termininfo
(You only need to copy the entries you need).
Note: Neovim installed using
pkg install neovim
, not from ports.nvim --version
:Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/share/nvim"
Run :checkhealth for more info
freebsd-version [12:46:12]
12.1-RELEASE
nvim -u NORC
Alternative for shell-related problems:
env -i TERM=ansi-256color "$(which nvim)"