Last active
May 31, 2020 07:33
-
-
Save syon/dead5eaf1df35e770b85737a4877bc99 to your computer and use it in GitHub Desktop.
Revisions
-
syon revised this gist
May 31, 2020 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ set scalehints set smoothscroll let scrollduration = 300 let hintcharacters = "asdgwetcvb" copyThisPageTitle() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; @@ -27,3 +27,14 @@ copyThisPageAsMarkdownLink() -> {{ Status.setMessage(link, 2); }} map ym :call copyThisPageAsMarkdownLink<CR> copyThisPageAsScrapboxLink() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; var url = location.href; var link = '[' + url + ' ' + text + ']'; RUNTIME('copy', { text: link }); Status.setMessage(link, 2); }} map ys :call copyThisPageAsScrapboxLink<CR> let blacklists = ["https://remotedesktop.google.com/*"] -
syon revised this gist
Feb 3, 2018 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,15 @@ copyThisPageTitle() -> {{ }} map yt :call copyThisPageTitle<CR> copyThisPageLink() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; var url = location.href; var link = text + ' ' + url; RUNTIME('copy', { text: link }); Status.setMessage(link, 2); }} map yl :call copyThisPageLink<CR> copyThisPageAsMarkdownLink() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; var url = location.href; -
syon revised this gist
Jan 24, 2018 . No changes.There are no files selected for viewing
-
syon revised this gist
Jan 22, 2018 . 1 changed file with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,20 @@ set scalehints set smoothscroll let scrollduration = 300 let hintcharacters = "asdgqwetcv" copyThisPageTitle() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; RUNTIME('copy', { text: text }); Status.setMessage(text, 2); }} map yt :call copyThisPageTitle<CR> copyThisPageAsMarkdownLink() -> {{ var text = document.title || (document.querySelector("title") || {}).innerText || ''; var url = location.href; var link = '[' + text + '](' + url + ')'; RUNTIME('copy', { text: link }); Status.setMessage(link, 2); }} map ym :call copyThisPageAsMarkdownLink<CR> -
syon revised this gist
May 12, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,3 @@ set scalehints set smoothscroll let scrollduration = 300 -
syon renamed this gist
Apr 9, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
syon created this gist
Apr 9, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ set smoothscroll let scrollduration = 300