updated packages to include repo based vim plugins

This commit is contained in:
Radar231 2023-12-21 13:28:56 -05:00
parent dcbeaf9750
commit 1cd73016cc
2 changed files with 31 additions and 8 deletions

View File

@ -9,6 +9,8 @@ set backspace=indent,eol,start
" switch syntax highlighting on
syntax on
filetype plugin on
set smartindent
set autoindent
@ -34,8 +36,25 @@ set incsearch
" turn on full python highlighting
let python_highlight_all = 1
" netrw tweaks
let g:netrw_banner=0 " disable annoying banner
let g:netrw_browse_split=4 " open in prior window
let g:netrw_altv=1 " open splits to the right
let g:netrw_liststyle=3 " tree view
nmap <silent> <C-e> :Lexplore<CR>
"let g:netrw_list_hide=netrw_gitignore#Hide()
"let g:netrw_list_hide.=',\(^\|\s\s\)\zs\.\S\+'
" set 256 colors and use specific color scheme
set t_Co=256
color calmar256-dark
colorscheme calmar256-dark
set background=dark
" from no_plugins page (https://github.com/changemewtf/no_plugins)
set path+=**
set wildmenu
packadd! ale
packadd! CtrlP

View File

@ -23,6 +23,11 @@
apt:
name:
- vim
- vim-airline
- vim-airline-themes
- vim-ale
- vim-ctrlp
- vim-doc
- vim-scripts
- git
state: latest
@ -33,6 +38,10 @@
pacman:
name:
- vim
- vim-airline
- vim-airline-themes
- vim-ale
- vim-ctrlp
- git
state: latest
when: ansible_os_family == "Archlinux"
@ -72,6 +81,7 @@
owner: "{{ username }}"
group: "{{ username }}"
mode: "0755"
when: ansible_os_family == "Archlinux"
############################################################
- name: Copy calmar256-dark color file
@ -81,6 +91,7 @@
owner: "{{ username }}"
group: "{{ username }}"
mode: "0644"
when: ansible_os_family == "Archlinux"
############################################################
- name: Copy vimrc
@ -91,11 +102,4 @@
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