mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-28 17:11:02 +02:00
useful tip for saving a buffer as sudo (#2405)
This commit is contained in:
@@ -156,6 +156,7 @@ A few important examples of 'Verbs', 'Modifiers', and 'Nouns':
|
||||
:later 15m # Reverse above command
|
||||
ddp # Swap position of consecutive lines, dd then p
|
||||
. # Repeat previous action
|
||||
:w !sudo tee % # Save the current file as root
|
||||
```
|
||||
|
||||
## Macros
|
||||
|
Reference in New Issue
Block a user