Keybingings for git and completion

- <space>=r reset hunk
- <space>=R reset file
- <space>=R reset file
This commit is contained in:
2024-10-13 21:21:33 +02:00
parent 98149a4b8f
commit 75e581e856
2 changed files with 5 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ cmp.setup({
-- Use <C-k/j> to switch in items
['<C-k>'] = cmp.mapping.select_prev_item(),
['<C-j>'] = cmp.mapping.select_next_item(),
['<C-Space>'] = cmp.mapping.complete(),
-- Use <CR>(Enter) to confirm selection
-- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
['<CR>'] = cmp.mapping.confirm({ select = true }),