nixpkgs/home/programs/neovim/plugins/ctrlp.vim
Daniel Siepmann 082ad58af1
Migrate neovim setup
I managed my setup manually.
This commit ports the existing setup to home-manager.

The program module is used to install neovim together with plugins.
Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
2022-03-12 11:26:32 +01:00

21 lines
655 B
VimL

let g:ctrlp_follow_symlinks = 2
" Default to regex mode
let g:ctrlp_regexp = 1
let g:ctrlp_match_window = 'top,order:ttb,min:1,max:10'
" let g:ctrlp_open_new_file = '0'
" let g:ctrlp_lazy_update = 1
let g:ctrlp_show_hidden = 1
" Configure completion for tags in buffer,
" e.g. configure which kinds to complete for css.
let g:ctrlp_buftag_types = {
\ 'css' : '--css-types=vcit',
\ 'typescript' : '--typescript-types=cnfvmitesod',
\ 'xml' : '--xml-types=ci',
\ 'rst' : '--reStructuredText-types=csSt',
\ 'markdown' : '--Markdown-types=csStT',
\ 'fluid' : '--xml-types=si',
\ 'apache' : '--apache-types=s',
\ 'yaml' : '--yaml-types=t',
\ }