Commit Graph

91 Commits

Author SHA1 Message Date
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
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
kiyan42
4d6bf5fd0b update doc tags 2020-02-28 18:21:58 +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
kyazdani42
4c5c6816bd add more features/fixes for next codes iterations 2020-02-27 22:29:24 +01:00
kiyan42
d4a693e46b error handling for fs alteration 2020-02-23 01:28:29 +01:00
kiyan42
d29b24aa4c update todolist 2020-02-23 01:17:23 +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
a1e6e8451e modify screenshot 2020-02-21 08:56:42 +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
a8143a7ff1 start adding docs 2020-02-20 21:45:04 +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
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