Keep in mind that this page was created from a simple markdown-to-html ruby program called rdiscount
C-x o
C-x left
, C-x right
, list them all with C-x C-b
, kill one with C-x k
C-x 1
C-x 0
C-x 2
C-x 3
This can be done a bunch of times to create a bunch of small skinny windows
C-x C-f
C-x C-s
C-x s
M-g g
M-g c
M-m
We know how to move around character by character
C-f
andC-b
- Words -M-b
andM-f
-Ctrl-left
andCtrl-right
also work - Lines -C-a
- beginning of line,C-e
- end of line - Sentences -M-a
andM-e
- Paragraphs -M-{
,M-}
- In windows terms it'sAlt-Shift-[
orAlt-Shift-]
M-<
, M->
C-o
, then C-k
to kill to end of line.
Then C-o
, M->
to buffer end, then C-y
to yank it back.
Let's try it.
Starting in Windows PowerShell 5.0, results of the Get-Command
cmdlet display a Version column by default. A new Version property has been added to the CommandInfo class.
`Get-Command` gets its data directly from the command code, unlike `Get-Help`, which gets its information from help topics.
C-s
search forward, C-r
search backward.C-M-s
and C-M-r
for regex search (back and forth respectively)
will beep when search gets to end of buffer.
May need grep or some other tool - open (find) a file into another window -
C-x 4 f
- shows dialog on bottom of screen - "" in read-only mode -C-x 4 r
Case-sensitive
When opening a file in a separate window, it is case sensitive. If you're unsure of whether the file is capitalized or not, you can use
tab
to show the directory contents. I believe there might be a way to turn case-sensitive off
Remember M-f(b)
for words and M-a(e)
for sentences.
Page down using C-v
and M-v
- (Sometimes C-v
is set to paste, check terminal for settings.)
abbrs work, and most editors can do syntax highlighting for both the .md
syntax and the html
syntax. So you can use code
or code
.md
file and convert to .html
There are a few cli
tools that allow you to do this. For this demo I'm going to use rdiscount