]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
add ctrlp back
authorMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 14 May 2021 08:00:35 +0000 (09:00 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 14 May 2021 08:00:35 +0000 (09:00 +0100)
states/vim/arch.sls
states/vim/files/vimrc
states/vim/init.sls

index 0607a0f3cc5e1ccaa9633c65662a3e16c17dce20..21d31eef0ee7be8aef09a9f25dc13e8c7796914b 100644 (file)
@@ -8,3 +8,4 @@ install vim:
       - python-pylint
       - flake8
       - python-pip
+      - the_silver_searcher
index d645f7886099e255a938c7aca18cb6180237aeff..0c5213f9ac155c84054c6ac1d5962f531eee882b 100644 (file)
@@ -33,6 +33,7 @@ Plugin 'vim-python/python-syntax'
 Plugin 'majutsushi/tagbar'
 Plugin 'heavenshell/vim-pydocstring'
 Plugin 'altercation/vim-colors-solarized'
+Plugin 'ctrlpvim/ctrlp.vim'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -158,3 +159,8 @@ let g:pydocstring_doq_path= "/home/max/.local/bin/doq"
 " Clipboard
 noremap <Leader>y "+y
 noremap <Leader>p "+p
+
+let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp'
+if executable('ag')
+    let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
+endif
index e1e595fdac869e22f811d2e3b86ea00dab6f6465..82ecafcee0a2b1cabcc6e2cc386a6e001322dd37 100644 (file)
@@ -54,3 +54,9 @@ doq:
     - name: doq
     - user: {{ grains['user'] }}
     - upgrade: True
+
+pylint_django:
+  pip.installed:
+    - name: pylint-django
+    - user: {{ grains['user'] }}
+    - upgrade: True