1
0
Fork 0

Switch to nvr

This commit is contained in:
Malte Brandy 2021-07-05 21:54:24 +02:00
parent 7ecc0db62f
commit 8f2d7fcd53
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
4 changed files with 10 additions and 4 deletions

View file

@ -71,7 +71,7 @@
};
extraConfig = {
pull.ff = "only";
core.editor = "nvim";
core.editor = "nvr --remote-wait-silent";
};
enable = true;
ignores = [

View file

@ -220,7 +220,7 @@ in
in
{
".neomuttrc".text = ''
set editor = "nvim"
set editor = "nvr --remote-wait-silent"
alternative_order text/plain text/html
auto_view text/*
auto_view message/*

View file

@ -87,7 +87,10 @@ in
};
xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON cocSettings;
home = {
packages = [ pkgs.neuron-language-server ];
sessionVariables.EDITOR = "nvim";
packages = [ pkgs.neuron-language-server pkgs.neovim-remote ];
sessionVariables = {
EDITOR = "nvr --remote-wait-silent";
VISUAL = "nvr --remote-wait-silent";
};
};
}

View file

@ -52,6 +52,9 @@ alias s='sudo -A systemctl'
alias g='lazygit'
alias u='systemctl --user'
alias m=man
alias v="nvr -s"
alias vim="nvr -s"
alias nvim="nvr -s"
autoload -Uz chpwd_recent_dirs cdr add-zsh-hook
add-zsh-hook chpwd chpwd_recent_dirs