(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:
| D [0-9] | |
| L [a-zA-Z_] | |
| H [a-fA-F0-9] | |
| E ([Ee][+-]?{D}+) | |
| P ([Pp][+-]?{D}+) | |
| FS (f|F|l|L) | |
| IS ((u|U)|(u|U)?(l|L|ll|LL)|(l|L|ll|LL)(u|U)) | |
| %{ | |
| #include <stdio.h> |
| #![feature(quote)] | |
| extern crate syntax; | |
| use syntax::print::pprust; | |
| use syntax::codemap::DUMMY_SP; | |
| fn main() { | |
| with_fake_extctxt(|cx| { | |
| let x = quote_expr!(cx, (a+b)); |
| py_binary( | |
| name = 'generate_compile_command', | |
| srcs = [ | |
| 'generate_compile_command.py', | |
| ], | |
| deps = [ | |
| '//third_party/bazel:extra_actions_proto_py', | |
| ], | |
| ) |
| # Our .tmux.conf file | |
| # Setting the prefix from C-b to C-s | |
| set -g prefix C-s | |
| # Free the original Ctrl-b prefix keybinding | |
| unbind C-b | |
| #setting the delay between prefix and command | |
| set -sg escape-time 1 | |
| # Ensure that we can send Ctrl-S to other apps | |
| bind C-s send-prefix |
| (defn code-mirror | |
| "Create a code-mirror editor. The parameters: | |
| value-atom (reagent atom) | |
| when this changes, the editor will update to reflect it. | |
| options | |
| :style (reagent style map) | |
| will be applied to the container element | |
| :js-cm-opts | |
| options passed into the CodeMirror constructor | |
| :on-cm-init (fn [cm] -> nil) |
| [^[:alnum:]]ahole[^[:alnum:]] | |
| [^[:alnum:]]anus[^[:alnum:]] | |
| [^[:alnum:]]ash[0o]le[^[:alnum:]] | |
| [^[:alnum:]]ass[^[:alnum:]] | |
| [^[:alnum:]]azz[^[:alnum:]] | |
| [^[:alnum:]]bassterd[^[:alnum:]] | |
| [^[:alnum:]]bast[ae]+rd[^[:alnum:]] | |
| [^[:alnum:]]b[i1]+[a]*tch[^[:alnum:]] | |
| [^[:alnum:]]bl[o0]+wj[o0]+b[^[:alnum:]] | |
| [^[:alnum:]]boffing[^[:alnum:]] |