Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/55.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails vim nerdtree文件显示为*追加_Ruby On Rails_Vim_Nerdtree - Fatal编程技术网

Ruby on rails vim nerdtree文件显示为*追加

Ruby on rails vim nerdtree文件显示为*追加,ruby-on-rails,vim,nerdtree,Ruby On Rails,Vim,Nerdtree,可能重复: 我正在为我的rails项目使用vim with nerdtree插件,其中一些文件会在文件名后附加一个*。它们的颜色也与其他文件不同 edit.html.erb* index.html.erb show.html.erb* *是什么意思?这意味着您的文件是可执行的,这意味着您授予了它们可执行的权限。或者是像.exe这样的文件。键是可执行位。例如,如果您这样做: $touch no_exec_file exec_file $chmod -v u+x exec_file $ls -l

可能重复:

我正在为我的rails项目使用vim with nerdtree插件,其中一些文件会在文件名后附加一个
*
。它们的颜色也与其他文件不同

edit.html.erb*
index.html.erb
show.html.erb*

*
是什么意思?

这意味着您的文件是可执行的,这意味着您授予了它们可执行的权限。或者是像.exe这样的文件。

键是可执行位。例如,如果您这样做:

$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
您可以在exec_文件中看到“*”,现在,如果打开VIM,您可以在exec_文件中再次看到“*”符号

因此,NERDTree插件为用户可以执行的文件显示“*”符号