public:computer:vim_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
public:computer:vim_cheat_sheet [2022/12/16 22:49] – [References] alexpublic:computer:vim_cheat_sheet [2022/12/28 17:48] – [Examples] alex
Line 920: Line 920:
   * '':%s/^(\d+.)/\n\1/g'': 라인 첫번째에 ''숫자(1자이상).''으로 된 항목 앞에 개행문자 추가 (문서전체적용)   * '':%s/^(\d+.)/\n\1/g'': 라인 첫번째에 ''숫자(1자이상).''으로 된 항목 앞에 개행문자 추가 (문서전체적용)
   * '':%s/^(\s+)*/\1*/g'' : 라인 앞에 ''* '' 추가 (문서전체적용)   * '':%s/^(\s+)*/\1*/g'' : 라인 앞에 ''* '' 추가 (문서전체적용)
 +  * '':%s/^(?:(?:1[6-9]|[2-9]\d)?\d{2})(?:(?:(\/|-|\.)(?:0?[13578]|1[02])\1(?:31))|(?:(\/|-|\.)(?:0?[13-9]|1[0-2])\2(?:29|30)))\$|^(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)0?2\3(?:29)\$|^(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:0?[1-9]|1\d|2[0-8])\$/g'' : date validation <sxh regex>
 +/^(?:(?:1[6-9]|[2-9]\d)?\d{2})(?:(?:(\/|-|\.)(?:0?[13578]|1[02])\1(?:31))|(?:(\/|-|\.)(?:0?[13-9]|1[0-2])\2(?:29|30)))$|
 +^(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)0?2\3(?:29)$|
 +^(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:0?[1-9]|1\d|2[0-8])$/gm</sxh>
 +  * '':%s/^\d{4}(\-|\/)(0?[1-9]|1[012])(\-|\/)(0[1-9]|[12][0-9]|3[01]|[1-9])'' : 날짜형식  ''yyyy-mm-dd'',  ''yyyy/mm/dd'', ''yyyy/m/d'', ''yyyy-m-d''.
  
  
Line 952: Line 957:
   * [[https://bluebreeze.co.kr/1356|Practical Vim 2판 정리 페이지 Index]]   * [[https://bluebreeze.co.kr/1356|Practical Vim 2판 정리 페이지 Index]]
   * [[https://surpassing.tistory.com/914|Chrome 확장 플러그인 Vimium 커스텀 매핑]]   * [[https://surpassing.tistory.com/914|Chrome 확장 플러그인 Vimium 커스텀 매핑]]
 +  * [[https://vimium.github.io/|vimium]]
 +  * [[https://github.com/philc/vimium/wiki|philc/vimium @github.com]]
  
  
  • public/computer/vim_cheat_sheet.txt
  • Last modified: 2023/01/01 01:06
  • by alex