From a8244e06cd9069e62f97755502a1fe8379427a93 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 25 Apr 2016 11:32:13 +0100 Subject: [PATCH] Rearrange to suit GNU stow for vim and bash. --- bash_aliases => bash/.bash_aliases | 0 bash_profile => bash/.bash_profile | 0 bashrc => bash/.bashrc | 0 inputrc => bash/.inputrc | 0 makelinks.sh | 36 ------------------------------ vimrc => vim/.vimrc | 0 vim_lite/.vimrc | 19 ++++++++++++++++ 7 files changed, 19 insertions(+), 36 deletions(-) rename bash_aliases => bash/.bash_aliases (100%) rename bash_profile => bash/.bash_profile (100%) rename bashrc => bash/.bashrc (100%) rename inputrc => bash/.inputrc (100%) delete mode 100755 makelinks.sh rename vimrc => vim/.vimrc (100%) create mode 100644 vim_lite/.vimrc diff --git a/bash_aliases b/bash/.bash_aliases similarity index 100% rename from bash_aliases rename to bash/.bash_aliases diff --git a/bash_profile b/bash/.bash_profile similarity index 100% rename from bash_profile rename to bash/.bash_profile diff --git a/bashrc b/bash/.bashrc similarity index 100% rename from bashrc rename to bash/.bashrc diff --git a/inputrc b/bash/.inputrc similarity index 100% rename from inputrc rename to bash/.inputrc diff --git a/makelinks.sh b/makelinks.sh deleted file mode 100755 index 5f34e6f..0000000 --- a/makelinks.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -############################ -# .make.sh -# Create symlinks from the home directory to dotfiles in ~/etc/dotfiles -############################ - -########## Variables - -dir=~/etc/dotfiles -olddir=~/etc/dotfiles.bak -files="octaverc vimrc bashrc bash_profile bash_aliases dir_colors Xresources gitconfig gitignore xinitrc inputrc" -directories="mutt" - -########## - -# create dotfiles_old in homedir -mkdir -p $olddir - -# change to the dotfiles directory -cd $dir - -# move any existing dotfiles in homedir to dotfiles_old directory, -#then create symlinks from the homedir to any files in the -#~/dotfiles directory specified in $files -for file in $files; do - mv ~/.$file $olddir/ - ln -s $dir/$file ~/.$file -done - -# For every directory execute the install file. -for directory in $directories; do - mkdir -p ~/.$directory - source ./$directory/makelinks.sh -done - - diff --git a/vimrc b/vim/.vimrc similarity index 100% rename from vimrc rename to vim/.vimrc diff --git a/vim_lite/.vimrc b/vim_lite/.vimrc new file mode 100644 index 0000000..aec79e6 --- /dev/null +++ b/vim_lite/.vimrc @@ -0,0 +1,19 @@ +:let mapleader = "-" +:let maplocalleader = "\\" + +set nocompatible " be iMproved, required +filetype off " required +filetype plugin indent on " required + +" Random look and feel stuff +set t_Co=256 +syntax on +set background=dark +set expandtab +set shiftwidth=2 +set softtabstop=2 +set number + +" Color 80th column +highlight ColorColumn ctermbg=237 +set colorcolumn=80 -- 2.46.2