This commit is contained in:
Greg 2026-05-20 14:16:26 +03:00
parent 1a60ba0dcd
commit 1dce2e9f2d
5 changed files with 12 additions and 9 deletions

View file

@ -119,3 +119,8 @@ map({ "n", "v" }, "<S-CR>", function()
end, { desc = "Select child treesitter node or inner incremental lsp selections" }) end, { desc = "Select child treesitter node or inner incremental lsp selections" })
map("n", "<leader>se", ":AutoSession search<CR>", { desc = "Search sessions" }) map("n", "<leader>se", ":AutoSession search<CR>", { desc = "Search sessions" })
map("n", "<leader>bc", require("biome").check, { desc = "Biome check (cwd)" })
map("n", "<leader>bC", function()
require("biome").check(vim.fn.expand("%:p:h"))
end, { desc = "Biome check (file dir)" })

View file

@ -16,6 +16,7 @@ Conform.setup({
javascriptreact = { "biome" }, javascriptreact = { "biome" },
typescript = { "biome" }, typescript = { "biome" },
typescriptreact = { "biome" }, typescriptreact = { "biome" },
json = { "biome" },
-- You can use 'stop_after_first' to run the first available formatter from the list -- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true }, -- javascript = { "prettierd", "prettier", stop_after_first = true },
}, },

View file

@ -130,7 +130,7 @@ local keys = {
desc = "Find Files", desc = "Find Files",
}, },
{ {
"/", "<leader>sl",
function() function()
Snacks.picker.lines() Snacks.picker.lines()
end, end,

View file

@ -150,8 +150,9 @@ input "type:keyboard" {
bindsym --to-code $mod+Tab exec $windows bindsym --to-code $mod+Tab exec $windows
bindsym --to-code Shift+Space exec ~/.scripts/clipboard.fish bindsym --to-code Shift+Space exec ~/.scripts/clipboard.fish
bindsym --to-code $mod+Backspace exec ~/.scripts/power.fish bindsym --to-code $mod+Backspace exec ~/.scripts/power.fish
bindsym --to-code $mod+Apostrophe exec ~/.scripts/shot.fish bindsym --to-code $mod+Apostrophe exec grimshot copy area
bindsym --to-code $mod+Shift+Apostrophe exec grimshot savecopy screen /tmp/$(date +%s)_screen.png | imv
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows. # Despite the name, also works for non-floating windows.
@ -274,8 +275,8 @@ exec swaylock
exec tuxedo-control-center --tray exec tuxedo-control-center --tray
exec swaykbdd exec swaykbdd
exec kanata -n exec kanata -n
exec wl-paste --watch cliphist store exec wl-paste --watch cliphist -max-items 100 store
exec wl-paste --type image --watch cliphist store exec wl-paste --type image --watch cliphist -max-items 100 store
exec ~/.scripts/alttab.fish daemon exec ~/.scripts/alttab.fish daemon
### Idle configuration ### Idle configuration

View file

@ -32,8 +32,6 @@ config.hide_tab_bar_if_only_one_tab = true
config.default_cursor_style = "BlinkingBlock" config.default_cursor_style = "BlinkingBlock"
config.animation_fps = 60 config.animation_fps = 60
config.front_end = "WebGpu" config.front_end = "WebGpu"
-- config.cursor_blink_ease_in = "Constant"
-- config.cursor_blink_ease_out = "Constant"
config.window_padding = { config.window_padding = {
left = 0, left = 0,
@ -57,6 +55,4 @@ config.keys = {
action = wezterm.action.DisableDefaultAssignment, action = wezterm.action.DisableDefaultAssignment,
}, },
} }
-- and finally, return the configuration to wezterm
return config return config