2 tv.base: group vim configuration
This commit is contained in:
parent
813775b1a7
commit
d4fff63c0b
@ -60,8 +60,8 @@ in
|
|||||||
|
|
||||||
nix.useChroot = true;
|
nix.useChroot = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# oldvim
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
];
|
];
|
||||||
@ -78,6 +78,9 @@ in
|
|||||||
EDITOR=vim
|
EDITOR=vim
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
environment.variables.VIM = "/etc/vim";
|
||||||
|
}
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
# alias cal='cal -m3'
|
# alias cal='cal -m3'
|
||||||
gp = "${pkgs.pari}/bin/gp -q";
|
gp = "${pkgs.pari}/bin/gp -q";
|
||||||
@ -98,8 +101,6 @@ in
|
|||||||
dmesg = "dmesg -L --reltime";
|
dmesg = "dmesg -L --reltime";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.VIM = "/etc/vim";
|
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
HISTCONTROL='erasedups:ignorespace'
|
HISTCONTROL='erasedups:ignorespace'
|
||||||
|
Loading…
Reference in New Issue
Block a user