Giter Site home page Giter Site logo

meribold / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
67.0 8.0 4.0 2.54 MB

Dotfiles for Vim, Neovim, i3-gaps, NeoMutt, Bash, … :penguin:

Shell 46.83% Emacs Lisp 3.29% Python 1.48% CSS 3.33% JavaScript 0.25% Makefile 6.95% Vim Snippet 6.34% Vim Script 31.52%
mutt i3-gaps dotfiles vim bash shell neovim neomutt makefile make

dotfiles's Introduction

Dotfiles for Vim and Neovim, i3-gaps, NeoMutt, Fontconfig, etc. pp. Bash functions and aliases, scripts, keybindings, more scripts, . Est. 2013.

Screenshot showing an xterm running Bash

Highlights

Structure

There are three main directories: home, root, and misc.

  • The home directory contains files that should be linked to from $HOME and mirrors its directory structure.
  • The root directory contains files that should be linked to from outside $HOME. Paths reflect where symlinks should be created relative to the filesystem root directory.
  • The misc directory contains files that don't require linking.

For example, home/vim/vimrc would be the target of a link at ~/.vim/vimrc and root/usr/local/share/cows/dynamic-duo.cow should be linked to from /usr/local/share/cows/dynamic-duo.cow.

Installation

Be warned that my setup is personal, opinionated, and sometimes my own information is hard-coded. Some configuration is specific to Arch, my ThinkPad X13 Gen 2, or otherwise not portable. That being said, you can specifically install the configuration for individual programs without any extraneous changes being made. Installation uses GNU Make.

Clone this repository to ~/dotfiles:

git clone https://github.com/meribold/dotfiles.git ~/dotfiles

Initialize and clone submodules:

git submodule update --init --jobs 32

Install the configuration for programs you're interested in by giving Make their names. The makefile generally doesn't replace conflicting files; move or remove them manually. For example:

mv ~/.vim ~/.vim.backup
make vim

The currently implemented targets are: vim, nvim, git, bash, screen, mutt, xterm, gpg, crontab, fortunes, irssi, and readline.

Make may consider targets to be up to date because of existing files that conflict with the links it should create. The -B flag (e.g. make -B vim) forces remaking of all considered targets. This only results in the removal of conflicting symlinks, but not regular files.

Use the -n flag (e.g. make -n vim) to preview the commands Make would execute.

dotfiles's People

Contributors

meribold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.