Bra*_*and 9 vim ruby-on-rails nerdtree
可能重复:
gVim会在右侧显示每个带星号的文件(和粗体)?
我正在使用带有nerdtree插件的vim进行我的rails项目,并且一些文件显示*附加到文件名.它们也是与其他文件不同的颜色.
edit.html.erb*
index.html.erb
show.html.erb*
Run Code Online (Sandbox Code Playgroud)
什么*意思?
小智 14
关键是可执行位.例如,如果您这样做:
$touch no_exec_file exec_file
$chmod -v u+x exec_file
$ls -lF
total 0
-rwxr--r-- 1 reoo reoo 0 2012-09-19 19:14 exec_file*
-rw-r--r-- 1 reoo reoo 0 2012-09-19 19:14 no_exec_file
Run Code Online (Sandbox Code Playgroud)
你可以在exec_file中看到'*',现在,如果你打开VIM,你可以在exec_file中再次看到'*'符号.
因此,NERDTree插件显示可由用户执行的那些文件的"*"符号.