Ignoring mappings in our vim 'normal' invocation

This commit is contained in:
Strahinja Val Markovic 2013-03-31 21:01:38 -07:00
parent cd7f5355fc
commit 8e4a2e24f8

View File

@ -52,7 +52,7 @@ def GetUnsavedBuffers():
# Both |line| and |column| need to be 1-based
def JumpToLocation( filename, line, column ):
# Add an entry to the jumplist
vim.command( "normal m'" )
vim.command( "normal! m'" )
if filename != vim.current.buffer.name:
# We prefix the command with 'keepjumps' so that opening the file is not