]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Merge branch 'dev/stow'
authorMaximilian Friedersdorff <max@lithium.lan.friedersdorff.com>
Mon, 25 Apr 2016 12:25:57 +0000 (13:25 +0100)
committerMaximilian Friedersdorff <max@lithium.lan.friedersdorff.com>
Mon, 25 Apr 2016 12:25:57 +0000 (13:25 +0100)
21 files changed:
X/.Xresources [moved from Xresources with 100% similarity]
X/.xinitrc [moved from xinitrc with 100% similarity]
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/.dir_colors [moved from dir_colors with 100% similarity]
bash/.inputrc [moved from inputrc with 100% similarity]
git/.gitconfig [moved from gitconfig with 100% similarity]
git/.gitignore [moved from gitignore with 100% similarity]
makelinks.sh [deleted file]
mutt/.mutt/account.com.friedersdorff.max [moved from mutt/account.com.friedersdorff.max with 100% similarity]
mutt/.mutt/account.com.gmail.maxf130 [moved from mutt/account.com.gmail.maxf130 with 100% similarity]
mutt/.mutt/account.uk.ac.le.student.mf195 [moved from mutt/account.uk.ac.le.student.mf195 with 100% similarity]
mutt/.mutt/mailcap [moved from mutt/mailcap with 100% similarity]
mutt/.mutt/muttrc [moved from mutt/muttrc with 100% similarity]
mutt/.mutt/passwords.gpg [moved from mutt/passwords.gpg with 100% similarity]
mutt/.mutt/solarized.muttrc [moved from mutt/solarized.muttrc with 100% similarity]
mutt/makelinks.sh [deleted file]
octave/.octaverc [moved from octaverc with 100% similarity]
vim/.vimrc [moved from vimrc with 100% similarity]
vim_lite/.vimrc [new file with mode: 0644]

similarity index 100%
rename from Xresources
rename to X/.Xresources
similarity index 100%
rename from xinitrc
rename to X/.xinitrc
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 dir_colors
rename to bash/.dir_colors
similarity index 100%
rename from inputrc
rename to bash/.inputrc
similarity index 100%
rename from gitconfig
rename to git/.gitconfig
similarity index 100%
rename from gitignore
rename to git/.gitignore
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 mutt/mailcap
rename to mutt/.mutt/mailcap
similarity index 100%
rename from mutt/muttrc
rename to mutt/.mutt/muttrc
similarity index 100%
rename from mutt/passwords.gpg
rename to mutt/.mutt/passwords.gpg
diff --git a/mutt/makelinks.sh b/mutt/makelinks.sh
deleted file mode 100755 (executable)
index 7616679..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-dir=~/etc/dotfiles/mutt
-olddir=~/etc/dotfiles.bak/mutt
-target=~/.mutt
-files="account.com.friedersdorff.max account.com.gmail.maxf130 account.uk.ac.le.student.mf195 mailcap muttrc solarized.muttrc passwords.gpg"
-directories="com.friedersdorff.max com.gmail.maxf130.account uk.ac.le.student.mf195"
-
-mkdir -p $olddir
-
-cd $dir
-
-for file in $files; do
-  mv $target/$file $olddir/
-  ln -s $dir/$file $target/$file
-done
-
-for directory in $directories; do
-  mkdir -p $target/$directory
-  /bin/bash $dir/$directory/makelinks.sh
-done
similarity index 100%
rename from octaverc
rename to octave/.octaverc
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