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: args:
creates: ~/.anyenv/envs/exenv creates: ~/.anyenv/envs/exenv
- name: anyenv plugin dir - name: anyenv - plugin dir
file: file:
path: ~/.anyenv/plugins path: ~/.anyenv/plugins
state: directory state: directory
- name: anyenv update plugin - name: anyenv - update plugin
shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update
args: args:
creates: ~/.anyenv/plugins/anyenv-update 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 shell: git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.anyenv/envs/pyenv/plugins/pyenv-virtualenv
args: args:
creates: ~/.anyenv/envs/pyenv/plugins/pyenv-virtualenv 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 shell: git clone https://github.com/jawshooah/pyenv-default-packages.git ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages
args: args:
creates: ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages creates: ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages
- name: symlink pyenv-defaults - name: pyenv - symlink pyenv-defaults
file: file:
src: ~/.dotfiles/defaults/default-packages src: ~/.dotfiles/defaults/default-packages
dest: ~/.anyenv/envs/pyenv/default-packages dest: ~/.anyenv/envs/pyenv/default-packages
state: link 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: file:
src: ~/.dotfiles/defaults/default-gems src: ~/.dotfiles/defaults/default-gems
dest: ~/.anyenv/envs/rbenv/default-gems dest: ~/.anyenv/envs/rbenv/default-gems
state: link 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 shell: git clone https://github.com/ouchxp/nodenv-nvmrc.git ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc
args: args:
creates: ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc creates: ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc

View file

@ -62,6 +62,9 @@ Plug 'Olical/conjure'
Plug 'Olical/aniseed' Plug 'Olical/aniseed'
Plug 'bakpakin/fennel.vim' Plug 'bakpakin/fennel.vim'
" CtrlP
Plug 'ctrlpvim/ctrlp.vim'
" Wakatime " Wakatime
Plug 'wakatime/vim-wakatime' Plug 'wakatime/vim-wakatime'
@ -91,6 +94,11 @@ Plug 'prabirshrestha/async.vim'
call plug#end() 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 " Builtin LSP
lua << EOF lua << EOF
local nvim_lsp = require'nvim_lsp' local nvim_lsp = require'nvim_lsp'