1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/docs/layers/sudo.md
Wang Shidong d09bfba5e1
Update sudo layer doc (#2011)
* Update sudo layer doc

* Update sudo layer doc

* Update wiki
2018-08-03 20:47:46 +08:00

35 lines
772 B
Markdown

---
title: "SpaceVim sudo layer"
description: "sudo layer provides ability to read and write file elevated privileges in SpaceVim"
---
# [Available Layers](../) >> sudo
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Key bindings](#key-bindings)
<!-- vim-markdown-toc -->
## Description
sudo layer provides ability to read and write file elevated privileges.
## Install
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "sudo"
```
## Key bindings
| Key Binding | Description |
| ----------- | ------------------------------------ |
| `SPC f E` | open a file with elevated privileges (TODO) |
| `SPC f W` | save a file with elevated privileges |