diff options
author | Adrian Kummerlaender | 2018-05-19 21:07:09 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-05-19 21:07:09 +0200 |
commit | 2098ae5b0f44949118f64030e6cfb7fc3664c075 (patch) | |
tree | 97067629e4119e411f49e90777525a3ae5a1461b /gui/pkgs/nvim-gui.nix | |
parent | 125fe39fe5ddba500867b99ed13b370bfedfab1d (diff) | |
download | nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar.gz nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar.bz2 nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar.lz nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar.xz nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.tar.zst nixos_home-2098ae5b0f44949118f64030e6cfb7fc3664c075.zip |
Add Neovim-Qt as vim frontend
Default CLI editor is currently still Vim, mainly because cs-exact
doesn't work correctly in Neovim. Neovim-Qt is preferable to GVim as the
latter has ugly pixel glitches on my system (maybe related to
proprietary NVidia drivers? This was not a problem on the x220)
The neovim-qt derivation is built using a custom nvim derivation which
in turn uses the global vim configuration managed in /etc/nixos/pkgs/vim.
Diffstat (limited to 'gui/pkgs/nvim-gui.nix')
-rw-r--r-- | gui/pkgs/nvim-gui.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/pkgs/nvim-gui.nix b/gui/pkgs/nvim-gui.nix new file mode 100644 index 0000000..7f0ba7e --- /dev/null +++ b/gui/pkgs/nvim-gui.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +let + custom_nvim = pkgs.neovim.override { + vimAlias = false; + configure = (import /etc/nixos/pkgs/vim/custom.nix { pkgs = pkgs; }); + }; +in pkgs.neovim-qt.override { + neovim = custom_nvim; +} |