Commit Graph

151 Commits

Author SHA1 Message Date
Kristijan Husak
86ff3b725f Prompt for confirmation when overwriting on cut/copy actions. 2020-07-21 08:58:09 +02:00
Kristijan Husak
37748e7c97
Merge branch 'master' into feature/cut-copy-paste 2020-07-20 17:59:15 +02:00
Kiyan Yazdani
8e0eff2aa0
Merge pull request #53 from kristijanhusak/feature/toggle-ignored
Add mapping for toggling ignored folders visibility.
2020-07-20 17:27:45 +02:00
Kristijan Husak
4f86707051 Add mapping for toggling ignored folders visibility. 2020-07-17 10:25:57 +02:00
Kristijan Husak
9b20fcba72 Add cut,copy and paste functionality. 2020-07-16 11:50:27 +02:00
kiyan42
20f39a951a fix: markers not rendering properly on last indent 2020-06-22 14:47:50 +02:00
kiyan42
3ca7fd0aed fix small bug with indent markers, add notice to README for netrw and gx 2020-06-22 12:23:09 +02:00
Kiyan Yazdani
545ecbccba
Merge pull request #48 from Akin909/update-second-screenshot
Add screen shot with indent markers
2020-06-21 13:58:05 +02:00
Akin Sowemimo
f5d781c392 Change second screenshot 2020-06-21 12:37:55 +01:00
kiyan42
cf828e0a4b fix: export find_file, remove global options, disable follow by default 2020-06-21 12:50:51 +02:00
Kiyan Yazdani
3bcfc70ea6
Merge pull request #43 from kyazdani42/feat/indent-markers
add indent markers
2020-06-20 21:13:48 +02:00
kiyan42
4f499d9e53 finish indent markers properly 2020-06-20 15:35:24 +02:00
kiyan42
7988dd407c add indent markers 2020-06-20 15:34:49 +02:00
Kiyan Yazdani
fff623e020
Merge pull request #44 from rickysaurav/master
Add option for disabling bindings
2020-06-20 11:28:09 +02:00
rickysaurav
080c86618f Add option for disabling bindings 2020-06-20 03:38:36 +05:30
kiyan42
fbe5d6d1f7 add akin909 screenshot, fix user icon config load 2020-06-19 13:31:42 +02:00
kiyan42
d4e5b1bb51 fix: declare filetype when window init is done 2020-06-15 15:30:18 +02:00
Kiyan Yazdani
8e9650f10a
Merge pull request #38 from chmln/master
Improve icon fetching logic
2020-06-14 10:30:03 +02:00
Gregory
509f0e0c3b
Improve icon fetching logic 2020-06-13 20:39:43 -04:00
Kiyan Yazdani
20b816bd8e
Merge pull request #37 from kyazdani42/refacto-and-fixes
Refacto and fixes
2020-06-09 19:02:45 +02:00
kyazdani42
896cc1619a fix various issues, and add a comment because of a bug in glibc 2020-06-09 18:59:32 +02:00
kyazdani42
899fb177e0 use path to matching str in lua/tree.lua 2020-06-08 12:33:42 +02:00
kyazdani42
25c32283b8 rename lib/tree.lua to lib/lib.lua 2020-06-08 11:41:57 +02:00
kyazdani42
18dac0ed84 add .luacheckrc and fix linter issues 2020-06-08 11:23:30 +02:00
kyazdani42
1e67a7c6f4 refacto: export window options in config 2020-06-08 11:09:53 +02:00
Kiyan Yazdani
829538dafc
Merge pull request #36 from kyazdani42/add-tree-preview
add preview
2020-06-07 14:52:12 +02:00
kyazdani42
b55ed7c5a7 add preview 2020-06-07 14:51:46 +02:00
kyazdani42
e9548d7992 fix: check for nil bufnr to avoid messing up the UI when rendering 2020-06-05 19:17:11 +02:00
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