update
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
./plugins/copilot.nix
|
||||
./plugins/whichkey.nix
|
||||
./plugins/alpha.nix
|
||||
./plugins/keymaps.nix
|
||||
./plugins/comment.nix
|
||||
./plugins/oil.nix
|
||||
./plugins/trouble.nix
|
||||
@@ -26,7 +25,10 @@
|
||||
./plugins/obsidian.nix
|
||||
./plugins/image.nix
|
||||
./plugins/ltex.nix
|
||||
./plugins/flash.nix
|
||||
./plugins/zen-mode.nix
|
||||
./options.nix
|
||||
./colorscheme.nix
|
||||
./keymaps.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -3,45 +3,54 @@
|
||||
{
|
||||
key = "<leader>e";
|
||||
action = "<CMD>Neotree toggle<CR>";
|
||||
options.desc = "Neotree Toggle";
|
||||
}
|
||||
{
|
||||
key = "<space>fm";
|
||||
action = "<CMD>lua vim.lsp.buf.format()<CR>";
|
||||
options.desc = "LSP Format";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>ot";
|
||||
action = "<cmd>lua require('obsidian').util.toggle_checkbox()<cr>";
|
||||
options.desc = "Toggle Checkbox";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>oo";
|
||||
action = "<cmd>ObsidianQuickSwitch<cr>";
|
||||
options.desc = "Quick Switch";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>on";
|
||||
action = "<cmd>ObsidianNew<cr>";
|
||||
options.desc = "New";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>of";
|
||||
action = "<cmd>ObsidianSearch<cr>";
|
||||
options.desc = "Search";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>oi";
|
||||
action = "<cmd>ObsidianPasteImg<cr>";
|
||||
options.desc = "Paste Image";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>E";
|
||||
action = "<cmd>Oil<cr>";
|
||||
options.desc = "Oil";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<leader>t";
|
||||
action = "<cmd>TroubleToggle<cr>";
|
||||
options.desc = "Trouble";
|
||||
}
|
||||
|
||||
{
|
||||
@@ -82,6 +82,21 @@
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Keybindings";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[e ${config.var.configDirectory}/docs/KEYBINDINGS.md]] end";
|
||||
opts = {
|
||||
shortcut = "nc";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Recently used";
|
||||
|
||||
1
home/programs/nvim/plugins/flash.nix
Normal file
1
home/programs/nvim/plugins/flash.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ programs.nixvim.plugins.flash = { enable = true; }; }
|
||||
@@ -11,6 +11,7 @@
|
||||
tailwindcss.enable = true;
|
||||
html.enable = true;
|
||||
svelte.enable = true;
|
||||
marksman.enable = true;
|
||||
ltex = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
1
home/programs/nvim/plugins/zen-mode.nix
Normal file
1
home/programs/nvim/plugins/zen-mode.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ programs.nixvim.plugins.zen-mode = { enable = true; }; }
|
||||
@@ -124,7 +124,14 @@
|
||||
tooltip = false;
|
||||
on-click = "powermenu";
|
||||
};
|
||||
|
||||
# "custom/caffeine": {
|
||||
# "format": "{}",
|
||||
# "max-length": 5,
|
||||
# "interval": 10,
|
||||
# "exec": "caffeine-status-icon",
|
||||
# "exec-if": "pgrep spotify",
|
||||
# "return-type": ""
|
||||
#}
|
||||
backlight = {
|
||||
device = "nvidia_0";
|
||||
format = "{icon}";
|
||||
|
||||
Reference in New Issue
Block a user