Giter Site home page Giter Site logo

xlucn / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
39.0 4.0 3.0 1.85 MB

Linux configuration files (dotfiles) and some useful scripts

Shell 31.03% Lua 47.87% CSS 1.58% Makefile 0.42% Perl 1.56% Python 9.29% Vim Script 8.10% Vim Snippet 0.15%
bash tmux config dotfiles rofi tty framebuffer configuration awesomewm

dotfiles's Introduction

dotfiles

Config files for everything.

Environment

Manage dotfiles

I manage my configuration files with stow and a simple makefile. Every top-level folder is treated as a stow "package". Stow will link the files inside those folders to user's home directory. For example, package/.foo/bar will be linked to $HOME/.foo/bar.

There are two kinds of files:

  • Dotfiles: files like package/.foo/bar

    These files go to the user's home directory. Managed by stow. Install with

make dotfiles  # deploy "dot" files
  • System files: files like package/foo/bar

    These files go to root directory. The reason for this is some system files doesn't work if they are symlinks, so they will be copied to the target directly. Install with

make system    # deploy system files

Topics

There are some interesting configuration files that I think deserve sharing. Follow the link to read more.

  • My own shell prompt script, simple and fast.
  • Readline configuration, making bash a powerful interactive shell.
  • Environment variables, with lots of XDG path settings.

Fbterm is a terminal emulator under linux console. It can show Unicode characters, more colors. Combined with tmux, it can create a quite powerful GUI-free environment.

MPD is a music player daemon. I mostly use ncmpc as the front end.

Mutt is a TUI mail client.

Apart from normal configurations, I created a mutt_bootstrap script to support multiple accounts by listing and selecting an email address from pass password store, and extracting the password therein.

IPython has plenty customization options, such as vi keybinding mode.

Ptpython is a enhanced REPL environment, such as showing function signature and docstring

There is a GNOME-style launcher theme.

A lot of scripts.

As a heavy tmux user, I mapped most actions to Alt-KEY, similar to WM keybindings. I think this style can improve efficiency by quite a lot, because you don't have to press a chain of key combination (e.g., Alt-Enter replaces Ctrl-A then minus)

  • Neovim. I am gradually de-coupling neovim from vim configurations. More specifically, I am adding more lua plugins to replace vim script ones.
  • Vim. I am doing my best to make the configuration fast and lightweight.
  • Ex/Vi. Try this old text editor, you will learn vi(m) faster.

All other configuration files. Some interesting ones I like:

  • Gnu info keybings for vim users. Now you know more than pressing q to quit!
  • Top settings to make it as eye-candy as possible.

dotfiles's People

Contributors

xlucn 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

Watchers

 avatar  avatar  avatar  avatar

dotfiles's Issues

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.