https://github.com/ichizok/pfvim
Allows one to edit a file with privileges from an unprivileged session.
https://github.com/ichizok/pfvim
illumos solaris vim
Last synced: 8 months ago
JSON representation
Allows one to edit a file with privileges from an unprivileged session.
- Host: GitHub
- URL: https://github.com/ichizok/pfvim
- Owner: ichizok
- Created: 2012-10-02T08:38:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T10:21:51.000Z (over 7 years ago)
- Last Synced: 2025-10-09T05:08:34.676Z (9 months ago)
- Topics: illumos, solaris, vim
- Language: Vim script
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**pfvim**
=========
Description
-----------
Based on [sudo.vim](https://github.com/vim-scripts/sudo.vim).
This script eases use of vim with pfexec by adding the ability to
edit one file with root privleges without running the whole
session that way.
Platforms
---------
SunOS distributions (Solaris, OpenIndiana, ...)
Usage
-----
Put it in the plugin directory, and
command line: `$ vim pf:/etc/hosts`
within vim: `:e pf:/etc/hosts`
or: `:PfEdit /etc/hosts`