Alexander Courtis
33ce8e3c73
fix( #1711 ): open in a new window when no window picker and no available window ( #1715 )
2022-11-05 10:23:03 +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
Alexander Courtis
dd90bfa155
fix( #1671 ): split with no window picker will always find an available window ( #1677 )
2022-10-29 13:42:56 +11:00
Alexander Courtis
49c32c0dda
Revert "fix( #1676 ) case insensitive mapping key remove and override ( #1682 )"
...
This reverts commit 5a798b3be0 .
2022-10-25 08:00:17 +11:00
Alexander Courtis
5a798b3be0
fix( #1676 ) case insensitive mapping key remove and override ( #1682 )
...
* fix(#1676 ): remove_keymaps matches case insensitively
* fix(#1676 ): mappings.list.n.key matches case insensitively for overrides
2022-10-24 14:51:07 +11:00
Alexander Courtis
e94f517798
fix( #1675 ): open-file sanity check mode
2022-10-22 14:40:20 +11:00
Ali Almohaya
c995ce0878
fix( #1643 ): preview on floating window ( #1648 )
...
* fix: preview on floating window
* chore: redrawing the tree after setting current win
* chore: ignore winleave autocmd on preview action
* fix: typo in comment
* chore: call correct window id
* chore: revert changes in focus method
* chore: check if float window is enabled before ignoring WinLeave
2022-10-16 12:17:17 +11:00
Alexander Courtis
c4ac723a83
fix( #1626 ): obey splitright/below when splitting existing windows ( #1641 )
2022-10-15 10:22:03 +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
emmanueltouzery
79f631bc1d
feat(view): add float.quit_on_focus_loss, float respects actions.open_file.quit_on_open ( #1621 )
2022-10-08 14:35:20 +11: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
rapan931
45d386a359
fix: remove unnecessary conditions ( #1614 )
2022-09-30 13:37:31 +02:00
rapan931
11b524899f
fix: restore eventignore ( #1612 )
2022-09-29 13:55:24 +02:00
Alexander Courtis
fbd421da71
chore: remove non-functional sides bottom/top
2022-09-22 13:53:09 +10: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
Alexander Courtis
5cb87c037d
fix( #1553 ): set correct side on vim open directory ( #1594 )
2022-09-22 09:06:23 +10:00
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