Fix Vim setup snippet

This commit is contained in:
geoboom
2020-10-20 19:51:04 +08:00
committed by Kiyan Yazdani
parent 1ba25ce088
commit 85d4edc1c1

View File

@@ -10,6 +10,7 @@ Note that the old version has less features and is much slower than the new one.
## Install ## Install
Install with [vim-plug](https://github.com/junegunn/vim-plug): Install with [vim-plug](https://github.com/junegunn/vim-plug):
```vim ```vim
" master (neovim git) " master (neovim git)
Plug 'kyazdani42/nvim-web-devicons' " for file icons Plug 'kyazdani42/nvim-web-devicons' " for file icons
@@ -66,7 +67,7 @@ let g:lua_tree_bindings = {
\ 'paste': 'p', \ 'paste': 'p',
\ 'prev_git_item': '[c', \ 'prev_git_item': '[c',
\ 'next_git_item': ']c', \ 'next_git_item': ']c',
} \ }
" Disable default mappings by plugin " Disable default mappings by plugin
" Bindings are enable by default, disabled on any non-zero value " Bindings are enable by default, disabled on any non-zero value
@@ -135,6 +136,7 @@ This plugin is very fast because it uses the `libuv` `scandir` and `scandir_next
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. 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 ## Features
- Open file in current buffer or in split with FzF like bindings (`<CR>`, `<C-v>`, `<C-x>`, `<C-t>`) - Open file in current buffer or in split with FzF like bindings (`<CR>`, `<C-v>`, `<C-x>`, `<C-t>`)
- File icons with nvim-web-devicons - File icons with nvim-web-devicons
- Syntax highlighting ([exa](https://github.com/ogham/exa) like) - Syntax highlighting ([exa](https://github.com/ogham/exa) like)