Skip to content

Commit

Permalink
docs(readme): add terminal-mode keybindings (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: numToStr <[email protected]>
  • Loading branch information
craigmac and numToStr authored Dec 13, 2022
1 parent 5c9e0b5 commit a440fea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ require('Navigator').setup()
> **Note** - This plugin doesn't provide any keybindings by default, feel free to use (and modify) the following or create your own keybindings.
```lua
vim.keymap.set('n', '<A-h>', '<CMD>NavigatorLeft<CR>')
vim.keymap.set('n', '<A-l>', '<CMD>NavigatorRight<CR>')
vim.keymap.set('n', '<A-k>', '<CMD>NavigatorUp<CR>')
vim.keymap.set('n', '<A-j>', '<CMD>NavigatorDown<CR>')
vim.keymap.set('n', '<A-p>', '<CMD>NavigatorPrevious<CR>')
vim.keymap.set({'n', 't'}, '<A-h>', '<CMD>NavigatorLeft<CR>')
vim.keymap.set({'n', 't'}, '<A-l>', '<CMD>NavigatorRight<CR>')
vim.keymap.set({'n', 't'}, '<A-k>', '<CMD>NavigatorUp<CR>')
vim.keymap.set({'n', 't'}, '<A-j>', '<CMD>NavigatorDown<CR>')
vim.keymap.set({'n', 't'}, '<A-p>', '<CMD>NavigatorPrevious<CR>')
```

#### Multiplexer(s)
Expand Down

0 comments on commit a440fea

Please sign in to comment.