My dotfiles

My go-to setup for any UNIX-like system, kept in a single git repo.

Github repository available soon

I usually keep all of these files under ~/dotfiles then symlink each one to where it should be on the filesystem.

Vim

.vimrc

Works for both Vim and NeoVim (currently using vim)

No-plugin, out of the box working config

To go further, go check out The Ultimate Vimrc by amix

Cool colorschemes :

Plugin : Vim-Fugitive

Install with

1
2
3
4
mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/fugitive.git
vim -u NONE -c "helptags fugitive/doc" -c q

Should be standalone, provides a lot of cool git-related utility

Zsh

.zshrc

We use oh_my_zsh so we ain’t really bashin’ ‘round.

Cool themes : default, gallois (current)

We also need to source our tmux session at start if we can (and avoid nesting them)

1
2
3
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
  exec tmux
fi

Use exec tmux new -As0 for true multiplexing

Tmux

.tmux.conf

Main config file (plugins like airline and tmux-yank, shortcut changes for ergonomy)

Make quick tmuxline :

1
2
3
:Tmuxline
:TmuxlineSnapshot ~/dotfiles/.snaptmuxline
ln -s ~/dotfiles/.snaptmuxline .

Cool resources :

Airline

.vim/*

Theme : Deus

Fonts : sudo apt install fonts-powerline

A cool statusline for both vim and tmux

Don’t forget to run :helptags ALL to update the doc after installing

Git

.gitconfig

Some core utils and a bunch of useful aliases

.gitignore_global

Contains all usual gitignore items (compiled files, temp files, node_modules/, etc)

Misc

Other stuff to install
Fonts

None installed as of yet, but a bunch of cool ones are

  • IBM Plex Mono
  • Hack
  • Source Code Pro
  • NerdFonts : A cool fonts aggregator, should have everything needed (Powerline symbols, FontAwesome icons, all the nice fonts…)
  • ProgrammingFonts : Preview your favorite font from a wide selection and against all usual themes to find what’s matching best.

OS

Unconditional Debian lover, that’s what I’ll spin up 90% of the time on a standard desktop or remote server.

When doing security-related work, I’m currently trying Parrot OS and loving it. It’s a bit less lightweight and feature-rich than its infamous counterpart Kali but it’s really stylish.

Built with Hugo - Theme Stack