Jak tworzyć foldery w Vimie (według preferencji przy użyciu NERDTree)?
Wiem jak tworzyć zmiany nazw, usuwać i przenosić pliki w NERDTree (wystarczy nacisnąć m then either [a, d, or m]
). Ale nie mogę wymyślić, jak utworzyć folder.
Czy ktoś wie jak to zrobić na NERDTree (lub po prostu w natywny "sposób"Vima)?
34
3 answers
Używasz m + a
i umieszczasz końcowe /
na nazwie węzła podrzędnego, który chcesz utworzyć.
Np. m + a + foo
tworzy plik foo
. m + a + foo/
tworzy katalog foo
.
45
Author: jamessan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-06-23 13:46:37
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-06-23 13:46:37
Cóż, zawsze możesz zrobić:
:!mkdir <directory>
Czy to pomaga? 4
Author: psmears,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-06-23 13:45:22
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-06-23 13:45:22
W oknie NERDTree naciśnij "m"; powinieneś zobaczyć menu na dole. Wpisz "a", aby dodać kod potomny. Teraz wprowadź katalog, który chcesz utworzyć, upewniając się, że na końcu dodasz"/", w przeciwnym razie skrypt utworzy plik.
2
Author: Usman Maqbool,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-07-08 14:04:07
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-07-08 14:04:07