Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for autologin on push #37

Closed
Californ1a opened this issue Oct 14, 2021 · 0 comments
Closed

Option for autologin on push #37

Californ1a opened this issue Oct 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Californ1a
Copy link

Californ1a commented Oct 14, 2021

I tend to close VSC between page edits because I don't like stuff constantly running in the background if I'm not actively using it, which means nearly every time I pull a page down, I have to re-login in order to push.

To get around this, right now I'm using multi-command with a custom command set in keybindings.json:

{
	"key": "ctrl+s",
	"command": "extension.multiCommand.execute",
	"when": "editorTextFocus && editorLangId == wikitext",
	"args": { 
			"sequence": [
					"wikitext.login",
					"wikitext.writePage",
					"workbench.action.closeActiveEditor"
			]
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants