mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
vim
This commit is contained in:
@@ -59,6 +59,7 @@ in {
|
||||
gradle
|
||||
python312
|
||||
uv
|
||||
zellij
|
||||
inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.claude-code
|
||||
inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.codex
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{...}: {
|
||||
home.file.".claude/settings.json".text = builtins.toJSON {
|
||||
statusLine = {
|
||||
type = "command";
|
||||
command = "claude x ccusage statusline --no-offline";
|
||||
padding = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -7,5 +7,7 @@
|
||||
./nixvim
|
||||
./zsh.nix
|
||||
./environment.nix
|
||||
./zellij.nix
|
||||
./claude.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -34,5 +34,10 @@ in {
|
||||
|
||||
# Diagnostics
|
||||
(mk "<leader>xx" "<cmd>Trouble diagnostics toggle<CR>" "エラー一覧")
|
||||
|
||||
# Buffer Bar
|
||||
(mk "<leader>bh" "<Cmd>BufferPrevious<CR>" "前のバッファーに移動")
|
||||
(mk "<leader>bl" "<Cmd>BufferNext<CR>" "後のバッファーに移動")
|
||||
(mk "<leader>bc" "<Cmd>BufferClose<CR>" "バッファーを削除")
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{...}: {
|
||||
programs.nixvim.plugins.barbar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
animation = false;
|
||||
auto_hide = 1;
|
||||
tabpages = true;
|
||||
clickable = true;
|
||||
focus_on_close = "left";
|
||||
|
||||
icons = {
|
||||
button = "";
|
||||
separator = {
|
||||
left = "▎";
|
||||
right = "";
|
||||
};
|
||||
separator_at_end = false;
|
||||
filetype.enabled = true;
|
||||
};
|
||||
|
||||
sidebar_filetypes = {
|
||||
neo-tree = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -7,5 +7,6 @@
|
||||
./web-devicons.nix
|
||||
./toggleterm.nix
|
||||
./treesitter.nix
|
||||
./barbar.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{...}: {
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = false;
|
||||
|
||||
settings = {
|
||||
pane_frames = true;
|
||||
};
|
||||
|
||||
layouts.dev = ''
|
||||
layout {
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
pane command="nvim"
|
||||
pane stacked=true size="30%" {
|
||||
pane expanded=true
|
||||
pane
|
||||
}
|
||||
}
|
||||
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user