Commit Graph

32 Commits (main)

Author SHA1 Message Date
Chris Grieser 48f8ec0261 refactor!: all ex-commands now accessed as sub-commands of `:Genghis` 2024-06-20 20:36:46 +02:00
Chris Grieser a788d44c97 refactor: `chmodx` and `trashFile` as separate module 2024-06-20 20:15:01 +02:00
Chris Grieser 41463d4eb0 refactor!: the `trashCmd` for `.trashFile()` now set via `setup` call 2024-06-20 20:08:02 +02:00
Chris Grieser ad0830b013 refactor: module structure 2024-06-20 20:08:02 +02:00
Chris Grieser dda24ddca2 improv: path-copying commands now always copy to system clipboard 2024-06-19 12:44:45 +02:00
Chris Grieser e4bb1a3a53 improv: use `vim.uv` for os-detection 2024-05-21 14:27:48 +02:00
Chris Grieser 7dabb8b0f5 fix(trashFile): use non-async process & fix buffer deletion 2024-05-20 23:20:29 +02:00
Chris Grieser e18bffba84 chore: update `vim.loop` to `vim.uv` 2024-05-20 12:02:10 +02:00
Chris Grieser 7f0e1dce80 chore: add version requirement check 2024-05-20 11:45:46 +02:00
Chris Grieser cd02e898eb refactor: `trashFile` uses new nvim API 2024-05-20 11:37:24 +02:00
ryankav e7d756970c
fix: moveToFolderInCwd when cwd in hidden folder (#47)
When trying to move a folder in cwd the current implementation uses the full
file path. As a consequence if you're cwd is a hidden folder or a descendant
of a hidden folder then no options would display.

Proposed solution now is only search for the ignored options in the path
relative to the cwd. That way the currently ignored options are scoped by
the cwd.
2024-04-21 18:22:45 +02:00
Chris Grieser 1e6855be88 improv: moving in cwd with lsp renaming also writes all buffers 2024-04-17 12:25:07 +02:00
Chris Grieser 9f012dba12 improv: save all buffers after lsp-renaming 2024-04-17 12:04:46 +02:00
Chris Grieser 6c9a0ac2ec fix(moveToFolderInCwd): ignore hidden folders 2024-02-27 22:09:11 +01:00
Chris Grieser edc6365131 fix: use os-specific path separators instead of `/` 2024-02-16 11:23:56 +01:00
Chris Grieser 3e22df4eb3 fix(moveToFolderInCwd): error in notification 2024-02-15 14:28:40 +01:00
Chris Grieser 357bc2688d refactor(moveToFolderInCwd): re-organize 2024-02-11 16:28:13 +01:00
Chris Grieser b84accba4c fix(moveToFolderInCwd): add cwd itself also to the list of folders 2024-02-11 15:54:19 +01:00
Chris Grieser d057d47164 feat: `:CopyFilepathWithTilde` (#34) 2024-02-10 20:41:49 +01:00
Chris Grieser 497e6f45fb improv(moveToFolderInCwd): initially sort by mtime 2024-02-10 20:29:57 +01:00
Chris Grieser 47863d8acb fix(moveToFolderInCwd): typo in notification 2024-02-10 20:20:05 +01:00
Chris Grieser 07088c3d84 fix(moveToFolderInCwd): ignore current folder of file 2024-02-10 20:14:55 +01:00
Chris Grieser 4269605b1f fix(moveToFolderInCwd): fix ignoring logic 2024-02-05 15:41:47 +01:00
Chris Grieser 10eda9de26 improv(moveToFolderInCwd): better notif & exclude node modules 2024-02-05 15:37:15 +01:00
Chris Grieser bdd2c44031 refactor: cleanup of file movement operations 2024-02-03 15:51:14 +01:00
Chris Grieser ae0808bed6 feat: `moveToFolderInCwd` command (offers folder selection) 2024-02-03 14:19:01 +01:00
Ralf Schmitz Bongiolo 3dd0e64e68 fix: OS detection when using vim.fn.has 2024-01-03 00:16:24 +01:00
Chris Grieser 9cbd4eec84 break(trashFile)!: use CLIs instead of moving to trash (req. install) 2024-01-01 16:49:14 +01:00
Steven Xu 50bc0cce60 fix: trash in *Linux* using a trash command, fixes #37 2024-01-01 16:21:54 +01:00
Chris Grieser d2f85f3e7d refactor: code cleanup 2023-12-30 13:10:39 +01:00
Chris Grieser 0b71c9c21f refactor: update funcs from `vim.fn` to `vim.api` 2023-12-30 13:06:30 +01:00
Chris Grieser e9868e9780 refactor: modularized into separate files 2023-12-30 12:55:51 +01:00