.
This commit is contained in:
parent
1a60ba0dcd
commit
1dce2e9f2d
5 changed files with 12 additions and 9 deletions
|
|
@ -119,3 +119,8 @@ map({ "n", "v" }, "<S-CR>", function()
|
|||
end, { desc = "Select child treesitter node or inner incremental lsp selections" })
|
||||
|
||||
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)" })
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
},
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ local keys = {
|
|||
desc = "Find Files",
|
||||
},
|
||||
{
|
||||
"/",
|
||||
"<leader>sl",
|
||||
function()
|
||||
Snacks.picker.lines()
|
||||
end,
|
||||
|
|
|
|||
|
|
@ -150,7 +150,8 @@ 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.
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue