Skip to content

Commit

Permalink
feat: tweak wezterm keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
fbosch committed Jun 19, 2024
1 parent ff48d8f commit 3647af5
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 28 deletions.
8 changes: 3 additions & 5 deletions .config/nvim/lua/plugins/editor/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ return {
{ "smjonas/live-command.nvim", event = "BufRead", opts = {} },
{ "nguyenvukhang/nvim-toggler", event = { "BufReadPost" }, opts = {} },
{
"ecthelionvi/NeoComposer.nvim",
dependencies = { "kkharji/sqlite.lua" },
event = "VeryLazy",
opts = {},
enabled = false, -- clashes with keybinds
"chrisgrieser/nvim-recorder",
dependencies = "rcarriga/nvim-notify", -- optional
opts = {}, -- required even with default settings, since it calls `setup()`
},
{
-- find and replace
Expand Down
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/editor/fidget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ return {
notification = {
configs = {
default = {
name = "󱞽 Notifications",
icon = "󰂚",
name = "",
icon = "",
icon_style = "Special",
annote_style = "DiagnosticInfo",
debug_style = "Comment",
Expand Down
5 changes: 3 additions & 2 deletions .config/nvim/lua/plugins/editor/visuals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ return {

tint.setup({
transforms = {
transforms.tint_with_threshold(-30, colors.background, 100),
transforms.saturate(0.25),
transforms.tint_with_threshold(-40, colors.background, 100),
transforms.saturate(0.4),
},
highlight_ignore_patterns = {
"NvimTree*",
"IndentBlankline*",
"Ibl*",
"Whitespace",
Expand Down
3 changes: 3 additions & 0 deletions .config/nvim/spell/en.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -1196,3 +1196,6 @@ NextButton
initialValue
and
WezTerm
interestPaymentFrequency
Rentefrekvens
Listbox
Binary file modified .config/nvim/spell/en.utf-8.add.spl
Binary file not shown.
38 changes: 19 additions & 19 deletions .wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,34 +233,34 @@ config.keys = {
-- TODO: find better keys for splitting panes
{
key = "v",
mods = "CTRL|SHIFT",
mods = "CMD, CTRL|SHIFT",
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
{
key = "s",
mods = "CTRL|SHIFT",
mods = "CMD, CTRL|SHIFT",
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
},
{
key = "l",
mods = "CTRL|SHIFT",
action = wezterm.action.DisableDefaultAssignment,
mods = "CMD",
action = wezterm.action.ActivatePaneDirection("Right"),
},
{
key = "h",
mods = "CMD",
action = wezterm.action.ActivatePaneDirection("Left"),
},
{
key = "j",
mods = "CMD",
action = wezterm.action.ActivatePaneDirection("Down"),
},
{
key = "k",
mods = "CMD",
action = wezterm.action.ActivatePaneDirection("Up"),
},
-- {
-- key = "h",
-- mods = "CTRL|SHIFT",
-- action = wezterm.action.ActivatePaneDirection("Left"),
-- },
-- {
-- key = "j",
-- mods = "CTRL|SHIFT",
-- action = wezterm.action.ActivatePaneDirection("Down"),
-- },
-- {
-- key = "k",
-- mods = "CTRL|SHIFT",
-- action = wezterm.action.ActivatePaneDirection("Up"),
-- },
{
key = "RightArrow",
mods = "CTRL|SHIFT",
Expand Down

0 comments on commit 3647af5

Please sign in to comment.