add C-r bind for telescope command history

This commit is contained in:
Maciej Lebiest 2023-10-07 21:11:30 +02:00 committed by GitHub
parent 8790289b7d
commit 88f559539a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,7 @@ function switch_virtual_text()
})
end
map("n", "<leader>vt", ":lua switch_virtual_text()<CR>")
map("t", "<C-r>", ":Telescope command_history<CR>")
-- tab lines in normal and visual mode
map("n", "<Tab>", ">>")