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

35 lines
772 B
Markdown
Raw Normal View History

---
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 |