From 5694b1142868878b1915d958897c7058233a7117 Mon Sep 17 00:00:00 2001 From: Konfekt Date: Mon, 30 Aug 2021 05:34:27 +0200 Subject: [PATCH 1/2] add Vim help --- README.md | 34 ++++++++++++++++++++++++ doc/vim-ctrlp-cmdpalette.txt | 50 ++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 README.md create mode 100644 doc/vim-ctrlp-cmdpalette.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..d6776f6 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Vim-CtrlP-CmdPalette + +This is an extension for the awesome vim +[CtrlP](https://github.com/kien/ctrlp.vim) 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](https://github.com/kien/ctrlp.vim) +installed and a vim compiled with python support. Once you have that: + +- If you use [Vim-plug](https://github.com/junegunn/vim-plug), add + this to your plugins list: `Plug 'fisadev/vim-ctrlp-cmdpalette'`. +- If you use [Vundle](https://github.com/gmarik/vundle), add this to + your bundles list: `Bundle 'fisadev/vim-ctrlp-cmdpalette'`. +- If you use [Patogen](https://github.com/tpope/vim-pathogen), 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](https://github.com/sgur/ctrlp-extensions.vim), which allowed me +to learn how to extend CtrlP. diff --git a/doc/vim-ctrlp-cmdpalette.txt b/doc/vim-ctrlp-cmdpalette.txt new file mode 100644 index 0000000..a4e3094 --- /dev/null +++ b/doc/vim-ctrlp-cmdpalette.txt @@ -0,0 +1,50 @@ +vim-ctrlp-cmdpalette.txt + +================================================================================ +CONTENTS *vim-ctrlp-cmdpalette-contents* + +1. Vim-CtrlP-CmdPalette................|vim-ctrlp-cmdpalette-vim-ctrlp-cmdpalette| + 1.1. Installation..........................|vim-ctrlp-cmdpalette-installation| + 1.2. Options....................................|vim-ctrlp-cmdpalette-options| + 1.3. Thanks......................................|vim-ctrlp-cmdpalette-thanks| + +================================================================================ +VIM-CTRLP-CMDPALETTE *vim-ctrlp-cmdpalette-vim-ctrlp-cmdpalette* + +This is an extension for the awesome vim +CtrlP (https://github.com/kien/ctrlp.vim) plugin. + +This extension adds a new CtrlP command, the `:CtrlPCmdPalette`, which +allows you to find and run vim commands (internal or custom). + +-------------------------------------------------------------------------------- +INSTALLATION *vim-ctrlp-cmdpalette-installation* + +First you will need to have CtrlP (https://github.com/kien/ctrlp.vim) +installed and a vim compiled with python support. Once you have that: + +* If you use Vim-plug (https://github.com/junegunn/vim-plug), add + this to your plugins list: . +* If you use Vundle (https://github.com/gmarik/vundle), add this to + your bundles list: . +* If you use Patogen (https://github.com/tpope/vim-pathogen), clone + this repo inside your bundles dir. + +Done! Now you can call `:CtrlPCmdPalette`, or map it to a keybinding :) + +-------------------------------------------------------------------------------- +OPTIONS *vim-ctrlp-cmdpalette-options* + +If you want the selected command to be executed by default, add this to +your .vimrc + + + +-------------------------------------------------------------------------------- +THANKS *vim-ctrlp-cmdpalette-thanks* + +Special thanks to the creator of this +plugin (https://github.com/sgur/ctrlp-extensions.vim), which allowed me +to learn how to extend CtrlP. + + vim:tw=78:ts=8:ft=help:norl: From 783e9ea14ce318a6f9a8f116924e482f8740016d Mon Sep 17 00:00:00 2001 From: Enno Date: Tue, 21 Sep 2021 08:27:12 +0200 Subject: [PATCH 2/2] Delete doubled Readme --- README.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index d6776f6..0000000 --- a/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Vim-CtrlP-CmdPalette - -This is an extension for the awesome vim -[CtrlP](https://github.com/kien/ctrlp.vim) 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](https://github.com/kien/ctrlp.vim) -installed and a vim compiled with python support. Once you have that: - -- If you use [Vim-plug](https://github.com/junegunn/vim-plug), add - this to your plugins list: `Plug 'fisadev/vim-ctrlp-cmdpalette'`. -- If you use [Vundle](https://github.com/gmarik/vundle), add this to - your bundles list: `Bundle 'fisadev/vim-ctrlp-cmdpalette'`. -- If you use [Patogen](https://github.com/tpope/vim-pathogen), 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](https://github.com/sgur/ctrlp-extensions.vim), which allowed me -to learn how to extend CtrlP.