https://github.com/kiran94/s3edit.nvim
Edit files from S3 directly from Neovim
https://github.com/kiran94/s3edit.nvim
aws aws-s3 neovim neovim-plugin nvim s3
Last synced: 5 months ago
JSON representation
Edit files from S3 directly from Neovim
- Host: GitHub
- URL: https://github.com/kiran94/s3edit.nvim
- Owner: kiran94
- License: mit
- Created: 2022-10-13T20:11:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-28T16:18:28.000Z (about 2 years ago)
- Last Synced: 2024-09-29T01:43:02.793Z (9 months ago)
- Topics: aws, aws-s3, neovim, neovim-plugin, nvim, s3
- Language: Lua
- Homepage:
- Size: 30.3 KB
- Stars: 43
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - kiran94/s3edit.nvim - Edit files from Amazon S3 directly from Neovim. (File Explorer / Powershell)
- awesome-neovim-sorted - kiran94/s3edit.nvim
- awesome-neovim-sorted - kiran94/s3edit.nvim
README
# S3Edit.nvim
[](https://github.com/kiran94/s3edit.nvim/actions/workflows/main.yaml)
> Edit files from S3 directly from Neovim
## Install
```lua
{ 'kiran94/s3edit.nvim', config = true, cmd = "S3Edit"},
```*using lazy.nvim*
### Dependencies
- [`aws`](https://github.com/aws/aws-cli) in your `PATH` and configured
- Neovim 0.8+Once installed you can run a health check via `:checkhealth s3edit`
### Usage
Setup the plugin
```lua
require('s3edit').setup()
```#### Configuration
By default the following configuration will apply:
```lua
require('s3edit').setup({
exclude = { ".git", ".hoodie", ".parquet", ".zip" },
autocommand_events = { "BufWritePost" },
}
```| Option | Description |
| ------- | ----------- |
| `exclude` | File paths to exclude from object search |
| `autocommand_events` | The event to fire updates to S3 |#### Edit
```lua
require('s3edit').edit() -- or :S3Edit
```### Preview
[](https://asciinema.org/a/529113)
*NOTE: if you want to use telescope as your selector then take a look at [telescope-ui-select.nvim](https://github.com/nvim-telescope/telescope-ui-select.nvim)*
### Similar
- [s3-edit](https://github.com/tsub/s3-edit)