Commit Graph

1623 Commits

Author SHA1 Message Date
Kiyan Yazdani
911bc278d7
Merge pull request #33 from kyazdani42/fix-fs-issues
fix: fs and refresh bugs
2020-06-05 09:35:40 +02:00
kyazdani42
d0d42d42a3 fix: fs and refresh bugs
- refreshing delete from entries before adding new entries to avoid
  conflicts with indexes
- delete is synchronous because on large folders it was not recursing
  properly thus causing errors and not deleting content.
2020-06-05 09:33:14 +02:00
kyazdani42
f6b38bb364 fix: use defer_fn to close the tree properly 2020-06-04 23:29:10 +02:00
kyazdani42
3997c53df6 fix: check on_leave on WinClosed for :x to save properly 2020-06-04 21:56:37 +02:00
kyazdani42
f740fc5d1e fix: cwd with spaces failing to cd 2020-06-04 21:54:53 +02:00
Kiyan Yazdani
aabc658384
Merge pull request #31 from marekkon/user-folder-icons
Add config option to change folder icons
2020-06-02 14:56:49 +02:00
Marek Konopka
ff76ccafdc Add configurable folder icons 2020-06-02 13:33:03 +02:00
kiyan42
870d60ec54 fix do not update on save when window is closed 2020-06-01 20:15:55 +02:00
kiyan42
69880f2e40 fix git error 2020-06-01 18:13:12 +02:00
Kiyan Yazdani
0d77ba683d
Merge pull request #29 from kyazdani42/fix-lua-path-matching
fix lua path matching again
2020-06-01 16:08:49 +02:00
kiyan42
df0c522a81 fix lua path matching again 2020-06-01 16:06:23 +02:00
Kiyan Yazdani
5b69702a52
Merge pull request #27 from kyazdani42/fix-git-calls
optimize git with buffering
2020-05-31 00:57:40 +02:00
kiyan42
9342527d28 optimize git with buffering 2020-05-31 00:55:02 +02:00
kiyan42
d6f9b6a21c fix rendering before setting cursor pos in refresh 2020-05-31 00:22:20 +02:00
kiyan42
058cd31e2a better logic for closing the tree 2020-05-30 01:55:29 +02:00
kiyan42
e4630f8782 fix creating a file wrong permissions 2020-05-29 21:13:43 +02:00
kiyan42
36828c18f8 fix buf options are window options 2020-05-29 20:58:55 +02:00
kiyan42
8e5edfc608 update screenshot 2020-05-29 15:41:40 +02:00
Kiyan Yazdani
bbeae1dbbd
Merge pull request #14 from kyazdani42/rewrite
Rewrite the whole api
2020-05-29 15:37:50 +02:00
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
afc86a9623 fix folder name links to hl-Directory 2020-05-22 11:59:20 +02:00
kiyan42
e1fbabf879 fix init_tree should not run when root path doesnt change 2020-05-18 23:56:56 +02:00
Kiyan Yazdani
ab258d96f6
Merge pull request #13 from Akin909/bugfix/follow-buffer-directory
Add config option to follow buffer's directory
2020-05-18 23:52:24 +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
Kiyan Yazdani
b1ee17e451
Merge pull request #11 from kyazdani42/fix-path-matching
fix path matching again
2020-05-18 17:52:25 +02:00
kiyan42
042d612d68 fix path matching again 2020-05-18 17:51:17 +02:00
kiyan42
0ca069459a remove print 2020-05-17 18:23:47 +02:00
Kiyan Yazdani
55ad0957b5
Merge pull request #9 from kyazdani42/fix-add-ft-and-colors
Add colorscheme update and add filetype to buffer.
2020-05-17 18:23: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
97785a38ae fix readme 2020-04-26 19:18:34 +02:00
kiyan42
697912429c reformat, refactor code, run fs command with luv.spawn 2020-04-26 14:46:20 +02:00
kiyan42
81ee46e41d fix: print_err not being defined 2020-04-25 16:26:29 +02:00
kiyan42
60adbfbdf3 fix: refacto path matchings throughout the code, change the way we call string methods 2020-04-25 15:11:14 +02:00
kiyan42
7fbcfa531c fix: relative paths with '-' breaking git
relative paths with '-' inside a `string.match` statement were not
matching properly due to the nature of lua matching patterns. Replacing
'-' with '%-' resolves the issue.
2020-04-23 21:03:18 +02:00
kiyan42
f906cb0195 fix folder creation 2020-04-11 10:16:16 +02:00
Kiyan Yazdani
01c101fe34
Merge pull request #6 from theHamsta/rename-bug
Bugfix: delete key would rename if set
2020-04-11 10:12:04 +02:00
Stephan Seitz
c3efde1f3b Bugfix: delete key would rename if set 2020-04-10 23:13:23 +02:00
Kiyan Yazdani
c384ab7097
Merge pull request #5 from kyazdani42/user-keybindings
Feature: add option for user keybindings
2020-04-03 12:21:21 +02:00
kiyan42
ff860ecb49 Feature: add option for user keybindings 2020-04-03 12:19:41 +02:00
kiyan42
c003626dee make linking of default groups for tree style and add docs 2020-04-03 11:50:14 +02:00
kiyan42
658e2100eb add documentation for highlight groups 2020-03-11 12:24:11 +01:00
kiyan42
41b050a6ab Control how files are being opened 2020-03-11 12:06:42 +01:00
kiyan42
b199763856 fix not creating a new file when opening the tree window 2020-03-08 00:18:14 +01:00
kiyan42
7e3ff3db86 change icon selection 2020-03-05 11:52:32 +01:00
kiyan42
abaf0775a8 update readme todo 2020-03-04 17:44:53 +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