Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vifm/vifm

Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
https://github.com/vifm/vifm

Fix displaying empty matches of menu items.

Empty matches at the start/end caused <<< or >>> to appear.

088c38e2be0ae8b573fb157f9175f59a047733e3 authored almost 3 years ago by xaizek <[email protected]>
Fix search highlighting in menus on hor. scrolling

Prefix scrolled off the viewport needs to contain bytes where it's not
one-to-one correspondence...

86a785c38a6b0f4bcdd6e6c60a62990d3f1d3bc8 authored almost 3 years ago by xaizek <[email protected]>
Move compat/wcwidth.c:bisearch() to utils/utils.c

It's useful for future code common to all platforms.

fee76aac005a77ba68a614a563d0a9e89ad114ef authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'cfg-paths-in-docs'

Update config paths in vifm-app.txt and vifm.1

Patches by nobodyatandnothing.

Update vifm-conv...

3616fc926105b91217fb4a9be83f501acaa814c8 authored almost 3 years ago by xaizek <[email protected]>
Update config paths in vifm-app.txt

68e7a21bc16024193c40b9ad8316049fbe9e8823 authored almost 3 years ago by xaizek <[email protected]>
Update config paths in vifm.1

Closes #779 on GitHub.

e552e3beef924d830a44d07644a536a745468e13 authored almost 3 years ago by nobodyatandnothing <[email protected]>
Update vifm-convert-dircolors.1

f9e9f75cf2aa8b8d9ad4da3beb9f7ab3fd9c7d7d authored almost 3 years ago by nobodyatandnothing <[email protected]>
Merge branch 'editor-lua-handler'

Try several editors and then $EDITOR for 'vim' option in sample vifmrc
files.

Thanks to Janek (...

d6e185a8a723dd619afd0cef09cecbaf55e62cfa authored almost 3 years ago by xaizek <[email protected]>
Add sample plugin for customizing editor

6a64a7cd7729ad265b377ac520c8656de227c497 authored almost 3 years ago by xaizek <[email protected]>
Try to pick editor in sample vifmrc files

Try several editors and then $EDITOR for 'vim' option in sample vifmrc
files.

Thanks to Janek (...

9211599204a6d2eb3b3a855e92b86f870e1a06ff authored almost 3 years ago by xaizek <[email protected]>
Add vi[x]cmd Lua handler for edit-one action

This should complete support for customizing editors. However, need to
add more Lua API for run...

589f46a6353ceebbb9128ed9037eaceb19086768 authored almost 3 years ago by xaizek <[email protected]>
Add vi[x]cmd Lua handler for edit-many action

424d3f46161137268de27a7a9055c9b9c62cbef4 authored almost 3 years ago by xaizek <[email protected]>
Add vi[x]cmd Lua handler for open-help action

146e3ab6d80e1e9acf19bfa346dd6ed305fcb33b authored almost 3 years ago by xaizek <[email protected]>
Move one test to tests/commands/cpmv.c

From commands/misc.c.

53b8b2142785c7e5c23205149eac03ec5981619f authored almost 3 years ago by xaizek <[email protected]>
Add vi[x]cmd Lua handler for edit-list action

0065902fadaef6fa72dde4c4ae40b215a7f224cc authored almost 3 years ago by xaizek <[email protected]>
Improve setup/teardown in misc/fname_modif.c tests

It caused trouble for marks.c tests due to values not being nulled.

66207a625a7419bef721530acd17647a641339e0 authored almost 3 years ago by xaizek <[email protected]>
Implement Lua handlers for editor customization

f93156bbb76fe39b5a388f961a8a3b51c22e2eb6 authored almost 3 years ago by xaizek <[email protected]>
Remove extra `struct` keywords in lua/vlua.c

1e8c027345bc9a94a4111d50d3b02670093215b5 authored almost 3 years ago by xaizek <[email protected]>
Pass view_t to vim_edit_marking()

This way it doesn't depend on global variable curr_view.

4f31c88e6aab0c1d918014a3ade5805d6405653b authored almost 3 years ago by xaizek <[email protected]>
Rewrite vim_edit_marking to call vim_edit_files

This also gets rid of using macro expansion where it's not appropriate,
it actually caused troub...

23df2fcf4076cc14866644d411a8e8abebe81e7a authored almost 3 years ago by xaizek <[email protected]>
Describe handler details in *vifm-lua-handlers*

Rather than doing it at *vifm-l_vifm.addhandler()*.

27bf0c8f9866e9a4666b94fb677a7eb2fd4b7c6c authored almost 3 years ago by xaizek <[email protected]>
Move lua/{vifm_cmds => common}.c:push_str_array()

a8a113b89b96dab37ed6657b691aeb0ec84f2865 authored almost 3 years ago by xaizek <[email protected]>
Stylistic updates for lua/vifm_handlers unit

4341eb6b684f66fe84d948259170e78a5cb16210 authored almost 3 years ago by xaizek <[email protected]>
Add vifm.escape() Lua function

Escapes input to make it suitable for use in an external command for
current value of 'shell'.

f109b2ca970d66c940fb4a346a4fbb50144d70a2 authored almost 3 years ago by xaizek <[email protected]>
Make safe mode state recursive

Otherwise, we were in trouble at least when handler in a safe
environment called something that ...

c8f9fe6858fd7f8f7d49ea22f24219a54b7e106e authored almost 3 years ago by xaizek <[email protected]>
Fix indentation of vlua_state_proxy_call()'s body

8641868913bcfdf5bb5b96594330eb8087269068 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'fix-colon-dot-fnamemodif'

Fix :. incorrectly checking for one path being parent of another and
producing weird results ("/...

68cb1ec84d755564fc49ad2cac1c5d7453d923fe authored almost 3 years ago by xaizek <[email protected]>
Fix :. incorrectly checking paths relation

When it checked for one path being parent of another.
"/pa" was considered parent of "/path", wi...

0ef00f8a8144ea792609bf6f87688826eae0b2e3 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'extend-lua-keys'

Plugins
-------

* Allow keys defined in Lua accept selectors (e.g., "gg" or those
defined in ...

34f8c8b5636a5d16026eb3fcea39e151c70cb494 authored almost 3 years ago by xaizek <[email protected]>
Allow selectors and multikeys for Lua keys

1e1bfd7b492e439f1f4e845940330c17501326c5 authored almost 3 years ago by xaizek <[email protected]>
Fix foreign keys followed by selectors/multikey

Need to set correct type.

c020359ae28878b6dec7117ea3695ea314a146f5 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'lua-selectors'

Plugins
-------

* Allow implementing custom selectors in Lua. Can be combined with
any built...

6dd9900171982c0f9faf8f6b0bf5b6d44e6ec9b5 authored almost 3 years ago by xaizek <[email protected]>
Allow implementing custom selectors in Lua

Like "a" and "A" in "da", "dA".

66ce2c106af7e3146723f046b685ed6ef718f3fe authored almost 3 years ago by xaizek <[email protected]>
Test a case of prefix user key before its child

That is "a" before "ab", for example.

530c7445d4ea3e60e52fe4d994ee445278a2941a authored almost 3 years ago by xaizek <[email protected]>
Implement foreign selectors in engine/keys

be4762f3fbece785640584f6c12e6b5849747e66 authored almost 3 years ago by xaizek <[email protected]>
Extract engine/keys.c:remove_chunk() function

Out of vle_keys_user_remove() function.

8f543dc76b5fa6346bc4b41f3d5ba3e2da9b60bd authored almost 3 years ago by xaizek <[email protected]>
Generalize engine/keys.c:find_user_keys()

Now it's find_keys().

ce0bcfd048eedd764739af5e3d9f96bd7e3940f4 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'fix-lua-pipe-sigpipe'

Fix write to a pipe of a closed process in Lua causing SIGPIPE and
termination of the application.

e310709b91505350eaf161bb28a3fe9dc9eb77c1 authored almost 3 years ago by xaizek <[email protected]>
Fix write to a pipe of a closed process in Lua

It caused SIGPIPE and termination of the application.

2c20a9700749290ae44bfaeb5e04811b8f1704b8 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'cpmv-skip-param'

Add -skip parameter to :copy/:move/:alink/:rlink. Makes the commands
automatically skip files t...

bde46302ca4aa26ff28453ca2d6474de5568a0db authored almost 3 years ago by xaizek <[email protected]>
Fix broken link being treated as absent file

On copy/move background operation. This wasn't even testable without
-skip, so not much of a bug.

781985750af52df3497e5cdfdb67f2bab5880d3f authored almost 3 years ago by xaizek <[email protected]>
Add -skip parameter to :copy/:move/:alink/:rlink

Makes the commands automatically skip files that exist at destination
instead of refusing to pro...

9e3899712651c591e09ee7ce43a95c3127f55469 authored almost 3 years ago by xaizek <[email protected]>
Introduce CMLF_SKIP for cpmv operations

Skips paths that already exist at destination.

e1800d60dcd048416c842421a70693249b6705a4 authored almost 3 years ago by xaizek <[email protected]>
Make fops_cpmv_bg() accept multiple flags

Makes its interface more extensible.

06b5d6e3133f30576fa838ecc417bb3011d59575 authored almost 3 years ago by xaizek <[email protected]>
Make fops_cpmv() accept multiple flags

Makes its interface more extensible.

1de4ad196fa9e09d58fb70bd1223966fc2c5b41a authored almost 3 years ago by xaizek <[email protected]>
Fix losing visual mode selection on :cmd sequences

After executing two command-line commands where the first one enters
visual mode and the second ...

6862cd7c68393fbab09a57c473d56bc8040a349f authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'history-menu-fix'

Fix search and local filter values set from :history menu being split at
bar (|) and each piece ...

9562ec14a6bb010e3be964d1aa2629df92b254e5 authored almost 3 years ago by xaizek <[email protected]>
Complete 100% line coverage for menus_history.c

Might as well finish testing this unit while at it.

47ef4414de689be5f970e59360e326ea01ddee43 authored almost 3 years ago by xaizek <[email protected]>
Fix setting search and filter from :history

They were split at bar (|) and each piece applied in turn. Values
without | weren't affected by...

6df803b94904ec02b43b717f89b27bc7161fcf62 authored almost 3 years ago by xaizek <[email protected]>
Clear view_t::last_search in view_teardown()

This is in tests.

d73bff361eee6c2bcdd41d440a8f5dacf147db63 authored almost 3 years ago by xaizek <[email protected]>
Ignore hidden directories on loading plugins

Otherwise it attempts to load `.git` as a plugin and prints an errors on
statusbar. Maybe shoul...

888ce304250f8f3c47e2a0d7000daa87e166f279 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'add-keepsel-command'

Add :keepsel command. Changes default behaviour after running a
:command to not reset selection...

6420068b0050b98c0bc6b38c5f913181f827581c authored almost 3 years ago by xaizek <[email protected]>
Document that Ctrl+L reloads file lists

c42f31b266c0f5af23a9798a9db64a712f478511 authored almost 3 years ago by xaizek <[email protected]>
Add :keepsel command

Changes default behaviour after running a :command to not reset
selection of a view.

Thanks to ...

ef689c264f2346a18c027a9025c56eed1b7c0e78 authored almost 3 years ago by xaizek <[email protected]>
Extract tests/commands/cds.c unit

Out of tests/commands/misc.c which grows too large.

279ef221cae3739950a06409c3c39558509ebcbe authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'escaping-in-expand-part2'

Don't expand() macros in environment variables.

Fix expansion of non-existent environment varia...

257e97e0319ee0d32f848eaa76c85ddebad38a3f authored almost 3 years ago by xaizek <[email protected]>
Don't expand() macros in environment variables

E.g.

:let $foo = 'a%Za'
:echo expand('$foo')
aa

Otherwise, it's unnecessarily hard...

7deaeee15a1d21c56225fe5d43e507ed51ce5bba authored almost 3 years ago by filterfalse <[email protected]>
Fix expansion of non-existent environment variables

The dollar sign was being truncated during the process. E.g.

:unlet $foo
:echo expand(...

bec119a90188e11e17072574e3ce8d9fc1008574 authored almost 3 years ago by filterfalse <[email protected]>
Fix vifm.expand() requiring \ to be escaped twice

fcd12e6b3e11774736b4b9c957d62cb78279c494 authored almost 3 years ago by filterfalse <[email protected]>
Merge branch 'fix-mappings-with-selectors'

Fix assertion failure on processing mappings with RHS of the form
"{mapping with selector}{somet...

cd81d4736f78efcd6e0fccf302f4afee7b5ab0e8 authored almost 3 years ago by xaizek <[email protected]>
Fix assertion failure on processing some mappings

Those with RHS of the form "{mapping with selector}{something else}".

The issue was that "mappe...

3cdeaca3de962ba902f590e56424b88c5a5ed68a authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'escaping-in-expand'

Fix expand() builtin function requiring backslashes to be escaped
twice (once for environment va...

b197504dfe6b3575b994553634fff217a825824f authored almost 3 years ago by xaizek <[email protected]>
Fix expand() requiring \ to be escaped twice

Once for environment variable expansion and once for macro expansion.

This isn't convenient nor...

d6cb29a455288c7395837184a908e75ee9fbc5bf authored almost 3 years ago by xaizek <[email protected]>
Make expand_envvars() more tunable with flags

Split one flag into two independent ones. Having one was actually quite
confusing in the body o...

aaaca9fad715c76474d0acc7d0efdd562172e10f authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'expand-and-statusline'

Fix information about implicit file selection (count or ranges) being
lost due to the use of exp...

01bf615e74d4878dfd10ae9d54aa10d295e5c7cd authored almost 3 years ago by xaizek <[email protected]>
Fix a typo in fops_put.c:initiate_put_files()

5852e1ba6cad86e333079bd777b065f5c30ae660 authored almost 3 years ago by xaizek <[email protected]>
Fix implicit selection being lost (again)

356d95eb515cde7b12c (Fix issues with implicit file selection) was fixing
a problem demonstrated ...

b916be681f295f06962ee3dc835432b39e8219b6 authored almost 3 years ago by xaizek <[email protected]>
Don't reset marking when in dialog mode

Because it shouldn't be dealing with files and dropping marking breaks
operation we're in the mi...

e343d62b6f9add7968d9f91cfac79b061b4abb80 authored almost 3 years ago by xaizek <[email protected]>
Introduce for_op parameter to expand_macros_i()

This will allow using the function with and without side-effects to the
views' marking, which ca...

0eaa893434e274f7f0802054197b1a4176ab9518 authored almost 3 years ago by xaizek <[email protected]>
Pass entry iterator func to append_selected_files

This way caller can specify how to iterate over entries.

c89f81848b6b188230e6653f6cb53812533db77a authored almost 3 years ago by xaizek <[email protected]>
Fix `:compare listunique` not being symmetric

It yielded different results depending on which view is active due to
not processing bottom file...

4c358dc4b0095375feeccaa3913233816aa20256 authored almost 3 years ago by xaizek <[email protected]>
Check existence of alternate buffer for dir open

That is when replacing netrw.

Thanks to homie-desktop.

Fixes vifm/vifm.vim#77 on GitHub.

e8e5eee5b2f374541b27617bd1568af526493a6b authored almost 3 years ago by xaizek <[email protected]>
Fix error on returning to deleted file

69e652cb6b849c07c25076f52cb09686393e7e0b authored almost 3 years ago by Roger Bongers <[email protected]>
Merge branch 'lua-keys'

Plugins
-------

* Add vifm.keys table to Lua API

360d98a851e838efd0ab25f475c77181a2acad8c authored almost 3 years ago by xaizek <[email protected]>
Add vifm.keys table to Lua API

d4b956b2b17cee4389adc731266127522341c0ed authored almost 3 years ago by xaizek <[email protected]>
Pass user data to keys handler

f14a23f7194811bfea163945462dd53879c38471 authored almost 3 years ago by xaizek <[email protected]>
Introduce foreign keys into the engine

e841338878d386faacd4cf503915a12ac2ff1a24 authored almost 3 years ago by xaizek <[email protected]>
Build tests as a separate state in uncov-coverage

Tests' Makefile doesn't track dependencies perfectly when executed
by automake-generated Makefil...

e0fc5260b0c7129673af0ac65dcaef9c8acced7a authored almost 3 years ago by xaizek <[email protected]>
Extract MAX_LHS_LEN constant in engine/keys.h

692894feb82179b45a75a973f640fa5f7d9b9165 authored almost 3 years ago by xaizek <[email protected]>
Merge branch 'compare-on-conflict'

Add comparison action to conflict resolution dialog.

Thanks to anonymous at Vifm Q2A site and d...

3389c1981e5cc8732e0b3fbf494740471ee789b4 authored about 3 years ago by xaizek <[email protected]>
Add comparison to conflict resolution dialog

Thanks to anonymous at Vifm Q2A site and dalvand.

See
https://q2a.vifm.info/959/display-details...

9481e581b4144904235696e1b20adf13fd0a33e7 authored about 3 years ago by xaizek <[email protected]>
Move file_info.c:format_time() to utils unit

And rename to format_iso_time().

17890805ecdeb26b29de64d6f45ca03528bbf9d8 authored about 3 years ago by xaizek <[email protected]>
Merge branch 'add-pu-macro'

Add %pu macro that disables caching of viewer's output.

Thanks to b0x4it.

Document that <del> ...

77118402e826c2a61e581416857dde4f4eb3bda5 authored about 3 years ago by xaizek <[email protected]>
Add %pu macro for disabling preview caching

Thanks to b0x4it.

Closes #750 on GitHub.

3f41fc14ae9a4b3c9472e324c7449518dce02640 authored about 3 years ago by xaizek <[email protected]>
Document that <del> key might correspond to <bs>

Thanks to dalvand.

See https://q2a.vifm.info/996/map-backspace-to-move-up-a-level

725ba5f6e55067d98eefdd4c5e316d898c305448 authored about 3 years ago by xaizek <[email protected]>
Mention %r macro in sample vifmrc files

Thanks to J. Reis.

See https://q2a.vifm.info/1018/replicate-function-of-al-with-hard-link

62cd1900d8208bf760f28f744bbc71d45823f04c authored about 3 years ago by xaizek <[email protected]>
Merge branch 'fix-crash-on-startup'

Due to latest fix for --remote, which broke everything else...

076fc7659524ebe85bad46cc6f8649f192b0b386 authored about 3 years ago by xaizek <[email protected]>
Fix crash on startup

c91af02f8:

Fix --remote and --remote-expr failing w/o $TERM

Or rather if $TERM isn't v...

61301354ae4b831c73d47d6cfa3524d3d37ae1a6 authored about 3 years ago by xaizek <[email protected]>
Merge branch 'no-term-for-remote'

Fix --remote and --remote-expr failing if $TERM isn't valid (regression
in 0.11-beta).

Thanks t...

3fc2158168357cdd08d676683c45c929a5f28207 authored about 3 years ago by xaizek <[email protected]>
Fix --remote and --remote-expr failing w/o $TERM

Or rather if $TERM isn't valid.

Regression in 0.11-beta when default value of 'title' started t...

c91af02f8fa7628d97cf2712e8d30ae67a0ad96d authored about 3 years ago by xaizek <[email protected]>
Move IPC options into a separate group

4f273fca77bf070a2a0218a8214036a292a150bc authored about 3 years ago by xaizek <[email protected]>
Introduce args.h:ArgsSubset enumeration

e34f50cc46f9b9d8b60f59783f6e0fa6099ca6ba authored about 3 years ago by xaizek <[email protected]>
Work around an issue with :drop

Running `:drop x` in one of several `x` windows can move you into
another one of them, so avoid ...

d6dfd5c1c452aa8e5e2dd4788d9bca5bdd856131 authored about 3 years ago by xaizek <[email protected]>
Merge branch 'better-appimage'

Don't link with libmagic for AppImage. This fixes libmagic aborting the
application on systems ...

9008daab97feb73a33f2d80822327d67b842bc14 authored about 3 years ago by xaizek <[email protected]>
Build ncurses without gpm library for AppImage

`configure` checks started to fail because they don't add -ldl when
checking presence of wattr_s...

15122a576fa2b6af730416c74896173ea664423f authored about 3 years ago by xaizek <[email protected]>
Simplify AppRun file

Just using $APPDIR should be enough, no need to reinvent it.

752538e8d9e764a755403f3db2c55d19432b5e3f authored about 3 years ago by xaizek <[email protected]>
Don't link with libmagic for AppImage

The library causes trouble because it tries to use pre-compiled magic
data of unsupported versio...

d41395abb2452d68cac41a5c2be7cd4c304f6dc0 authored about 3 years ago by xaizek <[email protected]>
Merge branch 'tabs-in-lua'

Fix :goto command not positioning cursor correctly if provided on
command-line.

Thanks to Toan ...

bb72a2ee2c2ed637d1392cd55fe7899aa9b39c80 authored about 3 years ago by xaizek <[email protected]>
Start exposing tabs via Lua API

Introduce vifm.tabs table and VifmTab type with very basic functions.

c75fa65b0af75bb20373ac97b119b6b2e5d9022a authored about 3 years ago by xaizek <[email protected]>
Fix a typo in viefmview.c:vifmview_entry() comment

bdf6f6688036e29ee93b3320b896e88b0135b08e authored about 3 years ago by xaizek <[email protected]>