Skip to content

Instantly share code, notes, and snippets.

@ryo-ARAKI
Last active April 26, 2024 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryo-ARAKI/b4a54125e7922d2166f7fa7373c0f6dd to your computer and use it in GitHub Desktop.
Save ryo-ARAKI/b4a54125e7922d2166f7fa7373c0f6dd to your computer and use it in GitHub Desktop.
VSCode setting file (manual backup)
// ~/.config/Code/User/settings.json
// 既定値を上書きするには、このファイル内にキー バインドを挿入しますauto[]
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+k ctrl+pagedown",
"command": "-workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditorInGroup"
},
{
"key": "ctrl+k ctrl+pageup",
"command": "-workbench.action.previousEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.previousEditor"
}
]
// ~/.config/Code/User/settings.json
{
// ====================================
// Work benchの設定
// ====================================
"workbench.startupEditor": "newUntitledFile",
// アニメーションを減らす
"workbench.reduceMotion": "on",
// 起動時の空ファイルの内容
"workbench.editor.empty.hint": "hidden",
// 左から順にファイルを閉じる
"workbench.editor.focusRecentEditorAfterClose": false,
// Jupyter notebookの関連づけ
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
// タブをすべて表示できないときにサイズを縮小する
"workbench.editor.tabSizing": "shrink",
// タブの「閉じる」ボタンを表示しない
// "workbench.editor.tabActionCloseVisibility": false,
// サイトバーを右側に表示する(コード先頭が移動しない)
"workbench.sideBar.location": "right",
// カラーテーマ
"workbench.colorTheme": "Monokai",
// アイコンテーマ
"workbench.iconTheme": "material-icon-theme",
//
// ====================================
// Zen modeの設定
// ====================================
// 行番号を表示する
"zenMode.hideLineNumbers": false,
//
// ====================================
// Windowの設定
// ====================================
// ズーム段階
"window.zoomLevel": 2,
// メニューバーを非表示(altで表示)
"window.menuBarVisibility": "toggle",
// 新しいウィンドウを最大サイズで開く
"window.newWindowDimensions": "maximized",
//
// ====================================
// エクスプローラーの設定
// ====================================
// エクスプローラーで非表示にするファイル・サブディレクトリ
"files.exclude": {
"**/__pycache__": true
},
//
// ====================================
// エディタUIの設定
// ====================================
// フォントサイズ
"editor.fontSize": 16,
// ファイルのパンくずリストを非表示
"breadcrumbs.enabled": false,
// インデントガイドを非表示
"editor.guides.indentation": false,
// フォント
"editor.fontFamily": "Ricty Diminished",
// マウスを用いた複数選択
"editor.multiCursorModifier": "ctrlCmd",
// 折返し表示
"editor.wordWrap": "on",
"editor.renderWhitespace": "boundary",
// カーソル表示スタイル
"editor.cursorStyle": "block",
"editor.cursorBlinking": "smooth",
// ブレークポイント等を表示するグリフを非表示
"editor.glyphMargin": false,
// スクリーンリーダーに最適化しない
"editor.accessibilitySupport": "off",
// コピー時に書式設定を含めない
"editor.copyWithSyntaxHighlighting": false,
// 単語の区切り文字(全角文字を追加)
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?、。!?「」【】『』()",
// 重複するファイルに末尾番号を着けて保存
"explorer.incrementalNaming": "smart",
// ワークスペースのフォルダ順の変更の許可を尋ねない
"explorer.confirmDragAndDrop": false,
//
// ====================================
// ミニマップの設定
// ====================================
// ミニマップを非表示にする
"editor.minimap.enabled": false,
// スケール
"editor.minimap.scale": 2,
// 高さ方向の大きさをエディタとフィットさせる
"editor.minimap.size": "fit",
// ファイル編集時は非表示
"editor.minimap.autohide": true,
// 実際の文字をレンダリングしない
"editor.minimap.renderCharacters": false,
// エディタでの表示箇所を反映
"editor.minimap.showSlider": "always",
//
// ====================================
// オートコンプリートの設定
// ====================================
//直前に使用したものを優先
"editor.suggestSelection": "recentlyUsed",
// Enterで反映しない
"editor.acceptSuggestionOnEnter": "off",
//
// ====================================
// ファイル保存時の設定
// ====================================
// フォーマット(いまはしない)
// "editor.formatOnSave": true,
// ファイルからフォーカスが外れたら自動で保存
"files.autoSave": "onFocusChange",
// 行末のスペースを自動で削除
"files.trimTrailingWhitespace": true,
// ファイル末尾に改行を自動で挿入
"files.insertFinalNewline": true,
// ファイル末尾の空白行を自動で削除
"files.trimFinalNewlines": true,
//
// ====================================
// ファイルの設定
// ====================================
// 拡張子の関連づけ
"files.associations": {
"*.tikz": "tex"
},
//
// ====================================
// gitの設定
// ====================================
// 親フォルダがgitで管理されていればリポジトリを開く
"git.openRepositoryInParentFolders": "always",
//
// ====================================
// 検索の設定
// ====================================
// 検索時に.gitignoreで指定されたファイルを除外する
"search.useIgnoreFiles": false,
//
// ====================================
// ターミナルの設定
// ====================================
// フォントサイズ
"terminal.integrated.fontSize": 16,
// ターミナルで選択した文字列をクリップボードにコピー
"terminal.integrated.copyOnSelection": true,
//
// ====================================
// スペルチェック
// ====================================
// イギリス英語を使用
"cSpell.language": "en-GB",
// チェックから除外する単語集
"cSpell.userWords": [
],
//
// ====================================
// 拡張機能全般の設定
// ====================================
// 「おすすめの拡張機能」を表示しない
"extensions.ignoreRecommendations": true,
//
// ====================================
// Markdownの設定
// ====================================
// フォーマッタを指定
"editor.defaultFormatter": "esbenp.prettier-vscode"
// プレビューのテーマ
"markdown-preview-enhanced.previewTheme": "atom-dark.css",
// プレビューでより複雑な表の表示
"markdown-preview-enhanced.enableExtendedTableSyntax": true,
// プレビューで改行を表示しない
"markdown-preview-enhanced.breakOnSingleNewLine": false,
// プレビューから無駄な要素を排除する
"markdown-preview-enhanced.enablePreviewZenMode": false,
// VSCodeデフォルトのプレビューを維持する(Marpで使うため)
"markdown-preview-enhanced.hideDefaultVSCodeMarkdownPreviewButtons": false,
// MarpでのMarkdown文書の改行の表示設定
"markdown.marp.breaks": "inherit",
// Marpでエクスポートフォーマットの指定(PDFだとズレる)
"markdown.marp.exportType": "html",
//
// ====================================
// Juliaの設定
// ====================================
"julia.executablePath": "/usr/local/bin/julia",
"julia.symbolCacheDownload": true,
"julia.enableTelemetry": true,
//
// ====================================
// LaTeXの設定
// ====================================
// 自動コンパイルを実行しない
"latex-workshop.latex.autoBuild.run": "never",
//
// ====================================
// 自動で追加された設定
// ====================================
"cSpell.enableFiletypes": [
"FortranFreeForm",
"bibtex"
],
"terminal.integrated.commandsToSkipShell": [
"language-julia.interrupt"
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment