diff --git a/nvim/lua/plugins/which-key.lua b/nvim/lua/plugins/which-key.lua index d0a89eb2..19f50eb7 100644 --- a/nvim/lua/plugins/which-key.lua +++ b/nvim/lua/plugins/which-key.lua @@ -8,6 +8,10 @@ wk.register({ [''] = { 'bnext', 'buffer navigation with arrow keys' }, [''] = { 'blast', 'buffer navigation with arrow keys' }, [''] = { 'bprevious', 'buffer navigation with arrow keys' }, + ['˙'] = { '<<', 'bubbling lines with alt-hjkl', noremap = false }, + ['∆'] = { ':move .+1', 'bubbling lines with alt-hjkl', noremap = false }, + ['˚'] = { ':move .-2', 'bubbling lines with alt-hjkl', noremap = false }, + ['¬'] = { '>>', 'bubbling lines with alt-hjkl', noremap = false }, g = { a = { 'lua vim.lsp.buf.code_action()', 'run code action' }, @@ -42,12 +46,6 @@ wk.register({ [''] = { 'NavigatorUp', 'move to the upper split' }, [''] = { 'NavigatorRight', 'move to the lower split' }, [''] = { 'v', 'remapping visual/visual-block mode' }, - - -- with as modifier - [''] = { ':move .-2', 'bubbling lines with alt-hjkl', noremap = false }, - [''] = { ':move .+1', 'bubbling lines with alt-hjkl', noremap = false }, - [''] = { '<<', 'bubbling lines with alt-hjkl', noremap = false }, - [''] = { '>>', 'bubbling lines with alt-hjkl', noremap = false }, }) -- all normal mode leader key mappings in one place @@ -76,16 +74,13 @@ wk.register({ -- visual-mode mappings wk.register({ [';'] = { ':', 'Colon with semicolon' }, - v = { '', 'remapping visual/visual-block mode' }, + ['˙'] = { '+1gv", 'bubbling lines with alt-hjkl', noremap = false }, + ['˚'] = { ":move '<-2gv", 'bubbling lines with alt-hjkl', noremap = false }, + ['¬'] = { '>gv', 'bubbling lines with alt-hjkl', noremap = false }, - -- with as modifier + v = { '', 'remapping visual/visual-block mode' }, [''] = { 'v', 'remapping visual/visual-block mode' }, - - -- with as modifier - [''] = { ":move '<-2gv", 'bubbling lines with alt-hjkl', noremap = false }, - [''] = { ":move '>+1gv", 'bubbling lines with alt-hjkl', noremap = false }, - [''] = { ''] = { '>gv', 'bubbling lines with alt-hjkl', noremap = false }, }, { mode = 'v' }) -- non-normal-mode mappings diff --git a/wezterm.lua b/wezterm.lua index 7a808427..1b2b984e 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -29,9 +29,13 @@ config.default_prog = { '/opt/homebrew/bin/zsh' } config.font_size = 14.0 config.initial_cols = 120 config.initial_rows = 32 -config.inactoutive_pane_hsb = { saturation = 0.5, brightness = 0.9 } +config.inactive_pane_hsb = { saturation = 0.5, brightness = 0.9 } config.leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1000 } config.scrollback_lines = 5000 +config.send_composed_key_when_left_alt_is_pressed = true + +˙∆˚¬ + config.show_new_tab_button_in_tab_bar = false config.tab_bar_at_bottom = true config.use_dead_keys = false