" Put this in OBSIDIAN_VAULT/.obsidian.vimrc set clipboard=unnamed " Sync with System Clipboard " Colemak vim-like noremap n j noremap e k noremap i l " Similar position to i noremap l i noremap L I " ne[k]st noremap k n noremap K N " [j]ump noremap j e noremap J E " Y to yank to end of line noremap Y y$ """ Visual mode surrounding exmap addbold obcommand editor:toogle-bold exmap additalic obcommand editor:toogle-italic exmap addhighlight obcommand editor:toogle-highlight exmap addcode obcommand editor:toogle-code exmap adddel obcommand editor:toogle-strikethrough vnoremap ~ :adddel " Add delete to selection vnoremap ` c`"` " editor:toogle-code is buggy vnoremap * :addbold " Add bold to selection vnoremap _ :additalic " Add italic to selection vnoremap = :addhighlight " Add highlight to selection """ Commands exmap write editor:save-file exmap w editor:save-file exmap q workspace:close-tab-group exmap prevtab obcommand workspace:previous-tab exmap nexttab obcommand workspace:next-tab nnoremap H :prevtab nnoremap I :nexttab exmap prevhist obcommand app:go-back exmap nexthist obcommand app:go-forward nnoremap gh :prevhist nnoremap gi :nexthist exmap reload :source .obsidian.vimrc unmap exmap vsplit obcommand workspace:split-vertical exmap hsplit obcommand workspace:split-horizontal map | :vsplit map - :hsplit " map bd exmap chat obcommand obsidian-custom-frames:open-custom-frames-chatgpt map ai :chat """ g-commands exmap tsource obcommand editor:toggle-source exmap tpreview obcommand markdown:toggle-preview nnoremap gs :tsource nnoremap gp :tpreview exmap wl obcommand editor:focus-left exmap wr obcommand editor:focus-right exmap wt obcommand editor:focus-top exmap wb obcommand editor:focus-bottom map h :wl map i :wr map n :wb map e :wt exmap FoldToggle obcommand editor:toggle-fold exmap FoldLess obcommand editor:fold-less exmap FoldMore obcommand editor:fold-more exmap FoldAll obcommand editor:fold-all exmap UnfoldAll obcommand editor:unfold-all nnoremap za :FoldToggle nnoremap zr :FoldLess nnoremap zm :FoldMore nnoremap zM :FoldAll nnoremap zR :UnfoldAll exmap switchany obcommand darlal-switcher-plus:switcher-plus:open exmap switchcmd obcommand darlal-switcher-plus:switcher-plus:open-commands exmap switchrecent obcommand darlal-switcher-plus:switcher-plus:open-related-items map :switchany map : :switchcmd map fr :switchrecent " b : +buffer exmap bd obcommand exmap DeleteOthers obcommand workspace:close-others map bd :bd map bX :DeleteOthers " m : +major/markdown exmap addCallout obcommand editor:insert-callout map mb :addbold map mi :additalic map mc :addcode map md :adddel map mh :addhighlight map mp :tpreview map mo :addCallout