On Windows, Vim looks for its startup configuration (the vimrc file) in following order:
1. $VIM/vimrc
2. $HOME/_vimrc
3. $VIM/_vimrc
Cygwin's Vim looks for its startup configuration in following order:
1. $VIM/vimrc
2. $HOME/.vimrc
For Windows, $VIM is typically c:\program files\vim.
For Cygwin, $VIM is typically /usr/share/vim
In order to use a single location for my custom vim settings, I put them in c:\cygwin\home\username\.vimrc , and I add "source c:\cygwin\home\username\.vimrc " to the bottom of c:\program files\vim\vimrc (the sole addition to that file).
Useful command-line options for GNU make
-n : Print the commands, but do not execute them
-e : variables from the environment take precedence
-d : print debugging info
find: -print0
xargs: -0 -r
cd "/opt/gnuplot/demo"
load "filename"
plot sin(x)
replot cos(x)
Links:
http://www.ibm.com/developerworks/library/l-gnuplot/
Printing to a PDF file:
set terminal pdf
set output "graph.pdf"
plot [0:100] "file.txt" with lines;
set terminal x11