2022-12-30 23:11:32 -05:00
|
|
|
# vim-logrotate
|
2022-10-26 21:57:54 -04:00
|
|
|
|
2023-01-03 00:17:06 -05:00
|
|
|
Syntax and help for [logrotate](https://github.com/logrotate/logrotate) config files in `/etc/logrotate.d/*`
|
2022-12-30 23:11:32 -05:00
|
|
|
|
2023-01-03 00:23:58 -05:00
|
|
|
![screenshot](https://user-images.githubusercontent.com/189196/210303719-ee2269b9-1e79-48b3-a0cf-7994cb6ca077.png)
|
|
|
|
|
2022-12-30 23:11:32 -05:00
|
|
|
# Install
|
|
|
|
|
|
|
|
mkdir -p ~/.vim/pack/gitpacks/start/
|
2023-01-02 23:59:13 -05:00
|
|
|
git -C ~/.vim/pack/gitpacks/start clone https://github.com/balki/vim-logrotate
|
2022-12-30 23:11:32 -05:00
|
|
|
vim +":helptags ALL" +"qa"
|
|
|
|
|
|
|
|
# Requirements
|
|
|
|
|
|
|
|
1. Vim installation that includes patch-8.2.4770. (Works in Ubuntu 22.10)
|
|
|
|
2. [gawk](https://www.gnu.org/software/gawk/manual/gawk.html) installed. See `g:logrotate_awk` config option to use a different awk
|