Bryan
03c66101c9
Change rename notification to indicate method used (git or fs)
2024-11-01 23:15:48 -06:00
Bryan
c7629620a5
If file is managed by git then rename using git-mv instead of filesystem mv
2024-11-01 22:32:02 -06:00
Chris Grieser
081b0c13cf
fix(trashCmd): handle unknown operating system
2024-10-28 20:10:06 +01:00
Chris Grieser
e04857f290
improv(trashCmd): use `jit.os` to detect OS
2024-10-26 14:48:55 +02:00
Chris Grieser
ed3c34d1e4
fix: consistent use of sentence case in prompt texts
2024-10-21 20:16:10 +02:00
Chris Grieser
8df00d9ec0
fix(backdrop): place above scrollbars
2024-07-27 13:17:46 +02:00
Chris Grieser
07ea6edb98
fix: backdrop autocmds
2024-06-20 21:15:27 +02:00
Chris Grieser
4bfd8aec89
refactor: `trashCmd` config
2024-06-20 21:07:05 +02:00
Chris Grieser
f1e824e163
feat: add backdrop to modals
2024-06-20 20:58:46 +02:00
chrisgrieser
101f82f9b2
style: auto-format with stylua
2024-06-20 18:37:26 +00:00
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
chrisgrieser
6ea8fe8462
style: auto-format with stylua
2024-06-19 10:45:00 +00: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
e232b01195
fix: lsp-renaming support detection
2024-05-20 12:02:10 +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
Chris Grieser
dbc30b7122
refactor!: use updated nvim APIs. From now on requires nvim 0.10
2024-05-19 23:14:26 +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
Steven Xu
ef72935e7c
feat: try to rename first to preserve metadata
2023-12-31 12:53:53 +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