Keybingings for git and completion
- <space>=r reset hunk - <space>=R reset file - <space>=R reset file
This commit is contained in:
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user