vscode goodies
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
d79a34328a
commit
b2a6740256
5 changed files with 33 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{... }:
|
||||||
{
|
{
|
||||||
programs.irssi = {
|
programs.irssi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
"ctrl+f2" = "detach_tab";
|
"ctrl+f2" = "detach_tab";
|
||||||
|
|
||||||
# hints
|
# hints
|
||||||
|
# > basically means the preceding key is a prefix (think tmux)
|
||||||
"kitty_mod+o>o" = "open_url_with_hints";
|
"kitty_mod+o>o" = "open_url_with_hints";
|
||||||
"kitty_mod+o>p" = "kitten hints --type path --program -";
|
"kitty_mod+o>p" = "kitten hints --type path --program -";
|
||||||
"kitty_mod+o>n" = "kitten hints --type line --program -";
|
"kitty_mod+o>n" = "kitten hints --type line --program -";
|
||||||
|
|
|
@ -73,10 +73,6 @@ in
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
{
|
|
||||||
app-id = "anki";
|
|
||||||
title = "Add";
|
|
||||||
}
|
|
||||||
{ app-id = "mpv"; }
|
{ app-id = "mpv"; }
|
||||||
{ app-id = "Bitwarden"; }
|
{ app-id = "Bitwarden"; }
|
||||||
{
|
{
|
||||||
|
@ -88,7 +84,12 @@ in
|
||||||
open-floating = true;
|
open-floating = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
matches = [ { app-id = "anki"; } ];
|
matches = [
|
||||||
|
{
|
||||||
|
app-id = "anki";
|
||||||
|
title = "Add";
|
||||||
|
}
|
||||||
|
];
|
||||||
default-column-width.proportion = .25;
|
default-column-width.proportion = .25;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,11 +8,30 @@
|
||||||
mutableExtensionsDir = false;
|
mutableExtensionsDir = false;
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
vscodevim.vim
|
vscodevim.vim
|
||||||
jnoortheen.nix-ide # nix language support
|
jnoortheen.nix-ide
|
||||||
editorconfig.editorconfig # editorconfig
|
editorconfig.editorconfig
|
||||||
dracula-theme.theme-dracula # color scheme
|
github.github-vscode-theme
|
||||||
tomoki1207.pdf # pdf viewer
|
|
||||||
yzhang.markdown-all-in-one # markdown tools
|
|
||||||
];
|
];
|
||||||
|
userSettings = {
|
||||||
|
"workbench.colorTheme" = "GitHub Dark Default";
|
||||||
|
"files.autoSave" = "afterDelay";
|
||||||
|
"nix.enableLanguageServer" = true;
|
||||||
|
"nix.serverPath" = "nixd";
|
||||||
|
"editor.fontFamily" = "IBM Plex Mono";
|
||||||
|
"editor.fontSize" = 15;
|
||||||
|
"editor.wordWrap" = "on";
|
||||||
|
|
||||||
|
# vim mode
|
||||||
|
"vim.handleKeys" = {
|
||||||
|
"<C-b>" = false; # file tree toggle
|
||||||
|
};
|
||||||
|
"vim.normalModeKeyBindings" = [
|
||||||
|
{
|
||||||
|
"before" = [";"];
|
||||||
|
"after" = [":"];
|
||||||
|
"silent" = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
../niri
|
../niri
|
||||||
../irssi.nix
|
../irssi.nix
|
||||||
../kitty.nix
|
../kitty.nix
|
||||||
|
../vscode.nix
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
username = "yt";
|
username = "yt";
|
||||||
|
|
Loading…
Add table
Reference in a new issue