about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-17 23:11:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-17 23:11:23 -0700
commit56cdf607edb25230d48b4c7899e95f385ffeacc5 (patch)
tree414cc7814835dc597ff0cf0d6592ec9d16fafd77
parentb00232e01adfbb27f8ce7642dae726e167cd90d1 (diff)
downloadview.love-56cdf607edb25230d48b4c7899e95f385ffeacc5.tar.gz
easy way to make file switching more convenient
In the fullness of time, I'll want to remember previous file, type to
filter, etc. But for now just don't forget where you were. This is
helpful because I'm often working on either the run side or the source
side, and just starting out on the right side shaves off a lot of
keypresses.
-rw-r--r--source.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/source.lua b/source.lua
index 70b0814..5b92d1e 100644
--- a/source.lua
+++ b/source.lua
@@ -343,7 +343,6 @@ function source.keychord_pressed(chord, key)
   end
   if chord == 'C-g' then
     Show_file_navigator = true
-    File_navigation.index = 1
     return
   end
   if Focus == 'edit' then