obsidian-vimrc-support
obsidian-vimrc-support copied to clipboard
forward or backward search mapping doesn't work right
Describe the bug:
i tried to remap G that usually takes to the last line of the document to take just to the last non blank character using a backwards search:
map G G?\S<CR>:noh<CR>
in normal vim this works but it didn't work on obsidian, it just doesn't do anything
mapping just to a forward or backward search opened the search bar in obsidian without executing the rest of the command:
map G ?\S<CR>:noh<CR>
i also tried other mapping and it was always the forward search (/) or backward search (?) that didn't make the mapping work correctly
Environment (please complete the following information):
- OS: windows 10 64bit
- Vimrc plugin version: 0.9.0