make sure helix is the default editor
This commit is contained in:
parent
38ec8b42b5
commit
10d68c577e
3 changed files with 8 additions and 5 deletions
|
@ -9,6 +9,11 @@
|
||||||
alejandra = lib.getExe inputs.alejandra.packages.${system}.default;
|
alejandra = lib.getExe inputs.alejandra.packages.${system}.default;
|
||||||
nil = lib.getExe inputs.nil.packages.${system}.default;
|
nil = lib.getExe inputs.nil.packages.${system}.default;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
home.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
|
programs.zsh.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
|
systemd.user.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
|
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
languages = {
|
languages = {
|
||||||
|
|
|
@ -7,9 +7,9 @@ let
|
||||||
in {
|
in {
|
||||||
home.file.".vimrc".source = ../../.vimrc;
|
home.file.".vimrc".source = ../../.vimrc;
|
||||||
home.packages = with pkgs; [ ripgrep ];
|
home.packages = with pkgs; [ ripgrep ];
|
||||||
home.sessionVariables = { EDITOR = "vim"; };
|
home.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
programs.zsh.sessionVariables = { EDITOR = "vim"; };
|
programs.zsh.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
systemd.user.sessionVariables = { EDITOR = "vim"; };
|
systemd.user.sessionVariables = { EDITOR = "vim"; VISUAL="vim"; };
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -49,8 +49,6 @@
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
EDITOR = "vim";
|
|
||||||
VISUAL = "vim";
|
|
||||||
PAGER = "less";
|
PAGER = "less";
|
||||||
ZSH_TMUX_AUTOSTART = true;
|
ZSH_TMUX_AUTOSTART = true;
|
||||||
GOPATH = "$HOME/go";
|
GOPATH = "$HOME/go";
|
||||||
|
|
Loading…
Reference in a new issue