Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSilvester committed May 22, 2024
1 parent 12a2d23 commit 0bac388
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ Most of the key bindings revolve around a <kbd>SUPER</kbd> and <kbd>SUPER_REV</k
&nbsp;
#### Cursor Movements
| Keys | Action |
| -------------------------------------- | ------------------------- |
| <kbd>SUPER</kbd>+<kbd>LeftArrow</kbd> | Move cursor to Line Start |
| <kbd>SUPER</kbd>+<kbd>RightArrow</kbd> | Move cursor to Line End |
| <kbd>SUPER</kbd>+<kbd>Backspace</kbd> | Clear line |
&nbsp;
#### Tabs
##### Tabs: Spawn+Close
Expand Down
5 changes: 2 additions & 3 deletions config/bindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ local keys = {
},

-- cursor movement --
-- move cursor to the line beginning
{ key = 'LeftArrow', mods = mod.SUPER, action = act.SendString '\x1bOH' },
-- move cursor to the line end
{ key = 'LeftArrow', mods = mod.SUPER, action = act.SendString '\x1b0H' },
{ key = 'RightArrow', mods = mod.SUPER, action = act.SendString '\x1bOF' },
{ key = 'Backspace', mods = mod.SUPER, action = act.SendString '\x15' },

-- copy/paste --
{ key = 'c', mods = 'CTRL|SHIFT', action = act.CopyTo('Clipboard') },
Expand Down

0 comments on commit 0bac388

Please sign in to comment.