Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.41 KB

README.md

File metadata and controls

40 lines (35 loc) · 1.41 KB

Russian Losses in Ukraine [Vim statusline]

All information is parsed from this website and transformed into categories provided by the General Staff of the Ukrainian Armed Forces (example).

Demo

Example of the plugin view in the standard Vim: alt text

and with the following categories:

self._include = [
    "Liquidated personnel",
    "Tanks",
    "Warships/Boats",
    "Aircraft/Helicopters",
    "Anti-aircraft",
    "UAV",
    "Artillery systems/MLRS",
]

QA

Is it stable?

No, it's not. We are parsing information from the 3rd side sources, so it can break anytime. It's my first and probably the last Vim/VimScript related project. Therefore no guarantees it even can be installed by the instructions below.

Installation

I have no idea what's the best practices of the Vim plugins...

  1. Clone this repo.
  2. I've used pathogen as a vim-plugin manager:
cd ~/.vim/bundle
ln -s ~/RussianLossesInUkraine/ .
  1. Install requirements.txt dependencies to the virtual environment:
cd ~/RussianLossesInUkraine/plugin
virtualenv env
pip install -r requirements.txt
  1. Edit the second line in the ~/RussianLossesInUkraine/plugin/losses.vim, and specify your path to the site-packages in the virtual eniveronment. Sorry...