kiyan
428898154f
chore: lib can be required directly in movements.lua
2022-04-30 16:41:26 +02:00
Kiyan
3ac443207f
#1166 validate config ( #1195 )
2022-04-26 21:11:24 +02:00
Andreas Bissinger
a94f5bf776
fix: correct line when moving in tree ( #1200 )
2022-04-26 21:10:27 +02:00
kiyan
09a47aed8d
Revert " #1166 validate user's options ( #1177 )"
...
This reverts commit 5bbd3a0a91 .
2022-04-24 14:41:48 +02:00
Alexander Courtis
5bbd3a0a91
#1166 validate user's options ( #1177 )
2022-04-24 11:17:05 +02:00
Alexander Courtis
2c71ffcc0d
add actions.change_dir.restrict_above_cwd ( #1171 )
2022-04-23 10:45:23 +02:00
kiyan
95a5c2d4bc
fix: add parent ref to nodes
...
also refactor movement go to parent
fixes #1148
2022-04-21 20:39:14 +02:00
Alexander Courtis
0f0f858348
#1157 update lsp diagnostics when the tree state is changed ( #1174 )
2022-04-18 15:46:42 +02:00
Andreas Bissinger
9066cbf3f7
feat: add file completion ( #1163 )
2022-04-18 15:36:55 +02:00
Tony Shen
477536cd7e
fix: fix mis-naming for system clipboard config ( #1160 )
2022-04-12 22:12:13 +02:00
Michael
9c272b97bc
fix: trash filenames with spaces ( #1156 )
2022-04-11 12:28:51 +02:00
Michael
fc925d814a
fix: add spaces to prompts and blankline to rename output ( #1154 )
2022-04-11 09:47:23 +02:00
Michael
6e0e70b1ca
feat: delete preview buffers #1145 ( #1149 )
2022-04-10 17:23:37 +02:00
Lò [By The Way]
83fe370d52
Added actions.opts.use_sys_clipboard, [issue: 789 ] ( #1141 )
2022-04-10 15:39:36 +02:00
Pedro Castro
deb1f253f4
fix(statusline): better window picker highlight ( #1139 )
2022-04-09 14:56:22 +02:00
kiyan
618ea25613
fix: clear prompt when creating file
...
fixes #1138
2022-04-06 13:37:17 +02:00
Alexander Courtis
62906f095b
fix: collapse exit early if nvim-tree not loaded ( #1128 )
2022-04-02 12:40:59 +02:00
Alexander Courtis
cc387e8314
Merge pull request #1107 from kyazdani42/#1099-search-obey-ignored
...
#1099 search obeys active ignore filters
2022-03-27 13:48:02 +11:00
kiyan
1831417f05
refacto: add get_nodes_starting_line core util
2022-03-26 14:46:44 +01:00
Alexander Courtis
54c78dbca2
#791 add profiling for some operations ( #1108 )
2022-03-26 13:22:28 +01:00
Alexander Courtis
015234e032
#837 find file symlinks fixes ( #1093 )
2022-03-26 13:17:34 +01:00
Alexander Courtis
54c7cdbabb
#1099 search obeys active ignore filters
2022-03-26 12:51:18 +11:00
baahrens
7b0ebf8b17
feat: Use vim.ui.input for rename and create ( #1097 )
2022-03-22 20:28:58 +01:00
Gary Sentosa
57d6f70952
fix: window picker bug on global statusline ( #1098 )
2022-03-22 20:14:53 +01:00
kiyan
e87ee0e3c3
chore: license open-file as MIT
2022-03-20 13:36:21 +01:00
Alexander Courtis
fc70954ec7
#837 search subdirs ( #1092 )
2022-03-20 13:26:56 +01:00
kiyan
3cf67c5849
fix: remove diagnostics in help view
...
fixes #1088
2022-03-19 12:32:11 +01:00
Alexander Courtis
20797a8d74
#1050 #1068 various default options tweaks ( #1074 )
2022-03-18 11:35:15 +01:00
Andreas Bissinger
e307ad9e3d
feat: open node when using search-node action ( #1082 )
2022-03-18 11:32:08 +01:00
Alexander Courtis
a50fd77c99
#857 add filter_custom action, filter_ignored->filter_git_ignored ( #1077 )
2022-03-18 11:30:30 +01:00
Alexander Courtis
b136c7b6f9
#1064 add copy_paste logging and more error copy-paste error handling ( #1076 )
2022-03-18 11:27:03 +01:00
kiyan
2457e141ae
fix: do not crash file-popup when node is root dir
2022-03-09 23:07:31 +01:00
kiyan
5af3cfa170
fix: split if nvim-tree is the only window
...
also fix resize when trying to open but the buffer exists
2022-03-09 22:29:26 +01:00
kiyan
471afc13fe
refacto: abstract TreeExplorer in core.lua
2022-03-09 22:01:54 +01:00
kiyan
144bce74a5
refacto: move renderer git into file
...
also view.is_root_folder_modifier_visible don't take the tree as
parameter
2022-03-09 21:32:15 +01:00
Andreas Bissinger
60a9c86c53
feat: make it possible to collapse the tree but keep the directories open which are in used in buffers ( #1057 )
2022-03-09 11:08:29 +01:00
Andreas Bissinger
d5a12ac9db
fix: correct index in movement actions ( #1058 )
2022-03-09 09:03:22 +01:00
Alexander Courtis
19075f41e8
File logging ( #1053 )
...
* add file logging infrastructure
* log git runner operations
* log configuration and mappings
* document file logging infrastructure
* style fixes
* stylua fixes
* document log file locations
2022-03-07 08:44:37 +01:00
Kiyan
0816064a8b
chore: add stylua to format the codebase, and run on CI ( #1055 )
2022-03-06 17:33:30 +01:00
kiyan
76d181d480
refacto: move filters and sorters in their own modules
...
Also exclude filters is taken into account in git ignore
fixes #892
2022-03-06 14:14:56 +01:00
Andreas Bissinger
c25be06612
feat: close file info popup if on same node ( #1054 )
2022-03-06 13:07:12 +01:00
Andreas Bissinger
ceadf83809
feat: add file size in popup ( #1049 )
2022-03-06 11:26:35 +01:00
Grzegorz Rozdzialik
ac858a28a2
fix(run-command): handle current directory node ( #1046 )
...
Handle the node representing the current directory (the topmost node in
the nvim-tree window). That node does not have the `absolute_path` set.
Use `TreeExplorer.cwd` instead, similar to the logic in `change-dir`.
2022-03-04 13:02:42 +01:00
kiyan
a3f256dc1b
fix(find-file): match folders with prefix, not containing the node
...
avoid opening folders matching part of the string (/dev matching
/home/dev for instance)
2022-03-03 23:56:29 +01:00
smhc
f6aba661ec
Close help on q/close instead of ignore keypress ( #1043 )
...
Co-authored-by: Shane Hird <shane.hird@csgicorp.com >
2022-03-03 23:43:14 +01:00
Andreas Bissinger
50a927f176
feat: add popup information ( #1042 )
2022-03-03 21:13:10 +01:00
Andreas Bissinger
4fedb93cec
feat: add new keybinding "b" to run a command in the focused node ( #1024 )
2022-03-03 09:05:03 +01:00
kiyan
38cc6305b4
fix: forgot resize_window option in open-file setup
2022-03-01 21:11:11 +01:00
kiyan
6af2d5a720
chore: move auto_resize to actions.open_file.resize_window
...
fixes #1034
2022-03-01 20:07:36 +01:00
Andreas Bissinger
9ec710e338
remove semicolons ( #1035 )
2022-03-01 19:57:05 +01:00