You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iury O. G. Figueiredo edited this page Jun 24, 2020
·
7 revisions
Word completion
In INSERT mode it is useful to have completion of words. The word completion
searches for all possible combinations in all the opened files.
Write down a word that you know to appear in one of the opened files by vy, place
the cursor at the end of such a word then press the keycommand below in INSERT mode:
<Control-q>
If you keep pressing it other possible combinations will appear.
Copy the opened file path to the clipboard
Consider opening a file with:
vy /tmp/tmpfile
Then switch the focus to the AreaVi instance that maps to the file above and in EXTRA mode, press:
<Key-ampersand>
It will appear on the statusbar a msg saying the file path was copied to the clipboard.
Try pasting it somewhere.
Open cursor url
It is possible to open the url under the cursor in the default browser, switch to ALPHA mode
then press:
<Key-l>
This shortcut is useful sometimes.
Download clipboard url source
This keycomand is useful to quickly view the source code of a given url that was copied
to the clipboard.
Switch to ALPHA mode then press:
<Key-s>
Load current file in the browser
If you have an html file that is opened, it is possible to make the browser open it by switching to
ALPHA mode then pressing: