vim :gui trick and undo-trick
So on a quiet Sunday evening whilst learning some new vim features, whilst editing a file in vi, you can type in
:gui So that the file will be closed and opened up in gvim, which only works if your using X. Is there a reverse vim command to close gvim and re-open the file in a terminal ? I have searched the documentation and so far cannot find it anywhere. Also I don't understand why Google does'nt search for ':gui' and instead searched for 'gui' which slows down my searching for solutions, even if using the exact option :-) Cheers |
I think you can write it. But you will need to launch a new xterm with parameters like '-e' to launch vim. ':function' lets you define a function; see also ':command'.
Google ignores ':' because it has no database index on it. |
Google doesn't index punctuation, which is very annoying.
|
I think your right. I can go forwards, and load up the file into gvim but not the reverse. I can't ask gvim to close the file and load it up in vim on a terminal.
Thanks all anyway. |
All times are GMT -5. The time now is 08:13 PM. |