aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-21 00:43:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-21 00:43:11 +1200
commitda153af87e104d74d134a18b330b040003abae11 (patch)
treec8870768146db1035845f20fe3293d458c1b10f4 /vim
parent84df10e80bd4cd00e7193ce2da85d47868c2ed05 (diff)
downloaddotfiles-da153af87e104d74d134a18b330b040003abae11.tar.gz
End heading mapping on first column
Diffstat (limited to 'vim')
-rw-r--r--vim/autoload/markdown.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/autoload/markdown.vim b/vim/autoload/markdown.vim
index 9bedbb68..5b4ea205 100644
--- a/vim/autoload/markdown.vim
+++ b/vim/autoload/markdown.vim
@@ -5,5 +5,6 @@ function! markdown#Heading(char) abort
let underline = repeat(a:char, strlen(heading))
call append(pos[1], underline)
let pos[1] += 1
+ let pos[2] = 1
call setpos('.', pos)
endfunction