Skip to content

Commit

Permalink
Fix conflict with vim-signature
Browse files Browse the repository at this point in the history
vim-signature rebinds :normal m, and it really doesn't like being called during BufNewFile. switching the call from "normal mm" to "normal! mm" fixes the issue.
  • Loading branch information
barrowsys authored Sep 3, 2020
1 parent d5fffe2 commit 4e21f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/templates.vim
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ endfunction
" Expand all templates present in current file
function <SID>ExpandAllTemplates()
" mark the current position so that we can return to it if cursor is not found
normal mm
normal! mm

call <SID>ExpandTimestampTemplates()
call <SID>ExpandAuthoringTemplates()
Expand Down

0 comments on commit 4e21f82

Please sign in to comment.