Last active
February 8, 2024 01:46
-
-
Save umiyosh/093d33c1737444766350678d7d430abf to your computer and use it in GitHub Desktop.
.obsidian.vimrc
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
" Yank to system clipboard | |
set clipboard=unnamed | |
" keymap | |
" Moving to the end and beginning of a line | |
noremap <C-e> $ | |
noremap <C-a> ^ | |
" Notebook Link Related | |
exmap followLinkUnderCursor obcommand editor:follow-link | |
nmap gd :followLinkUnderCursor | |
exmap openlink obcommand editor:open-link-in-new-leaf | |
nma gx :openlink | |
" easymotion-like behavior | |
nunmap s | |
vunmap s | |
exmap jumpToAnywhere obcommand mrj-jump-to-link:activate-jump-to-anywhere | |
nmap sw :jumpToAnywhere | |
exmap jumpToLink obcommand mrj-jump-to-link:activate-jump-to-link | |
nmap sl :jumpToLink | |
" Folding toggle | |
exmap foldtoggle obcommand editor:toggle-fold | |
nmap za :foldtoggle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment