Set TERM to sane defaults to get HOME/END keys working in vim

This commit is contained in:
Sandro - 2021-10-03 00:20:34 +02:00
parent 9018db9086
commit 469c2e9393
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 13 additions and 8 deletions

View File

@ -239,14 +239,19 @@ in {
permitRootLogin = "prohibit-password";
};
environment.systemPackages = with pkgs; [
curl
git
htop
tmux
vim
wget
];
environment = {
systemPackages = with pkgs; [
curl
git
htop
tmux
vim
wget
];
variables = {
TERM = "xterm-256color";
};
};
programs.vim.defaultEditor = true;