kiyan
1edebb7894
chore: lsp diagnostics setup
2021-09-26 11:56:44 +02:00
Kiyan
a864b80baf
chore: refacto setup part 1 ( #603 )
...
* chore: refacto setup part 1
refacto setup for code entrypoint
following options switched boolean values as options to the setup function:
- `nvim_tree_disable_netrw` -> `disable_netrw`
- `nvim_tree_hijack_netrw` -> `hijack_netrw`
- `nvim_tree_auto_open` -> `open_on_setup`
- `nvim_tree_auto_close` -> `auto_close`
- `nvim_tree_tab_open` -> `tab_open`
- `nvim-tree-update-cwd` -> `update_cwd`
- `nvim_tree_hijack_cursor` -> `hijack_cursor`
- `nvim_tree_system_open_command` -> `system_open.cmd`
- `nvim_tree_system_open_command_args` -> `system_open.args`
- `nvim_tree_follow` -> `update_focused_file.enable`
- `nvim_tree_follow_update_path` -> `update_focused_file.update_cwd`
Also added new option `update_focused_file.ignore_list` which will
ignore filepath or filetypes that matches one entry of the list when
updating the path if update_cwd is true.
* add deprecation warning
* update readme
* schedule on enter to avoid running before vim first buffer has loaded
* update docs
* correct typo
* rename tab open -> open on tab
2021-09-25 16:43:39 +02:00
frogtile
da26dfa79a
Update README.md ( #621 )
2021-09-25 16:26:12 +02:00
gegoune
d7f73b5ae9
feat(config): add notify to nvim_tree_window_picker_exclude ( #613 )
2021-09-12 14:31:31 +02:00
kiyan
d41ca62320
fix: hide the base dir update on bufenter behind an option
2021-08-30 19:03:43 +02:00
Uy Ha
5bca2006cc
Make time between each tree refresh configurable ( #599 )
2021-08-30 18:53:14 +02:00
xeluxee
d74af818c0
system_open: use asynchronous vim.loop to spawn process + let user customize the command to be used to open a file/folder with default system application ( #551 )
2021-08-14 15:13:56 +02:00
颜贵彬
7014b6aff4
Feat: add focus on tree functionality ( #563 )
2021-08-14 11:06:56 +02:00
Yusuke Uchida
143505b281
Added new option, respect_buf_cwd ( #533 )
2021-08-07 09:59:42 +02:00
xeluxee
7bed04718e
Feature: open file/folder with default system application ( #539 )
2021-08-02 21:08:24 +02:00
Chen Mulong
c4d98bd7ab
README for installation with packer ( #538 )
2021-08-02 21:00:03 +02:00
Christoph Schiessl
e741680edb
add new config option g:nvim_tree_symlink_arrow ( fixes #283 ) ( #512 )
2021-08-02 20:55:41 +02:00
Kiyan
d8af7fdc0c
Update README.md
2021-07-10 11:25:25 +02:00
vlad doster
5417b9c57b
(docs) update README.md ( #484 )
2021-07-06 20:42:06 +02:00
kiyan
f42f6095d7
fix(bindings): typos
2021-07-02 10:09:05 +02:00
booperlv
d311c22d46
add option to make width a percentage of "&columns" ( #473 )
2021-06-30 21:55:41 +02:00
kiyan
10e845e01c
BREAKING CHANGE: make keybindings more configurable and add option to disable default
2021-06-30 21:54:17 +02:00
kiyan
86188a4b9d
fix(resize): reimplement auto resize
2021-06-30 21:21:06 +02:00
kiyan
a59a4120a4
chore(help ui): switch ? to g? because ? is for backward search
2021-06-28 20:05:48 +02:00
kiyan
28c7a34d30
chore(doc): add help UI in documentation
2021-06-28 19:41:56 +02:00
baahrens
ce66b688ff
[Readme] Use correct example for special files ( #466 )
2021-06-27 21:50:58 +02:00
kiyan
43a7b529c0
disable update cwd by default
2021-06-11 08:37:15 +02:00
kiyan
3196205131
chore: switch cd to lcd and update root on dirchanged
2021-06-07 20:09:48 +02:00
kiyan
f1f14885f7
add icon padding
2021-06-07 17:34:02 +02:00
Kiyan
6dca42d09d
feat: hijack cursor ( #428 )
2021-06-02 19:28:27 +02:00
Kiyan
d51ed722ed
add small arrows before folders ( #427 )
2021-06-02 18:45:25 +02:00
Chrıs Seelus
3a5b7c87f3
Add function to open current node with OS default app to README tips section ( #411 )
2021-05-31 09:11:16 +02:00
Alexander Fast
86b7b2c9c4
Added missing comma ( #404 )
2021-05-28 20:08:04 +02:00
Sindre T. Strøm
23935ff003
feat: Option for excluding buffers from the window picker. ( #401 )
2021-05-27 09:19:10 +02:00
Zi莱卷
d6ab59fd5a
feat: Support copy name and path ( #385 )
2021-05-21 08:32:48 +02:00
Carlos Afonso
18fffc09bf
Improve highlight options ( #331 )
2021-05-20 21:44:36 +02:00
Sindre T. Strøm
10c686f7df
feat: Implement window picker. ( #340 )
2021-05-19 23:30:15 +02:00
fffed
79a8188ecf
Fix typo ( #312 )
2021-04-18 10:55:27 +02:00
kiyan
dc59fa484d
feat: add command to prevent nvim-tree window override by another buffer
2021-04-16 23:07:10 +02:00
kiyan
48b06ed0ce
add special_files option
2021-04-16 21:59:13 +02:00
Sindre T. Strøm
da09da3318
feat(diagnostics): More responsive and configurable diagnostics signs. ( #303 )
2021-04-16 17:57:16 +02:00
kiyan
b5ef2fb7f8
add better lsp diagnostic integration
2021-04-16 00:03:56 +02:00
Kiyan
82b20f5b5e
feat: nvim lsp integration ( #260 )
2021-04-08 23:30:35 +02:00
Sindre T. Strøm
50d31fb7f3
feat: Highlight gitignored files (and fix g:nvim_tree_gitignore) ( #268 )
2021-04-08 22:52:56 +02:00
Carlos Afonso
de93da78a9
Feat/add advanced navigation ( #257 )
2021-04-03 00:38:28 +02:00
peach lasagna
1f1b25de4b
fix gitignore feature ( #264 )
2021-03-31 21:37:29 +02:00
Luat Hoang
d19a6feb24
Fix setup in readme ( #262 )
2021-03-31 21:35:01 +02:00
Vikas Raj
bc598fbca6
updated doc ( #263 )
2021-03-31 21:28:34 +02:00
peach lasagna
eadead6072
add Gitignore ( #251 )
2021-03-30 20:11:25 +02:00
Sindre T. Strøm
709d6b968b
feat: Option for grouping empty directories ( #247 )
2021-03-26 19:24:03 +01:00
yamatsum
1e946c5855
feat: add option for changing symlink opened folder. ( #242 )
2021-03-22 17:34:30 +01:00
kiyan
f7ad4ce5f4
feat: add trailing slash on folder names
...
enable the feature through `vim.g.nvim_tree_add_trailing`
2021-03-16 21:26:03 +01:00
Federico Scodelaro
31ef294d05
Patch windows ( #222 )
2021-03-09 20:12:10 +01:00
kiyan42
58e44d29d7
chore: update documentation for tree mappings
2021-03-06 12:49:30 +01:00
Rizqi Nur Assyaufi
1984c12510
Fix: wrong dictionary format example for empty & empty_open on doc ( #216 )
2021-02-26 23:12:53 +01:00
kiyan
905afba209
chore: refacto binding initialization (inverse mapping table)
2021-02-23 00:31:47 +01:00
kiyan
07da8a7242
feat/fix: add rename cmd, fix rename error
...
- add <C-r> binding to omit the filename on rename (option is
full_rename).
- call `silent! write!` on rename to avoid the `overwrite existing file`
error when saving the buffer.
2021-02-22 20:54:53 +01:00
kiyan
ce2420b9da
remove custom gx command in favor of netrw functionnalities and add documentation for netrw hijack
2021-02-21 12:27:31 +01:00
Cooper b. Anderson
84aa8d7ba7
Add empty dir icons to docs
2021-02-19 09:40:19 +01:00
dorgnarg
aab0a136ac
Give users the option to enable netrw
2021-02-15 09:28:28 +01:00
Sergey Bulavintsev
c59831a5d1
Add opt to don't open tree on specific filetypes
2021-02-11 21:17:15 +01:00
cloggier
91bd2b53ba
Add default close binding to readme
2021-01-20 18:45:18 +01:00
Joel D. Elkins
0a4123b71f
Move dir_up functionality into lib and make '-' a default keymap for it
2021-01-15 19:31:44 +01:00
kiyan42
05711754d9
renaming: lua-tree -> nvim-tree
2020-12-27 19:14:34 +01:00
Vitaly Kushner
9810f8d8c9
Fix lua_tree_allow_resize variable name in docs
...
It's actually `lua_tree_width_allow_resize` in the code.
2020-12-19 14:37:51 +01:00
kiyan
0862bcc08e
allow opening symlink to folders
2020-12-13 17:13:35 +01:00
Rafael Bodill
2cec5892d7
Add close_node feature to README.md
2020-12-07 01:45:09 +01:00
kyazdani42
48d433d059
fix allow_resize and document it
2020-10-24 09:04:02 +02:00
geoboom
85d4edc1c1
Fix Vim setup snippet
2020-10-20 19:09:21 +02:00
johnpyp
998f5f1eda
Fix readme: close_on_open -> quit_on_open
2020-10-17 12:24:20 +02:00
johnpyp
fc210e3375
Added relevant documentation for quit-on-open
2020-10-17 12:24:20 +02:00
luathn
52d28143cb
Correct typo in the document
2020-10-15 18:03:15 +02:00
kiyan42
9eea2b8c62
feat: add ability for the tree to change tab
...
- remove tags file
- open/close the tree on `TabEnter` with the option `g:lua_tree_tab_open`
2020-08-18 19:11:10 +02:00
kiyan42
6a0e76edc8
add third screenshot
2020-08-17 18:20:51 +02:00
Phong Nguyen
6ead94eeee
Update document for g:lua_tree_width
2020-08-14 12:32:47 +02:00
Santos Gallegos
222732d9d4
Fallback to default icon for symlinks and fix padding
...
Fixes https://github.com/kyazdani42/nvim-tree.lua/issues/80
2020-08-10 18:35:07 +02:00
Kristijan Husak
0d8b22c1e9
Allow mapping multiple keys to single action.
2020-08-03 21:29:02 +02:00
Kristijan Husak
caf238d908
Add root folder name.
2020-08-03 21:29:02 +02:00
Kieran Siek
06558a25da
Feat: Allow hiding dotfiles ( #69 )
2020-08-03 16:13:25 +02:00
kiyan42
b72f0bfffd
change folder icons, folder colors
2020-08-03 10:53:40 +02:00
kiyan42
a25ac38db1
add file highlight for git attributes and remove the space before the git icon
2020-08-03 10:31:23 +02:00
Kristijan Husak
f1b04965de
Add mappings for jumping to previous or next git item.
2020-07-22 11:50:18 +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
3ca7fd0aed
fix small bug with indent markers, add notice to README for netrw and gx
2020-06-22 12:23:09 +02:00
kiyan42
4f499d9e53
finish indent markers properly
2020-06-20 15:35:24 +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
kyazdani42
b55ed7c5a7
add preview
2020-06-07 14:51:46 +02:00
Marek Konopka
ff76ccafdc
Add configurable folder icons
2020-06-02 13:33:03 +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
97785a38ae
fix readme
2020-04-26 19:18:34 +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
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
363a7b82aa
add <C-t> to open file in new tab
2020-03-01 15:07:29 +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
d29b24aa4c
update todolist
2020-02-23 01:17:23 +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
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
e86c857960
remove scratch winutils and use input to alter fs
2020-02-20 17:01: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
e85dc5eb0f
add fix to readme
2020-02-19 22:37:42 +01:00
kyazdani42
3945771fb5
make code faster and cleaner in file.lua and winutils.lua
2020-02-19 19:43:03 +01:00
kyazdani42
bb38758960
rearrange todo in readme
2020-02-19 18:57:30 +01:00
kyazdani42
e29c9fb4ee
add symlink handling
2020-02-19 18:40:10 +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
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
0c382ebdc0
add tree pic
2020-02-18 18:32:03 +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
7b7fb56c4e
better format
2020-02-18 14:30:32 +01:00
kyazdani42
083d2b556d
add syntax highlighting
2020-02-14 16:51:33 +01:00
kiyan42
0bb2a99f55
FS api
...
- change vim root and update tree
- create / rename / delete file and folders
2020-02-10 14:53:28 +01:00
kiyan42
ef6f338cce
some refacto and start adding file creation/removal..
2020-02-09 18:11:02 +01:00
kyazdani42
04bd042869
update readme
2020-02-07 21:24:08 +01:00
kyazdani42
bdbebefc6d
add icons and sort
...
- Uses vim-devicons if it exists
- Uses font awesome folder open/close
- Sort directories first
2020-02-07 20:14:13 +01:00
kyazdani42
9dfc4b27ef
opening files and browsing is working properly
2020-02-06 20:25:02 +01:00
Kiyan Yazdani
29daa4d00b
Update README.md
2020-02-05 01:12:50 +01:00
kyazdani42
25df400bf3
add first draft
2020-02-05 01:07:06 +01:00
Kiyan Yazdani
d6f2dff053
Update README.md
2020-02-04 20:01:59 +01:00
kyazdani42
7ec6a588d5
init plugin
2020-02-04 19:59:14 +01:00