diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index d225ac1..4d85627 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -119,3 +119,8 @@ map({ "n", "v" }, "", function() end, { desc = "Select child treesitter node or inner incremental lsp selections" }) map("n", "se", ":AutoSession search", { desc = "Search sessions" }) + +map("n", "bc", require("biome").check, { desc = "Biome check (cwd)" }) +map("n", "bC", function() + require("biome").check(vim.fn.expand("%:p:h")) +end, { desc = "Biome check (file dir)" }) diff --git a/.config/nvim/lua/plugins/conform.lua b/.config/nvim/lua/plugins/conform.lua index f4503c5..2c55806 100644 --- a/.config/nvim/lua/plugins/conform.lua +++ b/.config/nvim/lua/plugins/conform.lua @@ -16,6 +16,7 @@ Conform.setup({ javascriptreact = { "biome" }, typescript = { "biome" }, typescriptreact = { "biome" }, + json = { "biome" }, -- You can use 'stop_after_first' to run the first available formatter from the list -- javascript = { "prettierd", "prettier", stop_after_first = true }, }, diff --git a/.config/nvim/lua/plugins/snacks.lua b/.config/nvim/lua/plugins/snacks.lua index f7a2adc..81b64cc 100644 --- a/.config/nvim/lua/plugins/snacks.lua +++ b/.config/nvim/lua/plugins/snacks.lua @@ -130,7 +130,7 @@ local keys = { desc = "Find Files", }, { - "/", + "sl", function() Snacks.picker.lines() end, diff --git a/.config/sway/config b/.config/sway/config index 2061089..55b2cf4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -150,8 +150,9 @@ input "type:keyboard" { bindsym --to-code $mod+Tab exec $windows bindsym --to-code Shift+Space exec ~/.scripts/clipboard.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. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows. @@ -274,8 +275,8 @@ exec swaylock exec tuxedo-control-center --tray exec swaykbdd exec kanata -n -exec wl-paste --watch cliphist store -exec wl-paste --type image --watch cliphist store +exec wl-paste --watch cliphist -max-items 100 store +exec wl-paste --type image --watch cliphist -max-items 100 store exec ~/.scripts/alttab.fish daemon ### Idle configuration diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 672301f..ff4cf67 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -32,8 +32,6 @@ config.hide_tab_bar_if_only_one_tab = true config.default_cursor_style = "BlinkingBlock" config.animation_fps = 60 config.front_end = "WebGpu" --- config.cursor_blink_ease_in = "Constant" --- config.cursor_blink_ease_out = "Constant" config.window_padding = { left = 0, @@ -57,6 +55,4 @@ config.keys = { action = wezterm.action.DisableDefaultAssignment, }, } - --- and finally, return the configuration to wezterm return config