Skip to content

Commit

Permalink
Add gjk mapping for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunyho committed Jul 3, 2022
1 parent 98f2b08 commit 941bd1f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ftplugin/markdown.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
" same as for tex files.

function! Gjk(count, dir)
if count == 0
exe "normal! g" . a:dir
else
exe "normal! " . a:count . a:dir
endif
endfunction
nnoremap <silent> <buffer> k :<C-U>call Gjk(v:count, "k")<CR>
nnoremap <silent> <buffer> j :<C-U>call Gjk(v:count, "j")<CR>
"let g:instant_markdown_python = 1

0 comments on commit 941bd1f

Please sign in to comment.