Monday, March 29, 2010

VIM TIPS

VIM TIPS
 
  You can substitute the search string for upper and lower case ( http://vim.wikia.com/wiki/Switching_case_of_characters ):
    :%s/\(foobar\)/\L\1/gc
 
 

PERFORCE TIPS:

PERFORCE TIPS:
 
 
# USEFULL ALIASES:
  # PERFORCE SHORTCUTS
  alias p4_client echo `p4 info | perl -ne 's/Client name: (.*)$/print $1/e'`
  alias p4_changes p4 changes -c `p4_client`
  alias myp4v p4v -c `p4_client` -u ${USER} -p ${P4PORT}