fixes to nvim and alacritty

This commit is contained in:
Noah Masur 2022-06-19 09:34:17 -04:00
parent baa20e4dbb
commit 4f1e948843
4 changed files with 22 additions and 26 deletions

View File

@ -1,10 +1,23 @@
{ config, ... }: {
{ config, pkgs, lib, ... }: {
home-manager.users.${config.user}.programs.alacritty.settings.key_bindings =
[{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}];
# MacOS-specific settings for Alacritty
home-manager.users.${config.user} = {
programs.alacritty.settings = {
font.size = lib.mkForce 18.0;
shell.program = "${pkgs.fish}/bin/fish";
key_bindings = [
{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}
{
key = "L";
mods = "Super";
chars = "\\x1F";
}
];
};
};
}

View File

@ -17,25 +17,6 @@
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
];
programs.alacritty.settings = {
shell.program = "${pkgs.fish}/bin/fish";
keybindings = [
{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}
{
key = "L";
mods = "Super";
chars = "\\x1F";
}
];
};
};
#fonts.fonts = with pkgs;
# [ (nerdfonts.override { fonts = [ "Victor Mono" ]; }) ];
}

View File

@ -4,6 +4,7 @@
use({
"nvim-telescope/telescope.nvim",
branch = "master",
requires = { "nvim-lua/plenary.nvim" },
config = function()
-- Telescope: quit instantly with escape

View File

@ -57,6 +57,7 @@
};
};
interactiveShellInit = ''
fish_vi_key_bindings
bind yy fish_clipboard_copy
bind Y fish_clipboard_copy
bind -M visual y fish_clipboard_copy