Skip to content

Instantly share code, notes, and snippets.

@M9k
M9k / _vimrc
Created April 3, 2026 10:55
My gvim config
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set diffexpr=MyDiff()
function MyDiff()
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
let arg1 = v:fname_in
@M9k
M9k / gist:92f93752b07299dff4a1532437c76644
Last active January 30, 2018 22:07
Per Elena - appunti TOS 12-01-2018
svn cat file
svn cat url/file
stampa a video il file indicato del BASE! Cioè la versione presente sulla repo anche nel caso sia stato modificato.
Utile da usare con pipe e redirezioni, ad esempio svn cat file > file per ripristinare un file (uguale a svn revert)
svn ls url/path
visualizza il contenuto di una path di una repo svn
svn info path/file/url
visualizza informazioni