Skip to content

My custom collection of dotfiles

Notifications You must be signed in to change notification settings

dgdavid/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My custom collection of dotfiles. Second attempt 😅, now managed via GNU Stow.

Table of Contents generated with DocToc

How to use

Clone repo and use Stow to add or remove desired configurations

$ git clone git@github.com:dgdavid/.dotfiles.git ~/.dotfiles

$ cd ~/.dotfiles

$ stow <desired configuration/directory>

How to keep updated

This repo is using git subtrees to hold some external used repos. To update or keep sync them, you can list prefixes

$ git log | grep git-subtree-dir | tr -d ' ' | cut -d ":" -f2 | sort | uniq (via StackOverflow)

and then update those what do you want

$ git subtree pull --prefix <prefix> <repo> master --squash

Configurations

tmux

Oh My Tmux! - pretty + versatile tmux configuration that just works.

Enabling italics

Inside gnome-terminal

Following steps given in this article,

  • ❗ compile the custom (and included here) terminfo xterm-256color-italic.terminfo

    $ tic xterm-256color-italic.terminfo

  • ensure that set -g default-terminal "xterm-256color-italic" it is being used in the tmux.conf (see tmux/.tmux.conf.local).

vim

So far I was using the awesome Steve Francia's vim distribution, spf13-vim. A couple of months ago I switched to a less sophisticated configuration using Janus. But now I am giving a try to space-vim 😁 😁


⚠️ Could be necessary to install some libraries. Read additional plugins section.


First time, it could be necessary to execute :PlugInstall.

Additional plugins

Apart from those installed by space-vim distribution, below plugins were added

Custom configuration

Do not forget take a look to .spacevim for more info.

  • Persistent undo create the .vimundo in your $HOME directory.

    $ mkdir ~/.vimundo

Zsh

I started to use Zsh with oh-my-zsh, and then I switched to prezto configuration framework for a while.

But now, after took a look to a handful of Zsh frameworks (see Awesome Zsh plugins and Terminals are sexy), I am using zplug zim:fw.

I'm also using a .zshr.after configuration file to put additional configuration.

Plugins

  • zplug - A next-generation plugin manager for Zsh.
  • Pure - Pretty, minimal and fast Zsh prompt.
  • zim:fw - a Zsh configuration framework that bundles a plugin manager, useful modules, and a wide variety of themes, without compromising on speed.
  • Starship - The minimal, blazing-fast, and infinitely customizable prompt for any shell!
  • Zsh syntax highlighting - Fish shell like syntax highlighting for Zsh.
  • Httpstat - curl statistics made simple.
  • Vimode visual - Implement the vim-like visual mode to vi-mode of Zsh.

irb

This custom configuration file was added due to a problem in macOS related to reverse search and history in both irb and Rails console.

git

Basic git configuration and aliases from GitAlias/gitalias

User configuration should be placed in ~/.gitconfig_user file. See git/.gitconfig for more details.

kitty

Tweaked configuration for kitty, the fast, feature-rich, GPU based terminal emulator.

About

My custom collection of dotfiles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published