marloncabrera / dotfiles

Configurations for i3, zsh, tmux, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Configs for zsh/bash/fish, git, tmux, i3, awesome, and vim, plus some handy aliases.

Aliases

system_aliases is compatible with zsh, bash, and fish shells. Features handy aliases for commands like ls, cd, emacs, apt-get, and git. Why cd .. when you can .. instead?

i3 Window Manager

i3wm-of-jeannie i3wm-of-jeannie is my personal i3wm theme with conky and rofi, representing my best efforts to "de-uglify" i3. It features CPU, RAM, disk usage, battery, weather, and date/time, using the unicode symbol glyph hack first demonstrated by ivyl. All common commands are designed to be issued with two keys (mod4 + a letter). Some features are still in progress. Requires rofi, conky, and tamsynmod font to be installed, as well as Droid Sans Mono for Powerline.

For displaying weather on Debian/Ubuntu, run sudo apt-get install weather-utils and add the line id = <your_zipcode> to /etc/weatherrc.

Keybinding Description
mod4+e Launch emacs.
mod4+p Launch rofi (dmenu-like application launcher).
mod4+d Launch dmenu.
mod4+c Close application.
mod4+Shift-r Reload i3 configuration.
mod4+Enter Launch urxvt terminal.
mod4+Shift+Enter Launch terminator terminal.
mod4+Delete Launch system shutdown/reboot/logoff/reload menu (compatible with Ubuntu).
mod4+Shift+x Launch a prettier, but slightly buggy system shutdown/reboot/logoff/reload menu using dzen2 (compatible with Ubuntu).
mod4+Left Move to workspace on the left.
mod4+Right Move to workspace on the right.

##Tmux Features extremely quick pane and window spawn/kill/switching, using ctrl-arrows and shift-arrows, respectively. The prefix key is set to C-t, in order to reduce friction with emacs. Requires tmux 1.9 in order to support tmux-resurrect and tmux-yank plugins (but you can disable them, if desired).

Keybinding Description
C-t t Change to last-window by pressing Ctrl-t, letting go, and pressing t again.
C-tt... By holding down Ctrl and pressing t repeatedly, you can cycle through panes with this chained command.
S-up Create new-window.
S-down Kill window.
S-left Previous window.
S-right Next window.
C-up Select pane above.
C-down Select pane below.
C-left Select pane to the left.
C-right Select pane to the right.
C-t SPC Auto-rearrange the pane configuration.
C-t | Split the window into smaller panes vertically.
C-t = Split the window into smaller panes horizontally.
C-t , Rename current window.
C-t r Reload the .tmux.conf file.

Zsh

My zsh configuration uses antigen for package management and agnoster as the prompt, which requires a powerline-patched font. Completion functions are provided through zprezto modules, and zaw is included for helm-like history search with C-r.

Miscellaneous Thoughts

  • After trying xmonad and awesome, I found that while I enjoyed the power of tiling window managers, I had no earthly idea what to do when they broke, which they did often and horribly. The amount of time spent fixing them was just not commensurate to the amount of functionality I was gaining. Then I found i3, a tiling window manager configurable in plain English, which instantly prints out the location of any errors when you load it. It's probably one of the best tiling window managers out there in terms of readability.

About

Configurations for i3, zsh, tmux, and more


Languages

Language:Vim Script 48.2%Language:Shell 38.1%Language:Python 13.7%