Match a new line in the minibuffer
match a newline, \n, with C-j.
In the minibuffer, you have to type:
C-q C-j
The C-q quotes the following sequence C-j.
Match Parentheses
with ( or ). In emacs, it is reversed, use ( to match paren, and \( and \) to open and close a group.
backslashes
use \\ to quote a character in elisp code
use a single backslash to quote in the minibuffer
</div>
</div>
Tramp
with Tramp you use the same "write-file" command with keybinding C-x C-w and then give a remote ssh path as the file path
save file to server | C-x C-w |
use ssh path to save file remotely | /ssh:username@yourserver.org:path/to/file |
JDE Keybindings
C-c C-v z | add any needed imports |
C-c C-v j | add javadoc comment for class or method |
C-c C-v C-c | compile |
C-c C-v C-r | run app |
C-c C-v C-d | debug app |
Magit Control
Magit is an Emacs Mode for interacting with Git Repositories
C-x g | git status |
C-c C-c | when in commit log: commit changes |
| **Following commands work in git status buffer** |
s | stage file at point |
u | unstage file at point |
c | open commit log |
P | push master origin untracked file section |
i | add file to ignore |
I | add file to git/info/exclude |
k | in unstaged: resets to head. ie discards changes |
k | in untracked: deletes file |
<tab> | in staged/unstaged: shows/hides diff of changes |
C-u P | push master to ?: prompts for remote to push changes to |
l | git log: hit <enter> on a commit to see changes |
= | diff current with commit at point |
t | create lightweight tag |
T | create annotated tag |
x | prompts for revision resets HEAD to it. |
Rinari Keybindings
Rinari is an Emacs Mode for Ruby on Rails projects.
C-c ; f c, | rinari-find-controller |
C-c ; f e, | rinari-find-environment |
C-c ; f f, | rinari-find-file-in-project |
C-c ; f h, | rinari-find-helper |
C-c ; f i, | rinari-find-migration |
C-c ; f j, | rinari-find-javascript |
C-c ; f l, | rinari-find-plugin |
C-c ; f m, | rinari-find-model |
C-c ; f n, | rinari-find-configuration |
C-c ; f o, | rinari-find-log |
C-c ; f p, | rinari-find-public |
C-c ; f s, | rinari-find-script |
C-c ; f t, | rinari-find-test |
C-c ; f v, | rinari-find-view |
C-c ; f w, | rinari-find-worker |
C-c ; f x, | rinari-find-fixture |
C-c ; f y, | rinari-find-stylesheet |
Git Stuff
git status | ==> see status files |
git add init.el | ==> add init.el to commit change log |
git commit | ==> commit changes |
git remote add origin | git remote add git@github.com:underhilllabs/[..].git |
git push origin master | ==> push committed changes to git repository |
Textile
Textile is a markup language. I use org-mode markup more these days.
h2. | headline |
!>bossy.jpg! | here is a picture of Bossy that will use align=right |
bq. | a block quote |
<pre><code> | for long code blocks use html tags |
wl Keybindings
Wanderlist is an Emacs Mode for Reading Email.
a or A | replay to email under point |
d | mark email for deletion |
x | execute commands |
</div>
<div class=footer>