где: история команд сохранена?

Поскольку вы работаете в файле JavaScript, а не в файле Blade, вспомогательный метод route() не работает, и маршрут 'race.post' не анализируется по URL-адресу.

Попробуйте изменить URL-адрес следующим образом:

url: '/updateC'

Если вы хотите использовать помощник route() в своем JavaScript, вы должны добавить сценарий в файл Blade и json_encode значение, вы можете прочитать больше об этом в этот ответ .

17
задан xshyamx 20 April 2009 в 17:09
поделиться

5 ответов

it is stored at $HOME/.viminfo

From the vim help command:

The viminfo file is used to store:
- The command line history.
- The search string history.
- The input-line history.
- Contents of registers.
- Marks for several files.
- File marks, pointing to locations in files.
- Last search/substitute pattern (for 'n' and '&').
- The buffer list.
- Global variables.
17
ответ дан 30 November 2019 в 13:05
поделиться

Вы также можете открыть свою недавнюю команду история в минибуфере с помощью команд q: или :

 OPEN

 There are two ways to open the command-line window:
 1. From Command-line mode, use the key specified with the 'cedit' option.
    The default is CTRL-F when 'compatible' is not set.
 2. From Normal mode, use the "q:", "q/" or "q?" command.  *q:* *q/* *q?*
    This starts editing an Ex command-line ("q:") or search string ("q/" or
    "q?").  Note that this is not possible while recording is in progress (the
    "q" stops recording then).

 When the window opens it is filled with the command-line history.  The last
 line contains the command as typed so far.  The left column will show a
 character that indicates the type of command-line being edited, see
 |cmdwin-char|.

Вы можете перемещаться по этому окну и копировать, как обычный буфер. Нажатие на команду выполнит ее.

5
ответ дан 30 November 2019 в 13:05
поделиться

You are looking for the functions histget(), histadd() and histdel().

EDIT: viminfo file will contain history data from several sessions, which I guess, you were already aware of, according to the way you formulated your question.

2
ответ дан 30 November 2019 в 13:05
поделиться

It's in the file .viminfo (or _viminfo if you are on Windows). It should be in whatever passes for your home directory.

1
ответ дан 30 November 2019 в 13:05
поделиться
:h viminfo-file-name

HTH :-)

1
ответ дан 30 November 2019 в 13:05
поделиться
Другие вопросы по тегам:

Похожие вопросы: