Skip to content

Releases: kivattt/fen

v1.7.18

23 Nov 01:46
Compare
Choose a tag to compare
  • Exit with exit code 2 for invalid command-line arguments, was previously 0

v1.7.17

23 Nov 01:27
Compare
Choose a tag to compare
  • Added option --close-on-escape, it is fen.close_on_escape in config.lua
  • Added missing description in --help for --hidden-files

v1.7.16

15 Nov 02:00
6f188d0
Compare
Choose a tag to compare
  • Folder file counts are now cached, improving performance
  • Added a "Can't rename with an empty name" error message
  • markdown.lua file preview script: Fixed the position of list characters when there's preceding whitespace

v1.7.15

10 Nov 00:31
f0f3b21
Compare
Choose a tag to compare
  • Fixed a crash when deleting multiple files

v1.7.14

09 Nov 00:24
a1cb11f
Compare
Choose a tag to compare
  • Added an options menu, open with the o key
  • No longer unnecessarily updates the screen when scrolling up/down when already at the top/bottom of the screen respectively
  • The red text in the file preview default blocklist message is now word-wrapped
  • go.mod.lua file preview script: Directives are colored orange, now colors all directives

v1.7.13

07 Nov 15:00
558ac3e
Compare
Choose a tag to compare
  • Mouse right-click now behaves the same as left-click
  • Ctrl+Right can now take you to the target path of symlinks
  • On Linux/FreeBSD, hovering over the top bar when --no-write is enabled now shows a "Copying unavailable" message
  • The "->" text indicating symlinks in file panes no longer disappears when its size is unknown

fen.git_status = true changes:

  • Fixed a bug introduced in release v1.7.11 where Ctrl+Right considered folders changed files, making it sometimes not select an unchanged file
  • Fixed a bug introduced in release v1.7.11 where sometimes only the parent folder of a changed file would be shown in red

v1.7.12

05 Nov 10:34
d3592e9
Compare
Choose a tag to compare
  • Fixed a bug where fen.config_path in config.lua and fen.ConfigPath in file open scripts would not respect the --config command-line flag
  • Improved installation instructions in the README

Lua file preview script changes:

  • Added a .gitignore file preview script gitignore.lua
  • go.mod.lua Comments are now colored teal
  • go.mod.lua has less distracting colors
  • markdown.lua Fixed a bug where backtick strings would not stop at the end of lines with a trailing backslash

v1.7.11

02 Nov 19:30
d70e0a5
Compare
Choose a tag to compare
  • Fixed a bug on Windows where creating a new file would not close the handle, meaning it was impossible to delete while fen is open
  • Fixed a bug on FreeBSD where the right pane would show "empty" when going to the left after making a new file
  • F5 key now refreshes files, syncs the screen and then refreshes Git status if fen.git_status = true
  • markdown.lua file preview now supports thematic breaks and * character for list items

fen.ui_borders = true changes:

  • Git repositories now have a blue border and show the name of the root repository folder
  • Fixed the edge characters showing as ? on FreeBSD by using square edge characters
  • Fixed a bug where printed escaped Unicode characters would draw over the border

fen.git_status = true changes:

  • Fixed a performance issue introduced in v1.7.9 related to coloring folders containing unstaged/untracked files
  • Automatically refreshes the Git status when git add or git revoke is ran by watching the .git/index file in the current Git repository
  • Added a "Refreshing Git status..." message in the top-right while refreshing a Git repository
  • (Doesn't apply to FreeBSD) Reduced CPU usage by not refreshing the Git status when scrolling through files (not folders)

v1.7.10

01 Nov 16:03
3cfaf38
Compare
Choose a tag to compare
  • Added b key to bulk-rename files in $EDITOR (only notepad on Windows)
  • Messages shown in the bottom bar now only disappear on key press/mouse click or scroll
  • fen.ui_borders = true now looks better, the file panes now use all screen space and file previews don't escape the border anymore
  • Fixed a navigation bug where renaming a file, then pressing left would not remember where you were
  • Fixed a bug where filesystem events would not be sorted correctly with some fen.sort_by options
  • Fixed a bug where unstaged/untracked files weren't yellow when selected
  • Making a new file/folder stops selecting with V
  • Going to a bookmark stops selecting with V
  • Renaming a file stops selecting with V
  • Any navigation (like Ctrl+Left) using fen.GoPath() now stops selecting with V when it changes the working directory
  • Added error message when renaming with 'a' fails

v1.7.9

29 Oct 01:49
daef94b
Compare
Choose a tag to compare
  • The D key now first deselects files, re-press it to un-yank
  • Fixed Ctrl+Left going to the root path not working correctly on Windows
  • The Ctrl+Left key now goes to the root path of the current Git repository when fen.git_status = true
  • The Ctrl+Right key now goes to the first unstaged/untracked file in a folder when fen.git_status = true
  • Fixed --sort-reverse not working with certain --sort-by values
  • Added a default file preview blocklist for common sensitive files (*.key files, FileZilla credentials etc.), set fen.preview_safety_blocklist = false to disable
  • Folders containing unstaged/untracked files are now shown in red when fen.git_status = true
  • fen --select now works with symlinks
  • Lua file preview errors now clear the preview area before showing the error message
  • markdown.lua file preview: Background of codeblocks now extend to the screen width, trailing backslashes are hidden, and escaped characters don't show a backslash
  • Added a Lua file preview script for go.mod files