User:Ssstephen/prototype/20240610: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 57: Line 57:
  CTRL-R
  CTRL-R
redo
redo
How to kiosk mode the browser:
https://pzwiki.wdka.nl/mediadesign/Prototypology/Exhibitiology-1
And CTRL + CMD + F to exit kiosk mode.
deleted text is actually in a register
p
put the text back in the file
https://v-fonts.com/fonts/roboto-flex
body {
font-family: 'Roboto Flex', 'MutatorMathTest', 'Amstelvar';
font-variation-settings: "wdth" 50, "XTRA" 400, "XOPQ" 60;
}
then I got distracted to make a keyboard.
then I got distracted to making a website. I guess thats the point of today really ok.

Latest revision as of 15:19, 10 June 2024

Its the last day of prototyping so I want to learn vim.

Riviera says just type

vim tutor 

but spoken language is hard so I made a file called tutor by accident. Then you need to press

:qa 

to get out. Then I types

vimtutor

and I can do the tutorial.


letters hjkl to move around.

:q!

is the same as

:qa

is the same as

:q 

? I think I dont know difference yet. Maybe something to do with saving. This quits without writing.

x

delete character

i

is insert (ESC to exit insert mode)

A

append

:wq

write and quit

dw

delete word (til start of next word)

d$

delete to end of line

de

delete to end of word

operators and motions. d is the delete operator, w (until start of next word), e (until end of current word) and $ (until end of line) are motions.

3w

Typing only a motion (or a multiple of it by putting a number before) moves the cursor by that distance

0

go to start of line. oh this is fun I like it.

dd

delete line

2dd
d2d

both delete two lines.

u

undo

U

undo all changes to most recently changed line

CTRL-R

redo

How to kiosk mode the browser:

https://pzwiki.wdka.nl/mediadesign/Prototypology/Exhibitiology-1

And CTRL + CMD + F to exit kiosk mode.

deleted text is actually in a register

p

put the text back in the file

https://v-fonts.com/fonts/roboto-flex

body {
	font-family: 'Roboto Flex', 'MutatorMathTest', 'Amstelvar';
	font-variation-settings: "wdth" 50, "XTRA" 400, "XOPQ" 60; 
}

then I got distracted to make a keyboard.

then I got distracted to making a website. I guess thats the point of today really ok.