✨ More quality of life aliases/shortcut
This commit is contained in:
parent
5f34b827e4
commit
eefc1c0a63
2 changed files with 4 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ vim.keymap.set("n", "cp", ":ClangFormat<cr>", { silent = true })
|
|||
|
||||
-- open fzf with ctrl + p
|
||||
vim.cmd([[nnoremap fzf :silent :FZFExplore]])
|
||||
vim.keymap.set("n", "<leader>f", ":FZFExplore")
|
||||
-- vim.keymap.set("n", "<C-p>", "<c-w>:FZFExplore<CR>", {})
|
||||
|
||||
-- CtrlP: similar to fzf, but with a more simple interface
|
||||
|
|
@ -91,6 +92,7 @@ vim.keymap.set("n", "<C-p>", "<c-w>:CtrlPMixed<cr>")
|
|||
|
||||
-- open ripgrep
|
||||
vim.cmd([[nnoremap rg :silent :Rg]])
|
||||
vim.keymap.set("n", "<leader>r", ":silent :Rg")
|
||||
|
||||
--toggle autocompletion
|
||||
vim.cmd([[nnoremap cmp :silent lua SetAutoCmp(Mode)]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue