dot

packages and services management
Log | Files | Refs | README

commit 0f7c499b239a80472561f1b9ae18aa16316b2e3c
parent 3475ae23ac584637e71b154ac6f577c8f3b3b4fc
Author: josuah <mail@josuah.net>
Date:   Wed,  7 Sep 2016 14:58:24 +0200

Added git build script

Diffstat:
MREADME | 1-
Agit/build.sh | 3+++
Mshell/.profile | 3++-
Mvim/.vimrc | 14++++++++++++--
4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/README b/README @@ -75,7 +75,6 @@ VIM PLUGINS undotree http://github.com/mbbill/undotree surround http://github.com/tpope/vim-surround lion http://github.com/tommcdo/vim-lion - supertab http://github.com/ervandew/supertab multiple http://github.com/terryma/vim-multiple-cursors fzy http://github.com/Dkendal/fzy-vim gitgutter https://github.com/airblade/vim-gitgutter diff --git a/git/build.sh b/git/build.sh @@ -0,0 +1,3 @@ +# The great git version control system + +tar=http://www.kernel.org/pub/software/scm/git/git-2.10.0.tar.gz diff --git a/shell/.profile b/shell/.profile @@ -62,7 +62,7 @@ export PS2='| ' # ALIAS #------------------------------------------------------------------------------- -alias l='ls -F -w 80 --color' +alias l='ls -F -C -w 80 --color' alias ll='l -lh' alias la='l -A' alias lla='l -Alh' @@ -76,6 +76,7 @@ alias p='$PAGER' alias f='find . -type f ! -path "*/.git/*" | fzy' alias d='find . -type d ! -path "*/.git/*" | fzy' alias c='cd "$(d)"' +alias g='grep --color=always' # FUNCTIONS diff --git a/vim/.vimrc b/vim/.vimrc @@ -13,8 +13,11 @@ set autoindent copyindent " Indentation set laststatus=2 ruler " Statusline set smartcase ignorecase " Case set hlsearch showmatch " Highlight -set list listchars=tab:>\ ,eol:$ fillchars=vert:│,fold:─ " Text display -set ruler number numberwidth=4 colorcolumn=80 cursorline " Interface +set list listchars=tab:>\ ,eol:$,nbsp:_ " Text display +set fillchars=vert:│,fold:─ " Interface chars +set ruler number numberwidth=4 cursorline " Interface +set backupdir=~/.cache/vim// +set directory=~/.cache/vim// " FUNCTIONS @@ -73,6 +76,13 @@ highlight StatusLineNC cterm=none ctermfg=7 highlight VertSplit cterm=none +" AUTOCOMMANDS +" ------------------------------------------------------------------------------ + +autocmd VimEnter * :silent !mkdir -p ~/.cache/vim/ +autocmd BufWinEnter * :call matchadd('ColorColumn', '\%81v\+', 1) + + " PLUGINS "-------------------------------------------------------------------------------