Alexander Courtis
89816ace70
fix( #2191 ): edit: disregard floating windows ( #2209 )
2023-05-14 11:30:01 +10:00
gegoune
0df384b6c0
feat(api): add node.open.drop() ( #2164 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org >
2023-04-30 09:35:25 +02:00
Alexander Courtis
9c60947926
fix( #2175 ): check number of actions.open_file.window_picker.chars before picking window ( #2177 )
2023-04-30 15:56:46 +10:00
hinell
d68b00a63e
feat(api): Add new node selection action based on tab :drop command ( #2161 )
...
Co-authored-by: gegoune <dev@clog.rocks >
2023-04-23 02:41:21 +03:00
Anshuman Medhi
8f392fa763
fix( #2126 ): custom window pickers may create windows ( #2140 )
...
call nvim_list_wins again after the picker is run
2023-04-16 15:58:10 +10:00
Alexander Courtis
04f99f14b5
fix( #2003 ): obey user split command for modified buffers when hidden not set ( #2008 )
2023-02-20 10:04:55 +11:00
Alexander Courtis
3c4958ab3d
fix( #1831 ): remove windows executable functionality due to occasional vim freeze and performance concerns ( #1868 )
...
* #1831 exploratory testing: disable file executable checks
* fix(#1831 ): remove windows executable functionality
2022-12-31 12:34:55 +11:00
David Sierra DiazGranados
d85b6718ce
feat(picker): allow custom function actions.open_file.window_picker.picker ( #1782 )
...
* feat: allow passing a custom function as a window picker
WIP
* fix: move logic expression to if statement
If `M.window_picker.custom_function()` returns `nil` then `pick_win_id()`
will run (the or part). We don't want that. More verbose, but better.
* feat(open): add window_picker.picker
* feat(open): add window_picker.picker
* style nit
* feat(open): add window_picker.picker
* docs: add window_picker.picker documentation
* docs: add window_picker.picker documentation
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-12-16 15:14:33 +11:00
Anton
e8ea62c198
fix( #1824 ): Don't modify jumplist when edit_in_place. ( #1825 )
2022-12-16 14:08:27 +11:00
Alexander Courtis
9d241e5f58
fix(system-open): use notify for system-open failures and tidy messages
2022-11-15 13:01:15 +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
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
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
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
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
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
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
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
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
1ee6a3ea65
feat(create-file): use vim.ui.select for confirmation
...
fixes #1434
fixes #1294
2022-07-18 14:32:19 +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
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
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00