(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:
| <!DOCTYPE NETSCAPE-Bookmark-file-1> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| <!-- This is an automatically generated file. | |
| It will be read and overwritten. | |
| Do Not Edit! --> | |
| <TITLE>Bookmarks</TITLE> | |
| <H1>Bookmarks</H1> | |
| <DL><p> | |
| <DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A> | |
| <DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite. |
| MIT License | |
| Copyright (c) 2021 Ryo Nakamura | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| (defn split-seq [s] | |
| "Extract a tail of all same elements: [1 1 0 0 0] -> [[1 1] [0 0 0]]" | |
| (let [l (last s)] | |
| (split-with #(not= l %) s))) | |
| (defn recombine | |
| "Distribute tail: [[1] [1] [1] [0] [0]] -> [[1 0] [1 0] [1]]" | |
| ([a b] [a b]) | |
| ([a b c] [a b c]) | |
| ([a b c & more] |