Alexander Courtis
7e892767bd
Revert "fix( #1716 ): focus file/directory when created in a sub-directory, don't dispatch FolderCreated on file creation ( #1722 )"
...
This reverts commit bdc4ec6abd .
2022-11-06 13:32:24 +11:00
Alexander Courtis
8cc369695b
fix: replace vim.* "requires" with explicit calls to vim functions ( #1701 )
2022-11-06 10:37:33 +11:00
Alexander Courtis
bdc4ec6abd
fix( #1716 ): focus file/directory when created in a sub-directory, don't dispatch FolderCreated on file creation ( #1722 )
...
* fix(#1716 ): focus file/directory when created in a sub-directory, don't dispatch FolderCreated on file creation
* fix(#1716 ): focus file/directory when created in a sub-directory
* fix(#1716 ): focus file/directory when created in a sub-directory
2022-11-06 10:08:32 +11:00
kylo252
6ca6f99e76
feat(notify): add notify.threshold ( #1693 )
...
* feat: configurable notification level
add `notify.threshold` to setup opts
* feat: configurable notification level: add threshold example doc
* feat: configurable notification level: log always comes last
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-11-01 10:24:40 +11:00
wyrid
cbb5313f90
feat(api): add api.fs.clear_clipboard ( #1706 )
...
* feat: command to clear the clipboard
* feat: command to clear the clipboard: stylua
* feat: command to clear the clipboard: add to :help
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-10-31 15:48:05 +11:00
kiyan
3d58a9b2cf
fix(fs): create file failure when reloading watch path for node
...
because node can be a file or a symlink.
fixes #1633
2022-10-08 16:11:34 +02:00
Alexander Courtis
be2b4f58e6
fix( #1615 ): focus created file when command line prompt requires confirmation ( #1622 )
...
* fix(#1615 ): focus created file when command line prompt requires confirmation
* fix(#1615 ): focus created file when command line prompt requires confirmation
2022-10-08 14:26:31 +11:00
Alexander Courtis
ac8d259bad
fix(prompt): add select_prompts to suit UI decorator plugins such as dressing and telescope
2022-09-22 13:23:49 +10:00
Krzysztof Cieśla
07f59e7450
fix( #1539 ): Fix closing nvim-tree float when file is removed ( #1546 )
...
* Fix closing nvim-tree float when file is removed
* Revert changes for non-float
Co-authored-by: Krzysztof Cieśla <krzysztof.marcin.ciesla@cern.ch >
2022-08-30 08:47:13 +10:00
Carlos Castillo
b314b3a699
fix( #1500 ): focusing directories with a trailing slash in their path doesn't work ( #1501 )
2022-08-14 15:00:04 +10:00
kiyan
e632ac7c81
fix(create-file): when node is nil, create the file at root
...
fixes #1467
2022-07-27 09:33:01 +02:00
John Fred Fadrigalan
d927e89aa9
refactor(actions): remove linefeed on info messages. ( #1450 )
2022-07-22 10:10:58 +02:00
kiyan
8dc2144e87
refactor: use vim.ui.input for y/n selections
...
also add clear_prompt again.
fixes #1441
2022-07-19 11:31:09 +02:00
kiyan
ba5c18dc2b
feat: add confirmation kind to select y/n
2022-07-18 14:38:32 +02:00
kiyan
1018a83e10
fix(create-file): pass file in parameter
2022-07-18 14:34:10 +02:00
kiyan
1ee6a3ea65
feat(create-file): use vim.ui.select for confirmation
...
fixes #1434
fixes #1294
2022-07-18 14:32:19 +02:00
kiyan
2d629cab78
feat(remove-file): use vim.ui.select
2022-07-18 14:28:08 +02:00
kiyan
7cffe14743
feat(trash): use vim.ui.select for confirmation
2022-07-18 14:25:52 +02:00
kiyan
69aec67edb
feat(copy-paste): use vim.ui from prompting
2022-07-18 14:17:25 +02:00
kiyan
18447132fc
feat(notify): switch all print/nvim_*write statements to utils.notify
2022-07-18 14:04:48 +02:00
kiyan
21fadc1f38
chore: move nvim-tree.utils.warn -> notify.warn
...
add notify.error and notify.info
2022-07-18 13:46:11 +02:00
Kiyan
26512c369f
feat(marks): add bulk move action ( #1419 )
2022-07-17 08:25:11 +02:00
kiyan
078a9e5bf9
chore: move focus_file to utils
2022-07-11 16:55:33 +02:00
kiyan
0fa2ec1950
fix(actions): create file should defer more to focus
2022-07-11 09:49:10 +02:00
Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00