about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source_edit.lua')
-rw-r--r--source_edit.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/source_edit.lua b/source_edit.lua
index 733ca61..7599a4a 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -437,9 +437,7 @@ function edit.keychord_press(State, chord, key)
         Text.search_next(State)
       end
     elseif chord == 'up' then
-      if #State.search_term > 0 then
-        Text.search_previous(State)
-      end
+      Text.search_previous(State)
     end
     return
   elseif chord == 'C-f' then