Compare commits

...

2 Commits

Author SHA1 Message Date
Emi Simpson 4177ace1e8
Add coqtail for nvim 2023-01-31 20:07:21 -05:00
Emi Simpson c31ca05790
Add tmux 2023-01-31 20:07:05 -05:00
2 changed files with 24 additions and 2 deletions

View File

@ -88,9 +88,18 @@
w3m
];
};
programs.neovim = import programs/neovim.nix pkgs;
programs.neovim = import programs/neovim.nix {inherit pkgs lib;};
programs.gpg.enable = true;
programs.jq.enable = true;
programs.tmux = {
enable = true;
prefix = "C-Space";
clock24 = true;
historyLimit = 10000;
keyMode = "vi";
shell = "${pkgs.fish}/bin/fish";
shortcut = "Space";
};
programs.ssh = {
enable = true;
compression = true;

View File

@ -1,5 +1,6 @@
with builtins;
{pkgs, lib}:
let
mkSettings = s:
concatStringsSep
@ -73,8 +74,19 @@ let
{"KEY BINGINGS" = mkMappings mappings;}
{"MANUAL SETTINGS" = extra;}
];
# Via https://gist.github.com/nat-418/d76586da7a5d113ab90578ed56069509
fromGitHub = ref: repo: pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "${lib.strings.sanitizeDerivationName repo}";
version = ref;
src = builtins.fetchGit {
url = "https://github.com/${repo}.git";
ref = ref;
};
};
in
pkgs: {
{
enable = true;
plugins = with pkgs.vimPlugins; [
editorconfig-nvim
@ -88,6 +100,7 @@ pkgs: {
nvim-treesitter.withAllGrammars
nvim-ts-rainbow
nvim-lspconfig
(fromGitHub "HEAD" "whonore/Coqtail")
];
extraConfig = mkConfig {
settings = {