Alexander Courtis
e282420111
fix( #1564 ): reset &bufhidden when opening an existing (maybe previewed) buffer ( #1573 )
2022-09-05 10:10:58 +10:00
Krzysztof Cieśla
d753a1da9a
fix(view): file filter and info popup above floating view
...
Co-authored-by: Krzysztof Cieśla <krzysztof.marcin.ciesla@cern.ch >
2022-09-03 14:29:18 +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
Alexander Courtis
261a5c380c
fix( #1480 ): break symlink cycle on find-file, search-node ( #1482 )
...
* fix(#1480 ): break symlink cycle on find-file
* fix(#1480 ): break symlink cycle on search-node
* fix(#1480 ): break symlink cycle on search-node
* fix(#1480 ): break symlink cycle on find-file
2022-08-08 12:46:09 +10:00
Hoang Nguyen
a73d0d4800
feat(file-popup): add actions.file_popup.open_win_config
...
* file-popup: add nvim_open_win configuration
* docs: update file-popup configuration
2022-08-08 10:52:14 +10:00
Krzysztof Cieśla
7323c81bd6
feat(view): Floating nvim tree window #1377 ( #1462 )
...
* Simple mock-up of floating nvim-tree window
* Passing whole table to nvim_open_win()
* Run update-help.sh
* Use vim.api alias
* Add comment to float options
* Added `anchor` to float options
* Enabling float window enforces `actions.open_file.quit_on_open`
* Added documentation
* add view.float.open_win_config, skipping validation
* Made nvim-tree window closes when float is enabled
* Close nvim-tree window when out of focus
* Update help
Co-authored-by: Krzysztof Cieśla <krzysztof.marcin.ciesla@cern.ch >
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-08-06 15:40:07 +10:00
Alexander Courtis
cfc4692a3f
fix( #1479 ): apply remove_keymaps to default mappings
2022-08-02 09:29:57 +10:00
Kian-Meng Ang
2928f8fe31
fix(docs): typos ( #1470 )
2022-07-27 13:48:14 +02: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
Kiyan
64cc3c17e1
feat(mapping): deprecate user mappings and add on_attach ( #1424 )
2022-07-26 11:09:39 +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
2edbe759cd
fix(open-file): vim.op -> vim.opt
2022-07-18 15:44:52 +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
1b667bc99e
feat(search-node): use vim.ui.input
2022-07-18 14:20:55 +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
4900d66370
fix(open-file): focus file if already opened
2022-07-16 15:38:50 +02:00
Kiyan
89becc7604
feat(marks): add navigation (next, previous, select) ( #1415 )
2022-07-16 10:40:47 +02:00
Kiyan
b32c88333f
feat(movement): allow circular movement for sibling next and prev ( #1416 )
2022-07-16 10:39:24 +02:00
kiyan
80dc86e874
refactor(actions): use vim.keymap.set/del
2022-07-14 09:57:37 +02:00
kiyan
0f96e32326
fix(actions): dispatching filter should not match for "live" keyword
...
fixes #1420
2022-07-12 10:16:01 +02:00
kiyan
078a9e5bf9
chore: move focus_file to utils
2022-07-11 16:55:33 +02:00
Kiyan
df92f1527f
feat(bookmarks): add bookmark feature ( #1412 )
2022-07-11 10:00:12 +02:00
kiyan
0fa2ec1950
fix(actions): create file should defer more to focus
2022-07-11 09:49:10 +02:00
kiyan
8d0c93db4a
refactor(collapse-all): extract buffer matching logic
2022-07-10 10:03:48 +02:00
kiyan
2d2cbe63f4
refactor(actions): split movements into multiple modules
2022-07-10 09:53:58 +02:00
Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00
kiyan
95c57e034a
fix(dispatch): dispatch help toggle when its not shown
...
fixes #1411
2022-07-09 14:42:14 +02:00
kiyan
c037c7ae84
refactor(change-dir): add profile from higher order function
2022-07-09 12:14:41 +02:00
kiyan
1e7019f91e
refactor(dispatch): cleanup dispatch logic
2022-07-09 12:09:51 +02:00
kiyan
63831d5179
refactor(actions): move on_keypress to dispatch module
2022-07-09 11:43:58 +02:00
kiyan
9d3602e8ea
fix(find-file): do not recurse on closed nodes
2022-07-06 13:52:36 +02:00
kiyan
eb6dde4733
fix(change-dir): cd command concatenation
2022-07-06 09:06:29 +02:00
Rammiah
269820e800
fix(actions): change_dir to wrong directory ( #1398 )
2022-07-05 19:29:15 +02:00
Kiyan
f43b8af8f4
chore(iterators): create Iterator module and migrate iterators to use it ( #1392 )
2022-07-04 14:13:14 +02:00
kiyan
19dcacf06e
chore: cleanup change dir module
2022-07-03 12:41:13 +02:00
Alexander Courtis
80d4f28383
feat( #1245 ): add next_diag_item and prev_diag_item actions
2022-07-03 16:04:49 +10:00
Krasimir Zahariev
21516f447b
feat(actions): expand_all 'exclude' option ( #1388 )
2022-07-02 18:17:39 +02:00
kiyan
cbbc799e6c
fix(trash): do not run trash command when trash is not executable
2022-07-02 12:08:46 +02:00
Rammiah
ec09b80c7b
fix(actions): close_node doesn't close for grouped node ( #1385 )
2022-07-01 15:49:31 +02:00
Alexander Courtis
72858986f9
fix( #1366 ): warn when trash cmd missing ( #1378 )
2022-06-28 18:29:42 +02:00
Kiyan
e6c1b4cd5b
chore(setup): make setup idempotent ( #1340 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-06-26 12:14:03 +02:00