File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ " Yank to system clipboard
2
+ set clipboard = unnamed
3
+
4
+ " Go back and forward with Ctrl+O and Ctrl+I
5
+ " (make sure to remove default Obsidian shortcuts for these to work)
6
+ exmap back obcommand app:go - back
7
+ nmap <C-o> :back
8
+ exmap forward obcommand app:go - forward
9
+ nmap <C-i> :forward
10
+
11
+ exmap vsp obcommand workspace:split - vertical
12
+ exmap tabnew obcommand workspace:new - tab
13
+ exmap q obcommand workspace:close
14
+ exmap qa obcommand workspace:close - window
15
+
16
+ " Emulate Folding https://vimhelp.org/fold.txt.html#fold-commands
17
+ exmap togglefold obcommand editor:toggle- fold
18
+ nmap zo :togglefold
19
+ nmap zc :togglefold
20
+ nmap za :togglefold
21
+
22
+ exmap unfoldall obcommand editor:unfold- all
23
+ nmap zR :unfoldall
24
+
25
+ exmap foldall obcommand editor:fold - all
26
+ nmap zM :foldall
27
+
28
+ " Emulate Tab Switching https://vimhelp.org/tabpage.txt.html#gt
29
+ " requires Cycle Through Panes Plugins https://obsidian.md/plugins?id=cycle-through-panes
30
+ exmap tabnext obcommand cycle- through- panes: cycle- through- panes
31
+ nmap gt :tabnext
32
+ exmap tabprev obcommand cycle- through- panes: cycle- through- panes- reverse
33
+ nmap gT :tabprev
34
+
35
+ exmap Vex obcommand file - explorer:open
36
+ exmap Find obcommand global - search :open
You can’t perform that action at this time.
0 commit comments