Skip to content

Extension for ctrlp.vim, to have a command palette like sublime text 2

Notifications You must be signed in to change notification settings

fisadev/vim-ctrlp-cmdpalette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Vim-CtrlP-CmdPalette

This is an extension for the awesome vim CtrlP plugin.

This extension adds a new CtrlP command, the :CtrlPCmdPalette, which allows you to find and run vim commands (internal or custom).

Installation

First you will need to have CtrlP installed and a vim compiled with python support. Once you have that:

  • If you use Vim-plug, add this to your plugins list: Plug 'fisadev/vim-ctrlp-cmdpalette'.
  • If you use Vundle, add this to your bundles list: Bundle 'fisadev/vim-ctrlp-cmdpalette'.
  • If you use Patogen, clone this repo inside your bundles dir.

Done! Now you can call :CtrlPCmdPalette, or map it to a keybinding :)

Options

If you want the selected command to be executed by default, add this to your .vimrc

let g:ctrlp_cmdpalette_execute = 1

Thanks

Special thanks to the creator of this plugin, which allowed me to learn how to extend CtrlP.

About

Extension for ctrlp.vim, to have a command palette like sublime text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published