Skip to content
/ dotfiles Public

Configuration files for Linux desktop/workstation

License

Notifications You must be signed in to change notification settings

dstw/dotfiles

Repository files navigation

dotfiles

My personal configuration for desktop/workstation. Contains my customized settings that fit with my needs in software development environment, includes some configuration of frequent used programs:

  • Vim
  • Zsh
  • Tmux
  • Mutt
  • Vimperator
  • Git
  • GnuPG
  • Offlineimap
  • Bash

And configuration for some less used programs:

  • Vifm
  • Urlview
  • Elinks
  • Midnight Commander

Most of those config file are based on Vim-like keybindings.

Prerequisites

On Debian/Ubuntu system:

sudo apt install elinks git gnupg mc mutt offlineimap tmux urlview vifm vim zsh

Install Vimperator addon for Firefox: https://addons.mozilla.org/en-US/firefox/addon/vimperator/

Optional for Zsh: Install oh-my-zsh. A configuration framework Zsh shell. It makes my terminal more fancy.

Optional for Vim: Install base16-shell. Custom shell colorscheme which allow me to have unified colors in all my command line applications.
Install Powerline Fonts. Display symbol for powerline icons used for Vim Airline status bar and Zsh shell prompt.
Install Nerd Fonts. Display icons on Vim Airline status bar and Vim Nerdtree explorer pane.

Usage

git clone --recursive https://github.com/dstw/dotfiles.git

Installation

I treat all of this configuration files and folders as symbolic link. For easy installation, I will use GNU Stow.
Caution: if the configuration files already exist, you must move or delete them first. Otherwise, this installation process may fail.

cd dotfiles/
stow bash
stow elinks
stow git
stow gnupg
stow mc
stow mutt
stow offlineimap
stow tmux
stow urlview
stow vifm
stow vim
stow vimperator
stow zsh

Manual Installation

Create symbolic links for the configurations you want to use, e.g. for Vim:

ln -s vim/.vimrc ~/.vimrc
ln -s vim/.vimrc_background ~/.vimrc_background
ln -s vim/.vim ~/.vim

Notes for specific credential:
The following files, contain per user credential information, need to edit before use:

  • git/.gitconfig
  • mutt/.muttrc
  • offlineimap/.offlineimaprc
  • gnupg/.gnupg/gpg.conf
  • elinks/.elinks/elinks.conf

Screenshots

terminal1