1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00
SpaceVim/docs/layers/sudo.md

35 lines
818 B
Markdown
Raw Normal View History

---
title: "SpaceVim sudo layer"
2021-06-21 20:39:29 +08:00
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
2021-06-21 20:39:29 +08:00
sudo layer provides the ability to read and write files with elevated privileges.
## Install
2021-06-21 20:39:29 +08:00
To use this configuration layer, update your custom configuration file with:
```toml
[[layers]]
name = "sudo"
```
## Key bindings
2021-06-21 20:39:29 +08:00
| Key Binding | Description |
| ----------- | --------------------------------------------|
| `SPC f E` | open a file with elevated privileges (TODO) |
2021-06-21 20:39:29 +08:00
| `SPC f W` | save a file with elevated privileges |