You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
438 B
23 lines
438 B
1 year ago
|
-- Specific search configurations
|
||
|
|
||
|
-- ctrlp hotkeys
|
||
|
vim.g.ctrlp_map = '<c-p>'
|
||
|
vim.g.ctrlp_cmd = 'CtrlP'
|
||
|
|
||
|
-- Rebind Ctrl-P to match the window opening keys of nerd tree
|
||
|
vim.g.ctrl_p_prompt_mappings = {
|
||
|
['AcceptSelection("h")'] = {'<c-i>','<c-cr>','<c-s>'},
|
||
|
['AcceptSelection("v")'] = {'<c-s>','<RightMouse>' },
|
||
|
}
|
||
|
|
||
|
-- ctrlp configuration
|
||
|
vim.opt.wildignore = {
|
||
|
"*/tmp/*",
|
||
|
"*.so",
|
||
|
"*.swp",
|
||
|
"*.zip",
|
||
|
"*\\tmp\\*",
|
||
|
"*.exe",
|
||
|
"*.out"
|
||
|
}
|