Compare commits

...

4 Commits

Author SHA1 Message Date
15ee0aee54 Okay, maybe Vim 2026-07-22 18:21:39 -04:00
4709bdf8b7 No more Vim 2026-07-22 18:16:14 -04:00
c8b838afb3 Update vimrc 2026-07-22 15:47:23 -04:00
94840d9d0f Add obsidian-vimrc and a better configuration 2026-07-21 23:43:46 -04:00
7 changed files with 1306 additions and 2 deletions

15
.obsidian.vimrc Normal file
View File

@@ -0,0 +1,15 @@
" Yank to system clipboard
set clipboard=unnamed
exmap tabnext obcommand workspace:next-tab
nmap gt :tabnext
exmap tabprev obcommand workspace:previous-tab
nmap gT :tabprev
exmap tabclose obcommand workspace:close
exmap wq obcommand workspace:close
exmap q obcommand workspace:close
exmap followlink obcommand editor:follow-link
nmap gd :followlink<CR>

View File

@@ -4,5 +4,6 @@
"textFontFamily": "", "textFontFamily": "",
"translucency": true, "translucency": true,
"interfaceFontFamily": "", "interfaceFontFamily": "",
"baseFontSize": 18 "baseFontSize": 18,
"enabledCssSnippets": []
} }

View File

@@ -3,5 +3,6 @@
"obsidian-hider", "obsidian-hider",
"calendar", "calendar",
"multi-vault-links", "multi-vault-links",
"typewriter-mode" "typewriter-mode",
"obsidian-vimrc-support"
] ]

View File

@@ -370,5 +370,21 @@
], ],
"key": "O" "key": "O"
} }
],
"workspace:close": [
{
"modifiers": [
"Alt"
],
"key": "W"
}
],
"editor:follow-link": [
{
"modifiers": [
"Alt"
],
"key": "Enter"
}
] ]
} }

View File

@@ -0,0 +1,14 @@
{
"vimrcFileName": ".obsidian/.obsidian.vimrc",
"displayChord": false,
"displayVimMode": false,
"fixedNormalModeLayout": false,
"capturedKeyboardMap": {},
"supportJsCommands": false,
"vimStatusPromptMap": {
"normal": "🟢",
"insert": "🟠",
"visual": "🟡",
"replace": "🔴"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-vimrc-support",
"name": "Vimrc Support",
"version": "0.10.2",
"description": "Auto-load a startup file with Obsidian Vim commands.",
"minAppVersion": "0.15.3",
"author": "esm",
"authorUrl": "",
"isDesktopOnly": false
}