Commit Graph

125 Commits

Author SHA1 Message Date
Kristijan Husak
d42e76e3cf Always focus tree when finding file. 2020-07-29 18:03:27 +02:00
kiyan42
6ac8e256b3 cleanup on_keypress function 2020-07-23 11:48:16 +02:00
kiyan42
2ceb049b5b lints 2020-07-23 11:40:39 +02:00
kiyan42
371941b3b2 find window instead of saving it 2020-07-23 11:36:58 +02:00
kiyan42
33a48cd80f open tree on find 2020-07-23 11:16:25 +02:00
Kristijan Husak
28c300acb4 Cache functions for jumping to prev/next git item. 2020-07-22 12:29:52 +02:00
Kristijan Husak
f1b04965de Add mappings for jumping to previous or next git item. 2020-07-22 11:50:18 +02:00
Kiyan Yazdani
7743d90504 Merge pull request #52 from kristijanhusak/feature/cut-copy-paste
Add cut,copy and paste functionality.
2020-07-21 17:16:08 +02:00
Kristijan Husak
89df407737 Add command to print clipboard content. 2020-07-21 15:14:05 +02:00
Kristijan Husak
7ddee0a79c Return if pasting on root and remove continue. 2020-07-21 12:35:28 +02:00
kiyan42
df3c470322 fix: remove goto statement to match neovim lua version 2020-07-21 11:57:13 +02:00
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
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
kiyan42
cf828e0a4b fix: export find_file, remove global options, disable follow by default 2020-06-21 12:50:51 +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
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
Gregory
509f0e0c3b Improve icon fetching logic 2020-06-13 20:39:43 -04: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
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
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
f740fc5d1e fix: cwd with spaces failing to cd 2020-06-04 21:54:53 +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
kiyan42
df0c522a81 fix lua path matching again 2020-06-01 16:06:23 +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
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
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
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