Skip to content

Instantly share code, notes, and snippets.

View screenbeard's full-sized avatar
🚀
.

Josh Nunn screenbeard

🚀
.
View GitHub Profile
@screenbeard
screenbeard / GuardianGarbage.user.js
Created October 20, 2019 01:53
ViolentMonkey Script Guardian Garbage
// ==UserScript==
// @name Guardian Garbage
// @author screenbeard
// @namespace https://the.geekorium.com.au
// @match https://www.theguardian.com/*
// @grant none
// @run-at document-idle
// @inject-into content
// ==/UserScript==
{
{
"keys": [
"ctrl+k",
"ctrl+i"
],
"command": "run_macro_file",
"args": {
"file": "res://Packages/User/Macros/re_indent_file_from_2_to_4_spaces.sublime-macro"
}
[
{
"command": "select_all"
},
{
"command": "set_setting",
"args": {
"setting": "tab_size",
"value": 2
}
[
{
"command": "swap_line_down"
},
{
"command": "reindent",
"args": {
"single_line": true
}
}
[
{
"command": "swap_line_up"
},
{
"command": "reindent",
"args": {
"single_line": true
}
}

Keybase proof

I hereby claim:

  • I am screenbeard on github.
  • I am screenbeard (https://keybase.io/screenbeard) on keybase.
  • I have a public key ASDtDH3QEf2xtpvmdU1jMaoNWSa6MIzgme8goiswIROfYQo

To claim this, I am signing this object: