Skip to content

Instantly share code, notes, and snippets.

@francisbarton
Created August 28, 2025 17:48
Show Gist options
  • Select an option

  • Save francisbarton/b74416815ad34f2cb5d4a7d2b3bbab51 to your computer and use it in GitHub Desktop.

Select an option

Save francisbarton/b74416815ad34f2cb5d4a7d2b3bbab51 to your computer and use it in GitHub Desktop.
My positron settings file
{
"workbench.startupEditor": "none",
// adds more lines to the file tab
"workbench.tree.renderIndentGuides": "always",
"workbench.colorCustomizations": {
"editorRuler.foreground": "#ff4081"
},
"editor.fontFamily": "Maple Mono NF, FiraCode Nerd Font, JuliaMono Nerd Font, Agave Nerd Font, monospace",
// "editor.fontLigatures": true,
// for Maple Mono specifically:
"editor.fontLigatures": "'ss05', 'ss07', 'ss09', 'cv02', 'cv05', 'cv31', 'cv34', 'cv35', 'cv38'",
"editor.wordWrap": "wordWrapColumn",
// add vertical lines at 80 and 120 characters
"editor.rulers": [ 80, 120 ],
// handle newline saving adapted from
// https://rfdonnelly.github.io/posts/sane-vscode-whitespace-settings/
"files.insertFinalNewline": true,
"editor.renderFinalNewline": "dimmed",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// also render trailing whitespace, since it'll get trimmed
"editor.renderWhitespace": "trailing",
// better pasting
"editor.formatOnPaste": true,
"[r]": {
"editor.formatOnSave": true
},
// pretty cursor
"editor.cursorBlinking": "phase",
"editor.cursorStyle": "line",
"git.autofetch": true,
"git.confirmSync": false,
"github.gitProtocol": "ssh",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.fontSize": 12,
"window.newWindowDimensions": "maximized",
"window.restoreFullscreen": true,
// ctrl+n opens a new file in R by default
"files.defaultLanguage": "r",
// error delay so errorLens is less noisy
"errorLens.delay": 750,
"editor.scrollbar.verticalScrollbarSize": 12,
"editor.scrollbar.horizontalScrollbarSize": 8,
"diffEditor.codeLens": true,
"editor.tabSize": 2,
"editor.autoIndent": "brackets",
"editor.renderLineHighlight": "gutter",
"diffEditor.renderSideBySide": false,
"githubPullRequests.pullBranch": "never",
"quarto.render.previewType": "external",
"quarto.cells.background.color": "useTheme",
"quarto.visualEditor.spellingDictionary": "en_GB",
"positron.r.quietMode": true,
"positron.r.interpreters.default": "",
"editor.guides.highlightActiveBracketPair": false,
"editor.guides.bracketPairsHorizontal": false,
"editor.matchBrackets": "never",
"python.defaultInterpreterPath": "",
"files.associations": {
"renv.lock": "json"
},
"workbench.activityBar.location": "top",
"python.environmentProviders.enable": {
"Conda": false
},
"diffEditor.ignoreTrimWhitespace": false,
"githubIssues.workingIssueFormatScm": "${issueTitle} \nShould close ${issueNumberLabel}",
"console.fontLigatures": true,
"terminal.integrated.fontLigatures.enabled": true,
"console.fontSize": 12,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
},
"editor.lineNumbers": "relative",
"terminal.integrated.cursorStyle": "underline",
"terminal.integrated.cursorStyleInactive": "none",
"workbench.externalUriOpeners": {
"http": "vivaldi"
},
"workbench.externalBrowser": "vivaldi"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment