Commit Graph

41 Commits

Author SHA1 Message Date
kyazdani42
daff837b23 add LuaTreeFindFile, doc and option 2020-02-28 17:24:08 +01:00
kyazdani42
b9398b285d Use system function instead of luv calls
- add dynamic path creation 'foo/bar/baz'
- fixes delete function
2020-02-28 15:34:02 +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
a6f4ec6270 change <c-[> to . to change directory path 2020-02-27 22:51:58 +01:00
kyazdani42
4c5c6816bd add more features/fixes for next codes iterations 2020-02-27 22:29:24 +01:00
kiyan42
d29b24aa4c update todolist 2020-02-23 01:17:23 +01:00
kiyan42
4d43fbd017 change folder color and lua icon color 2020-02-21 08:52:25 +01:00
kiyan42
9eec60fcfc update readme
After testing nerdtree, it seems the window might be messed up
if the user is not careful
2020-02-21 00:05:33 +01:00
kiyan42
ff48ac2e6f update readme 2020-02-20 23:28:26 +01:00
kiyan42
f28dbfa998 add better doc and add user ignore list 2020-02-20 23:19:16 +01:00
kiyan42
3527a67a9e change screenshot 2020-02-20 21:56:22 +01:00
kiyan42
267b14fc5f fix coloring without vim-devicons 2020-02-20 21:48:16 +01:00
kiyan42
4fd82e527f add mice info 2020-02-20 21:28:23 +01:00
kiyan42
f5af7aa95d add some options for the user and info in the readme 2020-02-20 21:16:13 +01:00
kyazdani42
1d61d6b123 properly check web dev icons 2020-02-20 20:06:30 +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
f397e1050c fix git parsing and init
- run `ls ROOT_PATH` on init to make sure we are in the right place
- match git path with `.*` to make sure we check when in a subdir
> it could cause issues though, fix this later with a better
> git interface
2020-02-19 23:01:52 +01:00
kyazdani42
e85dc5eb0f add fix to readme 2020-02-19 22:37:42 +01:00
kyazdani42
3945771fb5 make code faster and cleaner in file.lua and winutils.lua 2020-02-19 19:43:03 +01:00
kyazdani42
bb38758960 rearrange todo in readme 2020-02-19 18:57:30 +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
05b5117f75 better git format and parsing 2020-02-19 16:46:25 +01:00
kyazdani42
1c4fb795fb add git refresh 2020-02-19 14:32:33 +01:00
kyazdani42
14f83b3891 add mouse support 2020-02-19 14:01:40 +01:00
kyazdani42
ac92bfd911 Faster git parsing
- fix a bug when removing nodes from huge dir
- only one `system` call for git status
- add relative paths to nodes
- parse git status from relative paths
2020-02-19 13:55:40 +01:00
kiyan42
0c382ebdc0 add tree pic 2020-02-18 18:32:03 +01:00
kiyan42
f8fb6de9c6 add git integration 2020-02-18 18:22:05 +01:00
kiyan42
0ed31e065e refresh tree when changing fs 2020-02-18 16:06:05 +01:00
kiyan42
7b7fb56c4e better format 2020-02-18 14:30:32 +01:00
kyazdani42
083d2b556d add syntax highlighting 2020-02-14 16:51:33 +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
ef6f338cce some refacto and start adding file creation/removal.. 2020-02-09 18:11:02 +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
kyazdani42
9dfc4b27ef opening files and browsing is working properly 2020-02-06 20:25:02 +01:00
Kiyan Yazdani
29daa4d00b
Update README.md 2020-02-05 01:12:50 +01:00
kyazdani42
25df400bf3 add first draft 2020-02-05 01:07:06 +01:00
Kiyan Yazdani
d6f2dff053
Update README.md 2020-02-04 20:01:59 +01:00
kyazdani42
7ec6a588d5 init plugin 2020-02-04 19:59:14 +01:00