Skip to content

Instantly share code, notes, and snippets.

View muslih's full-sized avatar
a cup of ristretto

Muslih Aqqad muslih

a cup of ristretto
  • Banjarmasin, South Borneo
View GitHub Profile
@muslih
muslih / tmux.md
Created October 8, 2017 02:51 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@muslih
muslih / .vimrc
Created October 5, 2017 17:40 — forked from joegoggins/.vimrc
Mac Vim .vimrc file
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" ================ General Config ====================
set number "Line numbers are good
set backspace=indent,eol,start "Allow backspace in insert mode
set history=1000 "Store lots of :cmdline history
set showcmd "Show incomplete cmds down the bottom
@muslih
muslih / tmux-cheatsheet.markdown
Created September 9, 2017 03:24 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@muslih
muslih / Capybara.md
Created April 28, 2017 02:35 — forked from tomas-stefano/Capybara.md
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
@muslih
muslih / README.md
Created December 7, 2016 08:48 — forked from linjunpop/README.md
Rails flash messages with AJAX requests