remove custom gx command in favor of netrw functionnalities and add documentation for netrw hijack

This commit is contained in:
kiyan
2021-02-21 12:27:31 +01:00
parent 894acce5ef
commit ce2420b9da
4 changed files with 14 additions and 26 deletions

View File

@@ -130,7 +130,6 @@ highlight NvimTreeFolderIcon guibg=blue
- `I` will toggle visibility of folders hidden via |g:nvim_tree_ignore|
- `H` will toggle visibility of dotfiles (files/folders starting with a `.`)
- `R` will refresh the tree
- `gx` opens the file with the `open` command on MACOS and `xdg-open` in linux
- Double left click acts like `<CR>`
- Double right click acts like `<C-]>`
@@ -138,8 +137,6 @@ highlight NvimTreeFolderIcon guibg=blue
This plugin is very fast because it uses the `libuv` `scandir` and `scandir_next` functions instead of spawning an `ls` process which can get slow on large files when combining with `stat` to get file informations.
The Netrw vim plugin is disabled, hence features like `gx` don't work across your windows/buffers. You could use a plugin like [this one](https://github.com/stsewd/gx-extended.vim) if you wish to use that feature.
## Features
- Open file in current buffer or in split with FzF like bindings (`<CR>`, `<C-v>`, `<C-x>`, `<C-t>`)