Skip to content

Instantly share code, notes, and snippets.

View ericdouglas's full-sized avatar

Eric Douglas ericdouglas

View GitHub Profile
@ericdouglas
ericdouglas / update-arch.txt
Created October 17, 2017 13:39
Update Arch linux
sudo pacman -Syy
sudo pacman -Su
@ericdouglas
ericdouglas / alchemist.md
Created September 27, 2017 09:43
alchemist.vim fix for arch linux
@ericdouglas
ericdouglas / .zimrc
Created September 12, 2017 22:40
Zim config
# Zim
zprompt_theme='eriner'
zcorrection='true'
ztermtitle='%n@%m:%~'
zhighlighters=(main brackets cursor)
zmodules=(directory environment git git-info history input utility meta custom \
syntax-highlighting history-substring-search prompt completion autosuggestions)
# Alias
alias e="elixir"
@ericdouglas
ericdouglas / packages.md
Last active September 12, 2017 23:33
Arch Linux programs
  • Pacaur (AUR package manager)
  • Pavucontrol (audio)
  • Urxvt (terminal emulator)
  • i3 (tiling window manager)
  • cmus (music player)
  • connman + wpa_supplicant + cmst (network management)
  • nm-applet (network manager)
  • ranger (file manager)
@ericdouglas
ericdouglas / config.sh
Created September 12, 2017 15:53
GNOME-terminal
# disable menubar
gsettings set org.gnome.Terminal.Legacy.Settings default-show-menubar false
@ericdouglas
ericdouglas / install-arch.txt
Created September 11, 2017 00:01
Arch Linux installation
loadkeys br-abnt2
cfdisk /dev/sda
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mount /dev/sda1 /mnt
@ericdouglas
ericdouglas / config
Last active September 12, 2017 20:41
i3wm config
set $mod Mod1
font pango:monaco 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
@ericdouglas
ericdouglas / .zshrc
Created September 7, 2017 11:18
oh-my-zsh configs
# Path to your oh-my-zsh installation.
export ZSH=/home/ericdouglas/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
@ericdouglas
ericdouglas / init.vim
Last active September 7, 2017 01:09
Neovim configuration
call plug#begin('~/.config/nvim/plugged')
" autocomplete
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
let g:deoplete#enable_at_startup = 1
" use tab for completion
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
" polyglot loads language support on demand!
Plug 'sheerun/vim-polyglot'
@ericdouglas
ericdouglas / atom-tips.md
Last active December 19, 2016 08:19
Atom tips

Atom tips

  • Close current tab: ctrl+w and then q
  • Split screen: ctrl+w+arrow ↑→↓←
  • Go to line: ctrl+g
  • Navigate between tabs: ctrl+tab or ctrl+shift+tab
  • Fold selected code: ctrl+alt+f