Ex Commands
ex commands are the commands that are entered after switching to the mode with the : key from the normal mode.
- m — move
- t — copy
- example using patterns:
g/pattern/m$— move all matches to end of buffer - example of writing some lines to a new file:
:5,50 w newFileName
