Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin: vim-airline system status extension #44

Closed
ratmav opened this issue Dec 14, 2020 · 2 comments
Closed

plugin: vim-airline system status extension #44

ratmav opened this issue Dec 14, 2020 · 2 comments

Comments

@ratmav
Copy link
Owner

ratmav commented Dec 14, 2020

write a little go binary to get system status using https://github.com/shirou/gopsutil. be sure to VENDOR AND COMMIT your dependencies in case the repo vanishes.

then, use https://github.com/enricobacis/vim-airline-clock as a guide to provide a vim-airline extension. use the file manager in go layout from https://github.com/vim-ctrlspace/vim-ctrlspace to provide pre-built binaries in the plugin. also include the go binary source for easy hacking. might be a good use case for a git submodule.

@ratmav
Copy link
Owner Author

ratmav commented Dec 14, 2020

would also rule to ouput the current time in UTC like Mon Dec 14 2020 HH:MM CPU - foo MEM - bar TEMP- baz, and refresh that every 5s or whatever interval is fast but not pinging the machine too much (probably somewhere between 5s and 1m).

@ratmav
Copy link
Owner Author

ratmav commented Dec 17, 2020

got the repo up.

@ratmav ratmav closed this as completed Dec 17, 2020
@ratmav ratmav mentioned this issue Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant