kiyan42
e0bfcb4a6f
Refacto: rewrite everything
...
- The tree is created with libuv functions, which makes it blazingly fast.
- The tree may now be faster than any other vim trees, it can handle directories with thousands of files without any latency at all (tested on 40K files, works flawlessly).
- More solid logic for opening and closing the tree.
- tree state is remembered (closing / opening a folder keeps opened subdirectories open)
- detection of multiple git projects in the tree
- more icon support
- smart rendering
- smart updates
- ms windows support
- gx replacement function running xdg-open on linux, open on macos
2020-05-29 15:33:47 +02:00
kiyan42
e1fbabf879
fix init_tree should not run when root path doesnt change
2020-05-18 23:56:56 +02:00
Akin Sowemimo
9201d123fd
Add config option to follow buffer directory
2020-05-18 23:51:43 +02:00
kiyan42
5fcbc21edb
fix opening a file should change the tree base
2020-05-18 20:01:19 +02:00
kiyan42
020db73532
Add colorscheme update and add filetype to buffer.
2020-05-17 18:21:03 +02:00
kiyan42
52d1d7e401
fix: 'cd ..' going above the main dir of project
2020-05-14 16:35:06 +02:00
kiyan42
697912429c
reformat, refactor code, run fs command with luv.spawn
2020-04-26 14:46:20 +02:00
kiyan42
41b050a6ab
Control how files are being opened
2020-03-11 12:06:42 +01:00
kiyan42
3678169bd6
add config to open or close automatically
2020-03-04 13:15:33 +01:00
kyazdani42
03168a5155
fix tree when option is 'right'
2020-03-01 19:24:24 +01:00
kyazdani42
daff837b23
add LuaTreeFindFile, doc and option
2020-02-28 17:24:08 +01:00
kyazdani42
f6e44c1726
cd to folder when doing nvim FOLDER and layout code
...
- when doing `nvim FOLDER` it works as expected, opening the tree
on the correct folder (updating the ROOT_PATH)
- add the code for keeping the tree window on the side no matter
what, but since the lack of window events, disable this feature.
2020-02-28 01:03:34 +01:00
kyazdani42
4422ebc299
remove comment as its been fixed with buffer options
2020-02-21 17:21:03 +01:00
kyazdani42
e86c857960
remove scratch winutils and use input to alter fs
2020-02-20 17:01:43 +01:00
kyazdani42
6670b8e494
quit when tree is last buf, open on enter if dir or no file
2020-02-19 23:47:25 +01:00
kyazdani42
3945771fb5
make code faster and cleaner in file.lua and winutils.lua
2020-02-19 19:43:03 +01:00
kyazdani42
5ab65e98b3
remove conf.lua file
2020-02-19 18:47:02 +01:00
kyazdani42
e29c9fb4ee
add symlink handling
2020-02-19 18:40:10 +01:00
kyazdani42
6d9831b2a5
color init in lua
2020-02-19 17:57:36 +01:00
kyazdani42
1c4fb795fb
add git refresh
2020-02-19 14:32:33 +01:00
kyazdani42
c77a560a63
move window/buf stuff from file.lua to winutils.lua
2020-02-19 14:16:09 +01:00
kiyan42
0ed31e065e
refresh tree when changing fs
2020-02-18 16:06:05 +01:00
kiyan42
b448b1a0fa
reorganize code
2020-02-18 15:59:53 +01:00
kyazdani42
98d94876f2
start refresh. Need to find a way to trigger the function when FS is altered
2020-02-14 17:42:07 +01:00
kyazdani42
083d2b556d
add syntax highlighting
2020-02-14 16:51:33 +01:00
kyazdani42
4761e3f2a5
do not block moving around in the buffer.
2020-02-14 14:15:55 +01:00
kiyan42
3e04580e74
list dotfiles
2020-02-10 17:11:19 +01:00
kiyan42
0bb2a99f55
FS api
...
- change vim root and update tree
- create / rename / delete file and folders
2020-02-10 14:53:28 +01:00
kiyan42
a3c4fcc6fe
adding/removing/renaming file almost done
2020-02-09 18:56:44 +01:00
kiyan42
ef6f338cce
some refacto and start adding file creation/removal..
2020-02-09 18:11:02 +01:00
kyazdani42
d649119146
small refacto
2020-02-09 15:36:18 +01:00
kyazdani42
04bd042869
update readme
2020-02-07 21:24:08 +01:00
kyazdani42
bdbebefc6d
add icons and sort
...
- Uses vim-devicons if it exists
- Uses font awesome folder open/close
- Sort directories first
2020-02-07 20:14:13 +01:00
kiyan42
98716c9a83
small fix
2020-02-07 11:51:01 +01:00
kyazdani42
9dfc4b27ef
opening files and browsing is working properly
2020-02-06 20:25:02 +01:00
kyazdani42
25df400bf3
add first draft
2020-02-05 01:07:06 +01:00
kyazdani42
90e6ce1853
window/buffer toggle works
2020-02-04 22:44:48 +01:00
kyazdani42
7ec6a588d5
init plugin
2020-02-04 19:59:14 +01:00