This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Use in Obsidian.md to remap Vim keybindings. More info: https://github.com/vii33/Obsidian-vimrc | |
" Available CodeMirror operators/motions: https://github.com/replit/codemirror-vim/blob/master/src/vim.js | |
" Available internal Obsidian commands, go to developer console, click in the editor, type :obcommand and check log output | |
" Have j and k navigate visual lines rather than logical ones | |
nmap j gj | |
nmap k gk | |
" Big J/K jumps multiple lines (compared to their smaller siblings j/k) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Changes the readable line length in Obsidian Notes. Tested in Obsidian v1.0.0 | |
See https://gist.github.com/vii33/f2c3a85b64023cefa9df6420730c7531/f4ea845b240e94c9fcd47d456340f78208dab38f | |
*/ | |
body { | |
--file-line-width: 750px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Settings for all callouts / admonitions: */ | |
.callout { | |
background-color: hsl(220, 16%, 16%); | |
} | |
/* Settings for individual callouts / admonitions: */ | |
.callout[data-callout="important"] { /* same name as in callout to be changed */ | |
--callout-color: 19, 203, 232; /* rgb only */ |