From 11890827f16dbcc2856a4305ac6d068df679cff2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 7 Mar 2016 21:41:39 +0100 Subject: Implement cite command in _pentadactyl_ * `vimrc` changes are required to prevent _airline_ from generating unnecessary warnings concerning the spaces used to signal a blockquote --- pentadactyl/.pentadactylrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pentadactyl') diff --git a/pentadactyl/.pentadactylrc b/pentadactyl/.pentadactylrc index 7826648..702c881 100644 --- a/pentadactyl/.pentadactylrc +++ b/pentadactyl/.pentadactylrc @@ -59,3 +59,18 @@ if ( selection ) { dactyl.execute('!echo ' + entry + ' >> ~/note/src/web/inbox.wiki'); EOF nmap b :push2inbox + +command! cite -js <\\\\n' + + '\\ \\ \\ \\ ― ' + escape(buffer.URL) + + '\\n'; + +dactyl.execute('!echo ' + entry + ' >> ~/note/src/web/inbox.wiki'); +EOF +nmap c :cite -- cgit v1.2.3