Commit Graph

65 Commits (e22103657655be81bf05ffe503afb3c00ca89336)

Author SHA1 Message Date
Steven Xu e221036576 feat: move a file to a new directory with its existing name, closes #35 2023-12-29 15:55:24 +01:00
Chris Grieser 1bfa9a697a chore: fix grammar in notification 2023-12-25 14:43:05 +01:00
Chris Grieser c75cda23a0 refactor: rename files & clearer prompt labels 2023-12-20 14:02:13 +01:00
pseudometa 68149dd659 fix: lsp-renaming notification 2023-10-07 13:23:41 +02:00
pseudometa 9f83085431 fix: lsp-renaming support check on nvim stable 2023-10-07 13:23:41 +02:00
pseudometa 86ef89d3c7 chore: prompt wording 2023-10-07 13:23:41 +02:00
pseudometa c41558eb13 chore: add annotations 2023-10-07 12:39:08 +02:00
Oliver Jan Krylow ec447d08d9
feat: renaming commands support LSP's `workspace/willRenameFiles` (#33) 2023-10-06 17:57:21 +02:00
Alexander Gehrke 7ef0c17b2f fix: make :Trash and :Move work across filesystems 2023-09-18 16:58:45 +02:00
Scott Zhu Reeves 78a0d356ed fix: ensure input prompt is cleared
Fixes: #25
2023-09-10 06:05:46 -04:00
pseudometa 4c009f7b3e refactor: some cleanups 2023-09-09 23:52:04 +02:00
pseudometa 1a39187841 Revert "Merge pull request #30 from BeauSLM/fix_directory_behaviors"
This reverts commit dd5bc12769, reversing
changes made to 683b422944.
2023-09-09 23:38:44 +02:00
Beau McCartney 231a9da8f3 fix: correctly parse the directory of a given path to a file
The previous `gsub` call would blow away everything after and including
the first '/' in the pathname, including other slashes.

Fortunately, the neovim api provides a way to get the parent directory
of a given path, which I've used instead.
2023-09-09 13:05:57 -06:00
Beau McCartney b46b5c33cb use $PWD instead of directory of current file 2023-09-09 13:05:57 -06:00
pseudometa ef591fa943
Merge pull request #27 from ofirgall/config/always_systemclipboard 2023-09-05 10:52:51 +02:00
Ofir Gal a36ad301a5 add config var to always use system clipboard 2023-09-05 11:12:46 +03:00
Ofir Gal 45da137f2f add copy operations for relative path and directory path 2023-09-05 11:03:29 +03:00
pseudometa 59945bc1c9 improv: make better use of `vim.notify` 2023-09-04 02:05:49 +02:00
Luca Saccarola 29bd36d36e chore: minor migration to the latest functions 2023-07-04 17:09:04 +02:00
Luca Saccarola 274f1abdfd feat: make trash command more robust 2023-07-02 21:22:41 +02:00
Alexander Gehrke b64f6528dd Make trash command more robust
Errors occurred, when the trash dir doesn't exist or is on another
filesystem. The latter is inherent to os.rename, so it is replaced by
writing a copy and then removing.
2023-06-27 12:40:44 +02:00
Alexander Gehrke 993fce509a Fix capitalization of Trash dir on linux 2023-06-27 12:40:29 +02:00
Luca Saccarola ac3400026e feat: adding editorconfig 2023-06-25 00:46:06 +02:00
pseudometa 232653439d
chore: shorten copy confirmation msg 2023-06-23 11:03:03 +02:00
Luca Saccarola 80b1fd592a fix: make copy filename command oneline 2023-06-10 18:06:01 +02:00
Zheng Piaodan 1b842a45ad feat: keep window layout when Trash/Duplicate file
bufdelete.nvim can delete buffer without closing current window. It
would be helpful to support it.
2023-04-04 09:30:40 +08:00
pseudometa 67b663daa0 fix: new file w/o input uses "Untitled" as name 2023-03-27 12:45:23 +02:00
pseudometa b6056e5dee refactor: filename validation 2023-03-27 12:43:42 +02:00
pseudometa 383807b237 fix: renaming when buffer directory is not cwd 2023-03-17 11:53:34 +01:00
pseudometa 4fb59d5d60 style: ran linting 2023-03-17 11:30:53 +01:00
saccarosium 2c4a7409c6 feat: update buffer after chmodx 2023-03-14 16:31:46 +01:00
pseudometa 60b9189fe9 fix: abort when file alrdy exists (all file ops) 2023-02-22 17:50:25 +01:00
pseudometa 9df5139837 chore 2023-02-22 17:00:04 +01:00
pseudometa bfdf543ca6 fix: renaming ops will not override existing file 2023-02-22 16:56:55 +01:00
pseudometa 138203c87b fix: operation system detection (trash command) 2023-02-22 16:50:36 +01:00
pseudometa 3ead1e4086 feat!: on macos, consider iCloud trash 2023-02-22 15:28:06 +01:00
saccarosium 4a09d023c8 fix: trash command not working 2023-02-06 06:17:08 +01:00
saccarosium ff3bb9bc50 feat: using The FreeDesktop.org Trash specification on Linux 2023-02-05 16:50:36 +01:00
pseudometa 9dc1ab2cb8 patch 2022-12-19 13:31:10 +01:00
pseudometa 1a4a3602a8 added info on new functionality to README 2022-12-18 23:40:42 +01:00
pseudometa 468a2a65f1 feat: move-renaming files (#4) 2022-12-18 23:10:06 +01:00
pseudometa 0e30993386 patch 2022-12-13 14:11:37 +01:00
pseudometa 2dfa7b91e7 support dressing+cmp-omni combo for completion 2022-12-13 13:52:07 +01:00
pseudometa fdd5ed0248 added confirming notice for chmodx 2022-12-12 18:16:51 +01:00
pseudometa 0f6eac936b refactor 2022-12-12 15:59:55 +01:00
pseudometa 5f1a0930cc fix: notification padding 2022-12-12 13:16:08 +01:00
pseudometa e362d228d6 refactor 2022-12-12 11:20:48 +01:00
pseudometa 15efe61d00 refactor 2022-12-12 11:19:34 +01:00
pseudometa 39187dee12 prefill old name when duplicating or renaming 2022-12-08 17:33:04 +01:00
pseudometa 54a121ac11 use bwipeout instead of bdelete 2022-12-06 23:12:06 +01:00