-
Notifications
You must be signed in to change notification settings - Fork 86
Examples
Liu-Cheng Xu edited this page Jan 23, 2020
·
6 revisions
The examples here are community-driven and not guaranteed to be bug-free.
Ensure your code is tested at least by yourself before adding it here.
let g:clap_provider_dotfiles = {
\ 'source': ['~/.vimrc', '~/.spacevim', '~/.bashrc', '~/.tmux.conf'],
\ 'sink': 'e',
\ }
Use :Clap dotfiles
to open some dotfiles quickly.
let g:clap_provider_commands = {
\ 'source': ['Clap debug', 'UltiSnipsEdit'],
\ 'sink': { selected -> execute(selected, '')},
\ }
Use :Clap commands
to execute the custom commands.