Massively thin out vimrc
I don't need all that. And this way I can copy it to servers easier (coming soon)
This commit is contained in:
parent
7d10cf4ccb
commit
bcce8c63ba
2 changed files with 11 additions and 32 deletions
17
files/vimrc
17
files/vimrc
|
@ -1,18 +1,21 @@
|
|||
execute pathogen#infect()
|
||||
|
||||
let g:lightline = {'colorscheme': 'wombat'}
|
||||
|
||||
cmap w!! w !sudo tee >/dev/null %
|
||||
:set mouse=a
|
||||
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
|
||||
set laststatus=2
|
||||
|
||||
if !has('gui_running')
|
||||
set t_Co=256
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
colorscheme peaksea
|
||||
|
||||
" Tab inserts 4 spaces
|
||||
set expandtab
|
||||
set ts=4 sw=4 sts=4
|
||||
|
||||
" Autocomplete in command mode (Tab to invoke)
|
||||
set wildmenu
|
||||
|
||||
" Set the 'default but not default' colour scheme
|
||||
colo default
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
- name: Install dev packages
|
||||
- name: Install vim
|
||||
aur:
|
||||
name: "{{ item }}"
|
||||
become: true
|
||||
become_user: aur_builder
|
||||
loop:
|
||||
- gvim
|
||||
- vim-pathogen
|
||||
|
||||
- name: Install vimrc
|
||||
copy:
|
||||
|
@ -22,26 +21,3 @@
|
|||
mode: 0644
|
||||
owner: root
|
||||
group: users
|
||||
|
||||
- name: Create vim packages directory
|
||||
file:
|
||||
path: "{{ home }}/.vim/bundle"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
mode: 0755
|
||||
|
||||
- name: Install vim packages
|
||||
git:
|
||||
repo: "{{ item }}"
|
||||
dest: "{{ home }}/.vim/bundle/{{ item.split('/')[-1] }}"
|
||||
force: true
|
||||
become: true
|
||||
become_user: "{{ user }}"
|
||||
loop:
|
||||
- https://github.com/junegunn/goyo.vim
|
||||
- https://github.com/itchyny/lightline.vim
|
||||
- https://github.com/scrooloose/nerdtree
|
||||
- https://github.com/vim-scripts/peaksea
|
||||
- https://github.com/terryma/vim-multiple-cursors
|
||||
- https://github.com/jremmen/vim-ripgrep
|
||||
- https://github.com/amix/vim-zenroom2
|
||||
|
|
Loading…
Reference in a new issue