Obsidian vimrc plugin - How to remap Arrow Keys with Ctrl?

What I’m trying to do

Im trying to emulate arrow key presses with vimrc mappings for Obsidian to allow for fast text navigation with <C-h,j,k,l> that simulates <Ctrl + Left, Down, Up, Right> just like in neovim.

How do I map <C-h>, <C-j>, <C-k>, <C-l> to <Ctrl+LeftArrowKey>, <Ctrl+DownArrowKey>, <Ctrl+UpArrowKey>, <Ctrl+RightArrowKey>?

Things I have tried

" Mapping Arrow Keys
nnoremap <C-h> <Ctrl-Right>
nnoremap <C-j> <Ctrl-Down>
nnoremap <C-k> <Ctrl-Up>
nnoremap <C-l> <Ctrl-Left>

inoremap <C-h> <Ctrl-Right>
inoremap <C-j> <Ctrl-Down>
inoremap <C-k> <Ctrl-Up>
inoremap <C-l> <Ctrl-Left>

vnoremap <C-h> <Ctrl-Right>
vnoremap <C-j> <Ctrl-Down>
vnoremap <C-k> <Ctrl-Up>
vnoremap <C-l> <Ctrl-Left>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.