1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:40:05 +08:00
SpaceVim/docs/layers/sudo.md
2021-06-21 20:39:29 +08:00

35 lines
818 B
Markdown

---
title: "SpaceVim sudo layer"
description: "sudo layer provides the ability to read and write files with 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 the ability to read and write files with elevated privileges.
## Install
To use this configuration layer, update your 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 |