|
@@ -16,6 +16,9 @@ vim.keymap.set('t', '<ESC><ESC>', '<C-\\><C-N>', opts)
|
|
|
-- allow pressing enter to autocomplete
|
|
|
vim.keymap.set('i', '<CR>', 'pumvisible() ? "\\<C-y>" : "\\<CR>"', { expr = true })
|
|
|
|
|
|
+-- select pasted text
|
|
|
+vim.keymap.set('n', 'gp', '`[v`]', opts)
|
|
|
+
|
|
|
-- pickers
|
|
|
vim.keymap.set('n', '<C-P>', '<cmd>lua project_files()<CR>', opts)
|
|
|
vim.keymap.set('n', '<C-O>', '<cmd>Telescope buffers<CR>', opts)
|