As configured in my dotfiles.
start new:
tmux
start new with session name:
| " run command | |
| " no stdin | |
| " output displayed in "Press enter to continue" style | |
| " current buffer untouched | |
| :!uptime | |
| " run command | |
| " pipe range of text to command on stdin | |
| " output replaces the range in the current buffer | |
| :RANGE!grep foo |
| # You will need the pygments and xclip packages | |
| # This example highlights some Bash source code | |
| # '-O noclasses=true' tells pygments to embed colors inline in the source | |
| # the '-t text/html' option tells xclip what "target" to specify for the selection | |
| pygmentize -l bash -f html -O noclasses=true mysource.sh | xclip -selection clipboard -t text/html |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |