Text Processing and Editing Flashcards
How to exit Nano
Ctrl X
How to save in Nano
ctrl O
Get help in Nano
ctrl G
Open a second file within Nano
ctrl R then alt F (new buffer, otherwise it just inserts)
Swap between buffers in Nano
alt > or <
Create a new buffer (file) alongside one already open in Nano
ctrl R, alt F
Copy/cut a line in Nano
ctrl K (cuts) then ctrl U (pastes)
Mark a region in Nano
alt A, then move cursor
Copy a region in Nano
ctrl ^
(ctrl shift 6)
Find a word (string) in Nano
ctrl W.
Is not case sensitive
alt W will continue to search
How to find a replace all instances of a string in Nano?
ctrl\ or alt R
How to enter insert mode in Vim
i
How to enter command mode in Vim
:
How to enter visual mode in Vim
It opens into visual mode, otherwise hit Esc
How to delete a line in Vim
: d
Or Esc -d-d