about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-30 19:17:53 +0200
committerhut <hut@lavabit.com>2009-07-30 19:17:53 +0200
commit688131c50f69db0d03995caaf6d551a6edb94bfa (patch)
treef2d490b50454bdd42f553647475fa46371ffd3bc
parenta404c7f3acaf61a250e23bd33a582d3b73e05e9b (diff)
downloadranger-688131c50f69db0d03995caaf6d551a6edb94bfa.tar.gz
fixed #30 (key combo [gfm] does weird things)
-rw-r--r--TODO2
-rw-r--r--code/search.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index 33a12eeb..3e01c28f 100644
--- a/TODO
+++ b/TODO
@@ -36,7 +36,7 @@ Minor Issues
    ( ) #18  09/07/19  abbreviate path at the top
    (X) #23  09/07/19  key combination rAr does not work
    (X) #27  09/07/20  @marked is sometimes reset without a reason
-   ( ) #30  09/10/11  key combo [gfm] does weird things
+   (X) #30  09/10/11  key combo [gfm] does weird things
    ( ) #31  09/07/29  sometimes the dir is refreshed incompletely
    ( ) #32  09/07/29  keep the cursor on the same file after refreshing
 
diff --git a/code/search.rb b/code/search.rb
index 27ea4044..7d12155c 100644
--- a/code/search.rb
+++ b/code/search.rb
@@ -19,7 +19,7 @@ module Fm
 		'm' => :mtime,
 		'c' => :ctime,
 	}
-	FIND_KEY_REGEXP = /f([#{ FIND_PROPERTIES.keys.join("") }])/
+	FIND_KEY_REGEXP = /^f([#{ FIND_PROPERTIES.keys.join("") }])$/
 	
 	def quicksearch(n)
 		case Option.search_method