Files
telekasten.nvim/lua/telekasten.lua
Rene Schallner 85beeb0038 refactored to single function style, improved find_files_sorted() with devicons and shebangs
-- find_files_sorted(opts)
-- like builtin.find_files, but:
--     - uses plenary.scan_dir synchronously instead of external jobs
--     - pre-sorts the file list in descending order (nice for dates, most recent first)
--     - (also supports devicons)
--     - displays subdirs if necessary
--         - e.g. when searching for daily notes, no subdirs are displayed
--         - but when entering a date in find_notes, the daily/ and weekly/ subdirs are displayed
2021-11-30 03:30:48 +01:00

22 KiB