Commit Graph

172 Commits

Author SHA1 Message Date
kiyan
bf697d782d chore: leave netrw enabled by default but still hijack it 2022-02-16 20:43:41 +01:00
Kiyan
6da7467944
refacto: buffer management, setup fixes, autocmd fixes (#967) 2022-02-14 19:16:45 +01:00
kiyan
b54de4b48a doc(readme): update requirement from 0.5 to 0.6 2022-02-09 22:37:38 +01:00
kiyan
a979e3b245 chore: simplify readme 2022-02-09 22:35:06 +01:00
Steve Vermeulen
4ec8c9f364
Added a new option auto_reload_on_write to allow users to disable it for performance reasons (#956) 2022-02-09 21:06:07 +01:00
kiyan
1fe29f8eef chore: move g:nvim_tree_quit_on_open into open_file action config 2022-02-05 18:42:08 +01:00
kiyan
f74dd24c58 refacto: move some code into actions
(non breaking, old assignments link to new assignments)
- move lib.collapse-all into actions/collapse-all
- move lib.dir-up into actions/dir-up
- move lib.change-dir into actions/change-dir
- use setup option for change-dir global (and use the old option for
  setup)
2022-02-05 17:42:40 +01:00
kiyan
c74c44d80b fix: remove unused config from doc
closes #820
2022-02-05 13:15:22 +01:00
kiyan
724716ec2e fix(doc): remove tree_cb from edit_no_picker 2022-01-21 12:36:45 +01:00
Sander van Harmelen
14bdf134f9
Add a mode that allows edit without the picker (#873) 2022-01-21 12:36:28 +01:00
Sander van Harmelen
1ac3502290
Add a config option to use :cd instead of :lcd (#874)
Fixes #829
2022-01-21 12:29:30 +01:00
Carlos Coves Prieto
fa8bb09de4
custom node keymaps (#855) 2022-01-21 11:03:49 +01:00
kiyan
e49bd8ffd3 chore(doc, mappings): remove S-CR mapping because its invalid
Fixes #850
2021-12-24 12:57:19 +01:00
Xun
bc13a1ffca
allow signcolumn settings (#805) 2021-12-12 13:00:54 +01:00
Raafat Turki
e842f08884
feat: add trashing (#749) 2021-11-28 15:26:24 +01:00
JavierPoduje
9db956fab7
feat: allow number and relativenumber settings (#762) 2021-11-28 14:18:43 +01:00
Kiyan
6662b60a2b
feat/chore: rewrite git with job and some other fixes (#743)
* feat/chore: rewrite git with job and some other fixes

* fix: fs clear window, rename echo_warning -> warn

also fix renaming and add an event blocker to avoid running many events
at the same time
2021-11-27 16:02:54 +01:00
Reyhan Ünal
5d8453dfbd
docs: add screenshot4.png (#763) 2021-10-31 16:45:19 +01:00
kiyan
a6c1d45dd6 chore: refacto populate filtering
move `nvim_tree_ignore` and `nvim_tree_hide_dotfiles` to setup
2021-10-30 12:25:09 +02:00
tiagovla
c4ecf4416b
docs: fix typo (#746) 2021-10-25 20:56:15 +02:00
M.A
fd3969ec98
feat: add hide_root_folder (#728) 2021-10-24 16:48:57 +02:00
figsoda
514619897f
feat: add NvimTreeFindFileToggle (#735) 2021-10-23 15:35:28 +02:00
kiyan
94b8604e86 chore: complete the diagnostic setup migration
Colors groups and icons are now in diagnostics.lua. They are defined on
setup which allows an easier configuration and better documentation.
`lsp_diagnostics` boolean value has been moved into a table `diagnostics`
with `enable` and `icons` as properties.
2021-10-10 11:42:22 +02:00
kiyan
fb32f35d7f chore: allow configuring height
also fixes window management for top and bottom tree side
2021-10-03 14:13:10 +02:00
kiyan
137628acb6 chore: update_to_buf_dir allow auto_open configuration
also improve the documentation with doc references
2021-10-02 13:53:51 +02:00
kiyan
4cfe355035 doc: add migration in readme 2021-10-02 13:16:59 +02:00
kiyan
7c88a0f8ee doc: add tips section to readme 2021-10-01 16:05:18 +02:00
kiyan
9282944078 fix: add option update_to_buf_dir in setup
avoid hijacking the tree for use case of users using vim-dirvish
2021-09-30 12:43:20 +02:00
kiyan
f8b5eb0bd8 docfix: remove EOF tag 2021-09-28 00:36:10 +02:00
kiyan
14c13903b7 fix: remove tip from readme because we can use NvimTreeResize 2021-09-26 15:00:12 +02:00
kiyan
3633e728e0 chore: refacto view setup and simplify the code 2021-09-26 14:55:49 +02:00
booperlv
2a5d529219
feat: option to set path destination to parent folder when cursor is on a closed folder while creating files (#628) 2021-09-26 12:10:19 +02:00
kiyan
1edebb7894 chore: lsp diagnostics setup 2021-09-26 11:56:44 +02:00
Kiyan
a864b80baf
chore: refacto setup part 1 (#603)
* chore: refacto setup part 1

refacto setup for code entrypoint
following options switched boolean values as options to the setup function:
- `nvim_tree_disable_netrw` -> `disable_netrw`
- `nvim_tree_hijack_netrw` -> `hijack_netrw`
- `nvim_tree_auto_open` -> `open_on_setup`
- `nvim_tree_auto_close` -> `auto_close`
- `nvim_tree_tab_open` -> `tab_open`
- `nvim-tree-update-cwd` -> `update_cwd`
- `nvim_tree_hijack_cursor` -> `hijack_cursor`
- `nvim_tree_system_open_command` -> `system_open.cmd`
- `nvim_tree_system_open_command_args` -> `system_open.args`
- `nvim_tree_follow` -> `update_focused_file.enable`
- `nvim_tree_follow_update_path` -> `update_focused_file.update_cwd`
Also added new option `update_focused_file.ignore_list` which will
ignore filepath or filetypes that matches one entry of the list when
updating the path if update_cwd is true.

* add deprecation warning

* update readme

* schedule on enter to avoid running before vim first buffer has loaded

* update docs

* correct typo

* rename tab open -> open on tab
2021-09-25 16:43:39 +02:00
frogtile
da26dfa79a
Update README.md (#621) 2021-09-25 16:26:12 +02:00
gegoune
d7f73b5ae9
feat(config): add notify to nvim_tree_window_picker_exclude (#613) 2021-09-12 14:31:31 +02:00
kiyan
d41ca62320 fix: hide the base dir update on bufenter behind an option 2021-08-30 19:03:43 +02:00
Uy Ha
5bca2006cc
Make time between each tree refresh configurable (#599) 2021-08-30 18:53:14 +02:00
xeluxee
d74af818c0
system_open: use asynchronous vim.loop to spawn process + let user customize the command to be used to open a file/folder with default system application (#551) 2021-08-14 15:13:56 +02:00
颜贵彬
7014b6aff4
Feat: add focus on tree functionality (#563) 2021-08-14 11:06:56 +02:00
Yusuke Uchida
143505b281
Added new option, respect_buf_cwd (#533) 2021-08-07 09:59:42 +02:00
xeluxee
7bed04718e
Feature: open file/folder with default system application (#539) 2021-08-02 21:08:24 +02:00
Chen Mulong
c4d98bd7ab
README for installation with packer (#538) 2021-08-02 21:00:03 +02:00
Christoph Schiessl
e741680edb
add new config option g:nvim_tree_symlink_arrow (fixes #283) (#512) 2021-08-02 20:55:41 +02:00
Kiyan
d8af7fdc0c
Update README.md 2021-07-10 11:25:25 +02:00
vlad doster
5417b9c57b
(docs) update README.md (#484) 2021-07-06 20:42:06 +02:00
kiyan
f42f6095d7 fix(bindings): typos 2021-07-02 10:09:05 +02:00
booperlv
d311c22d46
add option to make width a percentage of "&columns" (#473) 2021-06-30 21:55:41 +02:00
kiyan
10e845e01c BREAKING CHANGE: make keybindings more configurable and add option to disable default 2021-06-30 21:54:17 +02:00
kiyan
86188a4b9d fix(resize): reimplement auto resize 2021-06-30 21:21:06 +02:00