added installation and configuration of ctrlp fzf plugin

This commit is contained in:
Radar231 2022-02-03 09:14:24 -05:00
parent 614df282a1
commit 2f0b35897d
2 changed files with 20 additions and 0 deletions

View File

@ -39,3 +39,7 @@ set t_Co=256
color calmar256-dark
set background=dark
" set up easy mapping for CtrlP plugin (fzf plugin)
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'

View File

@ -36,6 +36,15 @@
group: "{{ username }}"
mode: "0755"
############################################################
- name: Create .vim/pack/plugins/start directory
file:
path: "{{ homedir }}/.vim/pack/plugins/start"
state: directory
owner: "{{ username }}"
group: "{{ username }}"
mode: "0755"
############################################################
- name: Create .vim/undodir directory
file:
@ -72,4 +81,11 @@
group: "{{ username }}"
mode: "0644"
############################################################
- name: clone ctrlp vim plugin into .vim/pack/plugins/start/ctrlp directory
git:
repo: "https://github.com/ctrlpvim/ctrlp.vim.git"
dest: "{{ homedir }}/.vim/pack/plugins/start/ctrlp"
depth: 1
# EOF