e3cad92631fb

Don't explode when running \n or \N when there are no conflicts left.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 30 Jun 2011 18:16:06 -0400
parents 5ed1d3cd606d
children 7274a307b439
branches/tags (none)
files autoload/threesomelib/modes.py

Changes

--- a/autoload/threesomelib/modes.py	Thu Jun 30 15:06:09 2011 -0400
+++ b/autoload/threesomelib/modes.py	Thu Jun 30 18:16:06 2011 -0400
@@ -108,11 +108,11 @@
 
     def key_next(self):
         self.goto_result()
-        vim.command(r'exe "normal! /\=\=\=\=\=\=\=\<cr>"')
+        vim.command(r'exe "silent! normal! /\=\=\=\=\=\=\=\<cr>"')
 
     def key_prev(self):
         self.goto_result()
-        vim.command(r'exe "normal! ?\=\=\=\=\=\=\=\<cr>"')
+        vim.command(r'exe "silent! normal! ?\=\=\=\=\=\=\=\<cr>"')
 
 
     def open_hud(self, winnr):