CtrlP (<leader>P) mappings

This commit is contained in:
Anthony Cicchetti 2020-07-07 18:50:46 -04:00
parent 9ceb41ba29
commit 910d2c49a3
2 changed files with 20 additions and 7 deletions

View file

@ -44,39 +44,44 @@
args:
creates: ~/.anyenv/envs/exenv
- name: anyenv plugin dir
- name: anyenv - plugin dir
file:
path: ~/.anyenv/plugins
state: directory
- name: anyenv update plugin
- name: anyenv - update plugin
shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update
args:
creates: ~/.anyenv/plugins/anyenv-update
- name: pyenv virtualenv plugin
- name: pyenv - virtualenv plugin
shell: git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.anyenv/envs/pyenv/plugins/pyenv-virtualenv
args:
creates: ~/.anyenv/envs/pyenv/plugins/pyenv-virtualenv
- name: pyenv default packages plugin
- name: pyenv - default packages plugin
shell: git clone https://github.com/jawshooah/pyenv-default-packages.git ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages
args:
creates: ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages
- name: symlink pyenv-defaults
- name: pyenv - symlink pyenv-defaults
file:
src: ~/.dotfiles/defaults/default-packages
dest: ~/.anyenv/envs/pyenv/default-packages
state: link
- name: symlink rbenv-defaults
- name: rbenv - default packages plugin
shell: git clone https://github.com/rbenv/rbenv-default-gems ~/.anyenv/envs/rbenv/plugins/rbenv-default-gems
args:
creates: ~/.anyenv/envs/rbenv/plugins/rbenv-default-gems
- name: rbenv - symlink rbenv-defaults
file:
src: ~/.dotfiles/defaults/default-gems
dest: ~/.anyenv/envs/rbenv/default-gems
state: link
- name: nodenv nvmrc plugin
- name: nodenv - nvmrc plugin
shell: git clone https://github.com/ouchxp/nodenv-nvmrc.git ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc
args:
creates: ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc

View file

@ -62,6 +62,9 @@ Plug 'Olical/conjure'
Plug 'Olical/aniseed'
Plug 'bakpakin/fennel.vim'
" CtrlP
Plug 'ctrlpvim/ctrlp.vim'
" Wakatime
Plug 'wakatime/vim-wakatime'
@ -91,6 +94,11 @@ Plug 'prabirshrestha/async.vim'
call plug#end()
" CtrlP mappings
let g:ctrlp_map = '<Leader>p'
let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_user_command = 'rg --files %s'
" Builtin LSP
lua << EOF
local nvim_lsp = require'nvim_lsp'