diff options
author | oberblastmeister | 2021-09-01 15:55:16 +0000 |
---|---|---|
committer | GitHub | 2021-09-01 15:55:16 +0000 |
commit | 825bceeab68276cdf120bda5d172b854867d8585 (patch) | |
tree | d1237984f1e9a0ee8024406bc7cd355af6b6792a /book/src | |
parent | ae3f9366118bae9775b5229b817d1131c84cfc96 (diff) |
add_newline unimpaired mapping (#653)
* added some keymaps
* remove
* remove wrong mappings
* remove
* wrong import
* use enum
* correct line ending
* added to book
* column
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/keymap.md | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index 2c6a9576..861e46ac 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -110,17 +110,18 @@ in reverse, or searching via smartcase. | `N` | Add next search match to selection | `extend_search_next` | | `*` | Use current selection as the search pattern | `search_selection` | -### Diagnostics - -> NOTE: `[` and `]` will likely contain more pair mappings in the style of -> [vim-unimpaired](https://github.com/tpope/vim-unimpaired) - -| Key | Description | Command | -| ----- | ----------- | ------- | -| `[d` | Go to previous diagnostic | `goto_prev_diag` | -| `]d` | Go to next diagnostic | `goto_next_diag` | -| `[D` | Go to first diagnostic in document | `goto_first_diag` | -| `]D` | Go to last diagnostic in document | `goto_last_diag` | +### Unimpaired + +Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired) + +| Key | Description | Command | +| ----- | ----------- | ------- | +| `[d` | Go to previous diagnostic | `goto_prev_diag` | +| `]d` | Go to next diagnostic | `goto_next_diag` | +| `[D` | Go to first diagnostic in document | `goto_first_diag` | +| `]D` | Go to last diagnostic in document | `goto_last_diag` | +| `[space` | Add newline above | `add_newline_above` | +| `]space` | Add newline below | `add_newline_below` | ### Shell |