Ignoring mappings in our vim 'normal' invocation
This commit is contained in:
parent
cd7f5355fc
commit
8e4a2e24f8
@ -52,7 +52,7 @@ def GetUnsavedBuffers():
|
|||||||
# Both |line| and |column| need to be 1-based
|
# Both |line| and |column| need to be 1-based
|
||||||
def JumpToLocation( filename, line, column ):
|
def JumpToLocation( filename, line, column ):
|
||||||
# Add an entry to the jumplist
|
# Add an entry to the jumplist
|
||||||
vim.command( "normal m'" )
|
vim.command( "normal! m'" )
|
||||||
|
|
||||||
if filename != vim.current.buffer.name:
|
if filename != vim.current.buffer.name:
|
||||||
# We prefix the command with 'keepjumps' so that opening the file is not
|
# We prefix the command with 'keepjumps' so that opening the file is not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user