change icon selection
This commit is contained in:
13
README.md
13
README.md
@@ -20,10 +20,16 @@ let g:lua_tree_size = 40 "30 by default
|
||||
let g:lua_tree_ignore = [ '.git', 'node_modules', '.cache' ] "empty by default, not working on mac atm
|
||||
let g:lua_tree_auto_open = 1 "0 by default, opens the tree when typing `vim $DIR` or `vim`
|
||||
let g:lua_tree_auto_close = 1 "0 by default, closes the tree when it's the last window
|
||||
let g:lua_tree_show_folders = 0 "1 by default, do not show folder icons if you font doesn't render them
|
||||
let g:lua_tree_show_git_icons = 0 "1 by default, do not show git icons if you font doesn't render them
|
||||
let g:lua_tree_follow = 1 "0 by default, this option will bind BufEnter to the LuaTreeFindFile command
|
||||
" :help LuaTreeFindFile for more info
|
||||
let g:lua_tree_show_icons = {
|
||||
\ 'git': 1,
|
||||
\ 'folders': 0,
|
||||
\ 'files': 0,
|
||||
\}
|
||||
"If 0, do not show the icons for one of 'git' 'folder' and 'files'
|
||||
"1 by default, notice that if 'files' is 1, it will only display
|
||||
"if web-devicons is installed and on your runtimepath
|
||||
|
||||
nnoremap <C-n> :LuaTreeToggle<CR>
|
||||
nnoremap <leader>r :LuaTreeRefresh<CR>
|
||||
@@ -67,9 +73,6 @@ nnoremap <leader>n :LuaTreeFindFile<CR>
|
||||
- refactor all `system` call to `libuv` functions, with better error management
|
||||
- bufferize leafs of node being closed so when opening again the node, we open every directory that was previously open
|
||||
|
||||
### Code
|
||||
- change `lua_tree_show...` to an object
|
||||
|
||||
### Features
|
||||
- sneak like cd command to find a file/directory
|
||||
- better default colors (use default vim groups)
|
||||
|
||||
Reference in New Issue
Block a user