Skip to content

Commit

Permalink
:edit #
Browse files Browse the repository at this point in the history
  • Loading branch information
nakagami committed Aug 12, 2024
1 parent 7a6e2d4 commit 82e24f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyvim/commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ def buffer_edit(editor, location, force=False):
else:
eb.reload()
else:
if len(editor.location_history) > 1:
location = location.replace("#", editor.location_history[-2])
editor.file_explorer = ''
editor.window_arrangement.open_buffer(location, show_in_current_window=True)

Expand Down

0 comments on commit 82e24f7

Please sign in to comment.