My dotfiles. Period.

lhvl.vim 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. "=============================================================================
  2. " $Id: lhvl.vim 520 2012-03-19 18:09:15Z luc.hermitte $
  3. " File: plugin/lhvl.vim {{{1
  4. " Author: Luc Hermitte <EMAIL:hermitte {at} free {dot} fr>
  5. " <URL:http://code.google.com/p/lh-vim/>
  6. " License: GPLv3 with exceptions
  7. " <URL:http://code.google.com/p/lh-vim/wiki/License>
  8. " Version: 3.0.0
  9. " Created: 27th Apr 2010
  10. " Last Update: $Date: 2012-03-19 19:09:15 +0100 (Mon, 19 Mar 2012) $
  11. "------------------------------------------------------------------------
  12. " Description:
  13. " Non-function resources from lh-vim-lib
  14. "
  15. "------------------------------------------------------------------------
  16. " Installation:
  17. " Drop the file into {rtp}/plugin
  18. " History:
  19. " v2.2.1 first version
  20. " v3.0.0 GPLv3
  21. " TODO: «missing features»
  22. " }}}1
  23. "=============================================================================
  24. " Avoid global reinclusion {{{1
  25. let s:k_version = 300
  26. if &cp || (exists("g:loaded_lhvl")
  27. \ && (g:loaded_lhvl >= s:k_version)
  28. \ && !exists('g:force_reload_lhvl'))
  29. finish
  30. endif
  31. let g:loaded_lhvl = s:k_version
  32. let s:cpo_save=&cpo
  33. set cpo&vim
  34. " Avoid global reinclusion }}}1
  35. "------------------------------------------------------------------------
  36. " Commands and Mappings {{{1
  37. " Moved from lh-cpp
  38. command! PopSearch :call histdel('search', -1)| let @/=histget('search',-1)
  39. " Commands and Mappings }}}1
  40. "------------------------------------------------------------------------
  41. " Functions {{{1
  42. " Functions }}}1
  43. "------------------------------------------------------------------------
  44. let &cpo=s:cpo_save
  45. "=============================================================================
  46. " vim600: set fdm=marker: