v1.2.2
New Features
Elastic Tabstops
wsedit
now supports Elastic Tabstops as introduced on
http://nickgravgaard.com/elastic-tabstops/ . Enable via -el
. The feature is
still somewhat experimental and performance can be inconsistent.
Packaging Changes
These changes should make packaging wsedit
a lot easier than it used to be.
Adjusted build flags, added new development build flag
-
By default,
wsedit
will no longer be compiled using-Werror
. This should
increase compiler compatibility both forwards and backwards. -
Debugging functions will no longer be compiled in by default. Therefore, the
time
package is no longer required. -
Passing
--flag wsedit:dev
to stack will produce a development build. This:- enables
-Werror
- disables
-O2
to speed up recompilations - creates a separate executable called
wsed-dev
- enables debugging functions
- pulls in
time
again - sets the badge text to "!!! DEVELOPMENT BUILD !!!"
- enables
Additional, system-wide config location
Placing files into /etc/wsedit/
will also work now. I've also added a
primitive install_lang.sh
that takes care of that automatically while
complying to the $DESTDIR
convention.
Fixes
- Fixed another instance of the viewport not following the cursor correctly.
- Fixed a config parse error with paths containing subdirectories.
- Made it possible to include escaped quotes inside quoted options, e.g.
-lk "this\"is\"stupid\"but\"works\"now"
Other Changes
- Local config files are now parsed independently of the working directory:
Starting from the file system root ("/"), check for a ".local.wsconf" file,
parse it if possible, descend into the folder leading to the opened file.
Repeat for every folder along the way. - Due to this, the way file matching works has been adjusted. If no path prefix
is given, only the file name portion will be matched. Otherwise, the full path
is matched. Relative paths are relative to the parent folder of the config
file containing them, or to the current working directory if given via
command-line argument. For examples, seewsed -hc
. - Improved the text rendering algorithm for
-h*
. It now prioritizes small
words instead of large ones for additional padding. - Moved the "crash editor" keybind from
Alt-.
toF11
since Alt and "."
are right next to each other on some keyboards. - When opening the file at a specific line, the viewport will be placed so that
the target line is at 1/3 of the visible area instead of the bottom. - I've changed my first name, email address and GitHub account name. Due to
that, the repository url also changed. It is now
https://github.com/LadyBoonami/wsedit
.