Ninrod’s emacs, vim, zsh and tmux dotfiles
- Minimalism, speed and power while working inside the shell.
“You are your dotfiles.” – Friedrich Wilhelm Nietzsche
“Show me your dotfiles and I’ll tell you what kind of programmer you are.” – Karl Marx
Ubuntu: emacs and vim
These are my personal configuration files, which are in a constant state of change as I develop my environment across several systems so I can’t guarantee that these configurations will work for you, at all. Still, it can be useful and instructional to look around and take bits and snippets to use within your own configuration files. Feel free to open issues though, if the config did not work for you. I’ll try to help if I can.
- On linux, I recommend xfce-terminal. Failling that, try to use any truecolor terminal.
- Secondly, this is for unix systems:
OSx, BSDs. I don’t know anything about windows.
- configure your terminal to use the gruvbox theme. There’s a ninrod/themes repo that can help you with that.
- recommendation: I use and recommend the excelent Fantasque Sans Mono font.
- now get
vim8+ with +clipboard.
- get tmux 2.5+
- get zsh 5.4+ and make sure that
/bin/zshis valid. (if not:
$ cd /bin && sudo ln -s $(command -v zsh) zsh)
cat /etc/shellsand verify that zsh appears on the list. If not,
sudo vi /etc/shellsand append
- get ag (you can
brew install agon OSx).
- if you’re on OSx, brew install these:
brew install coreutils(mainly because
brew install reattach-to-user-namespace(Mainly because of the
openutility. more info here).
brew install diff-so-fancy
- Kind remark: for the moment (until I change the script to back it up for you), I’ll overwrite your
~/.gitconfigfile, so if you have something important in it, now would be the perfect moment to back it up.
- new get emacs 25.2+ (this is optional, everything will work fine if you don’t use emacs)
now lets write some shell commands.
- note: the install.zsh script basically does this:
- mounts symlinks on your home folder;
- creates ~/.options/shell-options.zsh file, if not existent
- sources the ~/.options/shell-options.zsh file
- overwrites your .gitconfig (so back it up if you have something important)
- tries to configure your git information, if applicable.
- fetches vim and zsh dependencies
- now open you shell and don’t forget to set up your git information (
$ git clone https://github.com/ninrod/dotfiles && cd dotfiles && make $ vim ~/.options/shell-options.zsh $ exec zsh
- That’s it, your’re all set.
make updatewill update all dependencies.
On installing new plugins
You may notice that I do not use any plugin manager, just a tiny little function I wrote called
For now, if you want to include a new plugin, search for the
*-deps.zsh files in the
The files should be self descriptive. Just add a newline like this in, for example,
and then run
make in the
~/.dotfiles directory. The plugin will be fetched from github and placed in the correct location for you.
Emacs: the timeless and infinitely powerful editor
I maintain my configuration using an org-mode file, through org-babel. So you can see it in it’s full glory here.
VIM: Powerful shell text editor. Tweaked with plugins.
To check out what binds and plugins I use in this config, my vim directory is authoritative.
TMUX custom binds
checkout the keybinds.tmux file for binding setup.
GNU General Public License v3 Copyright (c) 2015-2021 Filipe Silva (ninrod)