2010-09-01から1ヶ月間の記事一覧
The recommended way to remove DOS line endings (^M) in Vim is the following :s command. :%s/\r//Source: http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix
This is a clear and informative article about Vim customization:http://nvie.com/posts/how-i-boosted-my-vim/
I have a difficult time remembering the regex escaping rules in vim, so here is an example that I might refer to later.Add <br> to all lines: :%s/\(.*\)/\1\/
More proxy woes:https://bugs.eclipse.org/bugs/show_bug.cgi?id=306786
The Maven plugin for Eclipse by default uses an embedded Maven installation which is Maven 3.0. It turns out this has some incompatibilities with Maven 2.x and you are likely better off using Maven 2.x, which is fortunately still the versi…
:e! ++enc=utf-8 Reopens current file with UTF-8 encoding :e ++enc=utf-8 filename.txt Opens filename.txt with UTF-8 encodingSee :help encoding-values for a list of supported encodings. Typical ones are latin1, utf-8, euc-jp, sjis, big5.