Add initial configs for obsidian and copy logic for files
obsidian seems to only have a per-vault config approach, so my approach is to define settings within .config/obsidian, then copy to vault dirs
This commit is contained in:
17
src_files/.config/obsidian/app.json
Normal file
17
src_files/.config/obsidian/app.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"defaultViewMode": "preview",
|
||||
"showLineNumber": true,
|
||||
"spellcheck": false,
|
||||
"autoPairBrackets": false,
|
||||
"autoPairMarkdown": false,
|
||||
"useTab": false,
|
||||
"autoConvertHtml": false,
|
||||
"vimMode": true,
|
||||
"trashOption": "none",
|
||||
"newFileLocation": "folder",
|
||||
"newFileFolderPath": "inbox",
|
||||
"showUnsupportedFiles": true,
|
||||
"attachmentFolderPath": "inbox",
|
||||
"showInlineTitle": false,
|
||||
"readableLineLength": false
|
||||
}
|
4
src_files/.config/obsidian/appearance.json
Normal file
4
src_files/.config/obsidian/appearance.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"theme": "obsidian",
|
||||
"accentColor": "#2f930e"
|
||||
}
|
33
src_files/.config/obsidian/core-plugins.json
Normal file
33
src_files/.config/obsidian/core-plugins.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"footnotes": false,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false,
|
||||
"bases": true,
|
||||
"webviewer": false
|
||||
}
|
16
src_files/.config/obsidian/hotkeys.json
Normal file
16
src_files/.config/obsidian/hotkeys.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"markdown:toggle-preview": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "E"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "R"
|
||||
}
|
||||
]
|
||||
}
|
@@ -31,6 +31,9 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway
|
||||
# git
|
||||
export GIT_EDITOR="$EDITOR"
|
||||
|
||||
# obsidian
|
||||
export OBSIDIAN_WORKSPACES_TO_CONFIGURE=("$DIR_NOTES")
|
||||
|
||||
# clean-up of home dir
|
||||
export __CF_USER_TEXT_ENCODING="0x0:0x0"
|
||||
|
||||
|
Reference in New Issue
Block a user