feat: add insert command to paste spotify links (#277)

* feat: add insert command to paste spotify links

- use Ctrl-v to paste from clipboard or use :insert without an argument

* fix: handle paste on disabled clipboard feature

* fix: handle wrong URIs

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
Bolli
2020-10-09 19:26:52 +02:00
committed by GitHub
parent f2b4f01242
commit 79093eca1e
6 changed files with 81 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ extern crate url;
extern crate strum;
extern crate strum_macros;
extern crate regex;
use std::fs;
use std::path::PathBuf;
use std::process;