/sweethome

Dotfiles for Python coding with Vim, Xterm and Qtile

Primary LanguageVim ScriptThe UnlicenseUnlicense

SweetHome

Configuration files for Python coding with Vim, Xterm, Git and LeftWM

Installation

  • Clone the repository into your home directory:
git clone --recursive https://github.com/tcsorrel/sweethome.git ~/sweethome

Integration

Each part of sweethome may be integrated seperately, depending on what is needed.

NeoVIM

Install vim-plug

ln -s ~/sweethome/vim/init.vim ~/.config/nvim/init.vim
nvim +PlugInstall +qa

Shell

  • Load sweethome's shell functions in your ~/.bashrc or ~/.bash_aliases.
source ~/sweethome/sh/func.sh

Git

  • Include the gitconfig file in your ~/.gitconfig:
[user]
    name = Your Name
    email = your.name@email.example
...
[include]
    path = ~/sweethome/git/config

The .gitconfig [include] syntax requires git 1.7.10+.

Mercurial

  • Include configuration files in your ~/.hgrc:
[ui]
username = Your Name <your.name@email.example>
ignore = ~/sweethome/hg/ignore

%include ~/sweethome/hg/main

X resources

  • Use sweethome's Xresources file to configure Xterm font and colors: GCC Precompiler need to be installed here
ln -s ~/sweethome/x/resources ~/.Xresources
xrdb -merge ~/.Xresources

Leftwm configuration

  • install leftwm with cargo
  • use sweethome's cconfiguration
mkdir -p ~/.config/leftwm
ln -s ~/sweethome/leftwm/config.ron ~/.config/leftwm/config.ron
  • install polybar and activate it with leftwm basic_polybar