Posts tagged with “vim”
Vim on Vista
This is going to be a hardcore nerd post and shouldn’t be read by people who care about me.
I’ve noticed that on some Vista machine GVIM (which is Vim + GUI on Windows) doesn’t allow copying and pasting through Ctrl+X / Ctrl+C / Ctrl+V like other apps.
To solve this problem just add this line to your _vimrc file (which under Vista is located here: C:\Users\Yourusername\_vimrc):
source $VIMRUNTIME/mswin.vim
That command will load and execute the content of mswin.vim when _vimrc is loaded, solving the conflicts between Vim and Windows keyboard shortcuts.
PS: i’ll try to keep up with the translation of my italian posts as promised
Vim in Vista
Sto per scrivere un post da nerd allo stadio terminale, la lettura è sconsigliata a tutti coloro che mi vogliono bene.
Installando GVIM (che è poi la versione con GUI di Vim sotto Windows) su alcune macchine ho notato che non è possibile copiare e incollare il testo come nelle altre applicazioni utilizzando Ctrl+X / Ctrl+C / Ctrl+V.
Per risolvere questo problema basta inserire nel vostro vimrc (su Vista si trova in C:\Users\Nomeutente\_vimrc) questa riga:
source $VIMRUNTIME/mswin.vim
Con questo comando si collegherà al nostro _vimrc il file mswin.vim, che risolve i conflitti tra le scorciatoie da tastiera di Windows e quelle di Vim.