-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change from nerdtree from vimfiler,configration for the same behavior! #344
Comments
Thanks. But please use the Wiki for it. |
i have read all the issue which is wrote by english,and i find #179 . autocmd FileType vimfiler nmap <silent><buffer><expr> <CR> vimfiler#smart_cursor_map(
\ "\<Plug>(vimfiler_expand_tree)",
\ "\<Plug>(vimfiler_edit_file)") but it is not exactly same as nerdtree,in nerd tree |
sorry,by default enter is cd or edit,it is my fault |
sorry no need to change the Enter now,i am try to be used to vimfiler ,and i think it is better |
but it is better to auto open file in split windows ,when current file has not be saved. |
It is the same feature with unite.vim |
do you mean we must save current buffer before open file in unite or vimfiler? |
If you want to save the file. |
yes ,if i do not save,the file change will be clear,but if it is not hard to impletments,will add this feature? |
@wsdjeg No. The change is not clear if you have set |
ok thanks , if so ,every thing will be ok,i am just trying to be accustomed to you plugin. |
sorry @Shougo still get the error,and i can not find how to use VimFiler command with hidden,all of my VimFiler config is here, NeoBundle 'Shougo/vimfiler'
let s:hooks = neobundle#get_hooks("vimfiler")
function! s:hooks.on_source(bundle) abort
let g:vimfiler_as_default_explorer = 1
let g:vimfiler_restore_alternate_file = 1
let g:vimfiler_tree_indentation = 1
let g:vimfiler_tree_leaf_icon = '¦'
let g:vimfiler_tree_opened_icon = '▼'
let g:vimfiler_tree_closed_icon = '▷'
let g:vimfiler_file_icon = '-'
let g:vimfiler_readonly_file_icon = '*'
let g:vimfiler_marked_file_icon = '√'
"let g:vimfiler_preview_action = 'auto_preview'
let g:vimfiler_ignore_pattern =
\ '^\%(\.git\|\.idea\|\.DS_Store\|\.vagrant\|.stversions'
\ .'\|node_modules\|.*\.pyc\)$'
if has('mac')
let g:vimfiler_quick_look_command =
\ '/Applications//Sublime\ Text.app/Contents/MacOS/Sublime\ Text'
else
let g:vimfiler_quick_look_command = 'gloobus-preview'
endif
call vimfiler#custom#profile('default', 'context', {
\ 'explorer' : 1,
\ 'winwidth' : 30,
\ 'winminwidth' : 30,
\ 'toggle' : 1,
\ 'columns' : 'type',
\ 'auto_expand': 1,
\ 'direction' : 'rightbelow',
\ 'parent': 0,
\ 'explorer_columns' : 'type',
\ 'status' : 1,
\ 'safe' : 0,
\ 'split' : 1,
\ 'no_quit' : 1,
\ 'force_hide' : 0,
\ })
autocmd FileType vimfiler call s:vimfilerinit()
autocmd BufEnter * if (winnr('$') == 1 && &filetype ==# 'vimfiler') |
\ q | endif
function! s:vimfilerinit()
set nonumber
set norelativenumber
endf
|
Why don't you add |
oh my gad,just read unite src,i find it will use &hidden,so thanks. |
hi @Shougo I am trying to change my file explorer from nerdtree to vimfiler,but i found there are many difference between them,it is hard for me to let vimfiler words same as nerdtree.
if i finished my config,i will share it here.
The text was updated successfully, but these errors were encountered: