feat: various minor tweaks
This commit is contained in:
parent
e64559e143
commit
e88a424bb1
4 changed files with 67 additions and 7 deletions
|
@ -1,11 +1,51 @@
|
|||
{...}: {
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (pkgs.stdenv.hostPlatform) isLinux;
|
||||
in {
|
||||
programs.newsboat = {
|
||||
enable = true;
|
||||
autoReload = true;
|
||||
browser =
|
||||
if isLinux
|
||||
then (lib.getExe pkgs.xdg-utils)
|
||||
else "open";
|
||||
urls = [
|
||||
{url = "https://blog.gitea.io/index.xml";}
|
||||
{url = "https://neomutt.org/feed.xml";}
|
||||
{url = "https://this-week-in-neovim.org/rss";}
|
||||
{
|
||||
url = "https://blog.gitea.io/index.xml";
|
||||
title = "Gitea Blog";
|
||||
}
|
||||
{
|
||||
title = "Gitea Helm Chart";
|
||||
url = "https://gitea.com/gitea/helm-chart/releases.rss";
|
||||
}
|
||||
{
|
||||
title = "Neomutt";
|
||||
url = "https://neomutt.org/feed.xml";
|
||||
}
|
||||
{
|
||||
title = "This Week in Neovim";
|
||||
url = "https://this-week-in-neovim.org/rss";
|
||||
}
|
||||
{
|
||||
title = "XKCD";
|
||||
url = "https://xkcd.com/rss.xml";
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
bind-key j down feedlist
|
||||
bind-key k up feedlist
|
||||
bind-key j next articlelist
|
||||
bind-key k prev articlelist
|
||||
bind-key J next-feed articlelist
|
||||
bind-key K prev-feed articlelist
|
||||
bind-key j down article
|
||||
bind-key k up article
|
||||
|
||||
unbind-key C feedlist
|
||||
confirm-exit no
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"editor.inlineSuggest.enabled": true,
|
||||
"git.autofetch": true,
|
||||
"editor.lineNumbers": "relative",
|
||||
"vim.easymotion": true,
|
||||
"vim.incsearch": true,
|
||||
"vim.replaceWithRegister": true,
|
||||
"vim.useSystemClipboard": false,
|
||||
|
@ -39,6 +38,22 @@
|
|||
"before": ["<leader>", "n", "f"],
|
||||
"commands": ["editor.action.formatDocument"]
|
||||
},
|
||||
{
|
||||
"before": ["[", "d"],
|
||||
"commands": ["editor.action.marker.prevInFiles"]
|
||||
},
|
||||
{
|
||||
"before": ["]", "d"],
|
||||
"commands": ["editor.action.marker.nextInFiles"]
|
||||
},
|
||||
{
|
||||
"before": ["[", "c"],
|
||||
"commands": ["workbench.action.editor.previousChange"],
|
||||
},
|
||||
{
|
||||
"before": ["]", "c"],
|
||||
"commands": ["workbench.action.editor.nextChange"],
|
||||
},
|
||||
{
|
||||
"before": ["<C-l>"],
|
||||
"after": ["<C-W>", "l"]
|
||||
|
@ -95,5 +110,6 @@
|
|||
"markdown.preview.fontFamily": "IBM Plex Sans, sans-serif",
|
||||
"workbench.preferredDarkColorTheme": "Catppuccin Mocha",
|
||||
"workbench.preferredHighContrastColorTheme": "Catppuccin Latte",
|
||||
"window.autoDetectColorScheme": true
|
||||
"window.autoDetectColorScheme": true,
|
||||
"vim.smartRelativeLine": true,
|
||||
}
|
||||
|
|
4
justfile
4
justfile
|
@ -40,3 +40,7 @@ install-fonts:
|
|||
mkdir -p "{{fontdir}}"
|
||||
gpg --decrypt home/secrets/fonts.tgz.gpg | tar -xz -C "{{fontdir}}" --strip-components=1
|
||||
# }}}
|
||||
|
||||
fetch:
|
||||
@nix run nixpkgs\#onefetch -- --true-color never --no-bots -d lines-of-code
|
||||
@nix run nixpkgs\#scc -- . --no-cocomo
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
mouse_drop_action = "swap";
|
||||
mouse_follows_focus = "off";
|
||||
mouse_modifier = "off";
|
||||
window_animation_duration = "0.1";
|
||||
window_animation_duration = "0.0";
|
||||
window_border = "on";
|
||||
window_border_blur = "on";
|
||||
window_border_width = "2";
|
||||
|
|
Loading…
Reference in a new issue