Commit Graph

62 Commits

Author SHA1 Message Date
kiyan42
7e3ff3db86 change icon selection 2020-03-05 11:52:32 +01:00
kiyan42
a33622179d refactoring to use config options from lua module 2020-03-04 14:58:37 +01:00
kiyan42
0b4c9d8143 add config option to disable the icons 2020-03-04 14:49:52 +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
7483abcf40 some buffer options 2020-03-01 18:08:27 +01:00
kyazdani42
1d788f91e2 add right side check for disabled feature 2020-03-01 16:19:03 +01:00
kyazdani42
363a7b82aa add <C-t> to open file in new tab 2020-03-01 15:07:29 +01:00
kyazdani42
7ac26175f2 clear prompt with normal :<esc> and fix file creation 2020-03-01 15:00:34 +01:00
kyazdani42
c31cceaff6 fix macos 2020-02-29 09:41:34 +01:00
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
kiyan42
d4a693e46b error handling for fs alteration 2020-02-23 01:28:29 +01:00
kyazdani42
e5db994ebb protect plugin against windows and prevent macos from crashing due to --ignore 2020-02-22 17:36:05 +01:00
kyazdani42
4422ebc299 remove comment as its been fixed with buffer options 2020-02-21 17:21:03 +01:00
kiyan42
b96d104c0b update some options 2020-02-21 14:23:57 +01:00
kiyan42
4d43fbd017 change folder color and lua icon color 2020-02-21 08:52:25 +01:00
kiyan42
f28dbfa998 add better doc and add user ignore list 2020-02-20 23:19:16 +01:00
kiyan42
267b14fc5f fix coloring without vim-devicons 2020-02-20 21:48:16 +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
5eaeac123b dont crash with no colors 2020-02-20 19:59:17 +01:00
kyazdani42
49b9798cbc clear vim prompt when updating the fs 2020-02-20 18:01:27 +01:00
kyazdani42
e86c857960 remove scratch winutils and use input to alter fs 2020-02-20 17:01:43 +01:00
kyazdani42
460fdf6b7a Merge branch 'master' of github.com:kyazdani42/nvim-tree.lua 2020-02-20 15:54:07 +01:00
kyazdani42
77bcb8db01 formatting 2020-02-20 15:54:01 +01:00
kyazdani42
4945789baa fix images color 2020-02-20 15:50:38 +01:00
kiyan42
55fbc471d1 fix bug on format 2020-02-20 12:18: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
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
b0d6e153f7 easier regex matching 2020-02-19 18:11:09 +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
c77a560a63 move window/buf stuff from file.lua to winutils.lua 2020-02-19 14:16:09 +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
1a473fb193 fix highlight for files without icons 2020-02-18 18:38:42 +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
b448b1a0fa reorganize code 2020-02-18 15:59:53 +01:00
kiyan42
7b7fb56c4e better format 2020-02-18 14:30:32 +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