]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Rearrange to suit GNU stow for vim and bash.
authorMaximilian Friedersdorff <maxf130@gmail.com>
Mon, 25 Apr 2016 10:32:13 +0000 (11:32 +0100)
committerMaximilian Friedersdorff <maxf130@gmail.com>
Mon, 25 Apr 2016 10:32:13 +0000 (11:32 +0100)
bash/.bash_aliases [moved from bash_aliases with 100% similarity]
bash/.bash_profile [moved from bash_profile with 100% similarity]
bash/.bashrc [moved from bashrc with 100% similarity]
bash/.inputrc [moved from inputrc with 100% similarity]
makelinks.sh [deleted file]
vim/.vimrc [moved from vimrc with 100% similarity]
vim_lite/.vimrc [new file with mode: 0644]

similarity index 100%
rename from bash_aliases
rename to bash/.bash_aliases
similarity index 100%
rename from bash_profile
rename to bash/.bash_profile
similarity index 100%
rename from bashrc
rename to bash/.bashrc
similarity index 100%
rename from inputrc
rename to bash/.inputrc
diff --git a/makelinks.sh b/makelinks.sh
deleted file mode 100755 (executable)
index 5f34e6f..0000000
+++ /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
-
-
similarity index 100%
rename from vimrc
rename to vim/.vimrc
diff --git a/vim_lite/.vimrc b/vim_lite/.vimrc
new file mode 100644 (file)
index 0000000..aec79e6
--- /dev/null
@@ -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