dot

packages and services management
Log | Files | Refs | README

commit 6fc1a236ee18d9c9d68e3a7e7833fa9fdb064152
parent 122101aa0673ef315b4a0c47c54b84a711cb559b
Author: josuah <mail@josuah.net>
Date:   Sun, 27 Nov 2016 18:02:22 +0100

Ditching vim plugins

Diffstat:
M.cache/iomenu/history | 2++
M.profile | 2+-
M.vim/vimrc | 18++++++++----------
Minstall | 21---------------------
4 files changed, 11 insertions(+), 32 deletions(-)

diff --git a/.cache/iomenu/history b/.cache/iomenu/history @@ -1,5 +1,6 @@ [ 7za +abduco addpart b alsamixer alsamixer -c 1 @@ -8,6 +9,7 @@ barkdown + build drawk ex +fig fzf grep io-abduco diff --git a/.profile b/.profile @@ -13,6 +13,7 @@ . "$HOME/.config/environment" export ABDUCO_SOCKET_DIR="$XDG_CACHE_HOME" +export ABDUCO_CMD="$SHELL" export EMAIL="mail@josuah.net" @@ -50,7 +51,6 @@ alias p='$PAGER' alias a='io-abduco' alias g='io-grep' alias v='io-abduco $VISUAL +' -alias s='io-abduco $SHELL' alias m='io-man' alias t='tmux attach &>/dev/null || tmux new' alias f='find . -type f ! -path "*/.git/*" | cut -c 3- | sort | iomenu' diff --git a/.vim/vimrc b/.vim/vimrc @@ -2,12 +2,12 @@ " | / , --.-. .,-- ,--. " |/ | | | | | | " ' ' ' ' ' ' `--' 2016-10-11 -"------------------------------------------------------------------------------- -" Config for vim using vim's features rather than a lot of plugins +"_______________________________________________________________________________ +" Using vim's features rather than plugins " Options -"------------------------------------------------------------------------------- +"_______________________________________________________________________________ syntax enable | filetype plugin on | set nocompatible @@ -58,7 +58,7 @@ set showfulltag " Mappings -"------------------------------------------------------------------------------- +"_______________________________________________________________________________ let mapleader = ' ' nmap Y y$ @@ -90,14 +90,14 @@ vmap <Leader>p myomzr\|`zlhr\`ylhr/ " Abbreviations -"------------------------------------------------------------------------------- +"_______________________________________________________________________________ iabbrev -_ <Esc>80a-<Esc>a iabbrev =_ <Esc>80a=<Esc>a " Highlights -"------------------------------------------------------------------------------- +"_______________________________________________________________________________ " interface highlight nontext cterm=bold ctermfg=1 @@ -128,16 +128,14 @@ highlight number cterm=bold ctermfg=7 " Autocommands -" ------------------------------------------------------------------------------ +"_______________________________________________________________________________ autocmd vimenter * :silent !mkdir -p ~/.cache/vim/ autocmd winenter * :file " Plugins -"------------------------------------------------------------------------------- - -execute pathogen#infect() +"_______________________________________________________________________________ " undotree nmap <Leader>u :UndotreeToggle<CR> diff --git a/install b/install @@ -10,7 +10,6 @@ COMMAND l link the dotfiles to $HOME g clone git repos listed in ~/.config/git/projects m setup mail credentials - v installs vim plugins listed in ~/.vim/plugin " exit 0 @@ -64,26 +63,6 @@ netrc() } -vim_plugins() -{ - local bundle=~/.vim/bundle - - [ -d "$bundle" ] && rm -r "$bundle" ~/.vim/autoload/pathogen.vim - mkdir -p "$bundle" ~/.vim/autoload - wget -qO ~/.vim/autoload/pathogen.vim http://tpo.pe/pathogen.vim & - - # download the plugins and extract them - while IFS='' read -r plugin - do - printf 'downloading %s\n' "$plugin" - wget -qO- "http://github.com/$plugin/archive/master.tar.gz" | - tar -xvz -f- -c "$bundle" 1> /dev/null & - done < ~/.vim/plugins - - printf 'downloading in background...\n' -} - - main() { [ $# -eq 0 ] && usage