(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| diff --git a/js/grid.base.js b/js/grid.base.js | |
| index 9f324fb..6977292 100644 | |
| --- a/js/grid.base.js | |
| +++ b/js/grid.base.js | |
| @@ -837,19 +837,19 @@ $.fn.jqGrid = function( pin ) { | |
| var div = rh * rn; | |
| var page, npage, empty; | |
| if ( tbot < dh && ttop <= 0 && | |
| - (p.lastpage===undefined||parseInt((tbot + scrollTop + div - 1) / div,10) <= p.lastpage)) |
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the active nodejs virtualenv[1] | |
| # * the branch/status of the current Git, Mercurial or Subversion repository | |
| # * the return value of the previous command | |
| # * one line prompt |
| #!/bin/bash | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <version> <revision>" | |
| echo "for example for Java 1.8.0.92 it would be:" | |
| echo "$0 8 92" | |
| exit 1 | |
| fi | |
| VERSION="$1u$2" |
| #!/usr/bin/env python | |
| import argparse | |
| from datetime import datetime | |
| from pytz import common_timezones, timezone | |
| parser = argparse.ArgumentParser(description="Tells you if it's Thursday " | |
| "anywhere in the world.") | |
| parser.add_argument('--all', action='store_true', default=False, | |
| help='Print all timezones with Thursday.') |
| #!/usr/bin/env python | |
| """ | |
| Get exchange rate from NBP service for USD (default) and provided day (or now) | |
| """ | |
| import argparse | |
| from datetime import datetime | |
| import requests |
| #!/bin/bash | |
| xlock & | |
| sudo /usr/sbin/pm-suspend | |
| # get back keyboard and other settings after resume | |
| #sudo /usr/local/bin/usb_power.sh | |
| ~/bin/setxinput.sh |
| DEPS=(/bin/foo /sbin/bar /usr/bin/baz) | |
| # copy libs of foo/bar/baz to lib in current directory | |
| for bin in ${DEPS[*]}; do | |
| cp $bin ./bin/ | |
| ldd $bin >/dev/null || continue | |
| for lib in $(ldd $bin | sed -nre 's,.* (/.*lib.*/.*.so.*) .*,\\1,p' \\ | |
| -e 's,.*(/lib.*/ld.*.so.*) .*,\\1,p') | |
| do | |
| mkdir -p .${lib%/*} && cp {,.}$lib |
| import os | |
| import subprocess | |
| import weechat | |
| info = ('notify', | |
| 'gryf', | |
| '0.1', | |
| 'GPL3', |