Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
public:computer:vim_cheat_sheet [2022/09/13 13:34] – [References] alex | public:computer:vim_cheat_sheet [2022/12/16 22:39] – [References] alex |
---|
:PluginInstall | :PluginInstall |
</sxh> | </sxh> |
| |
| |
| |
| ===== Examples ===== |
| * '':%s/^(\d+.)/\n\1/g'': 라인 첫번째에 ''숫자(1자이상).''으로 된 항목 앞에 개행문자 추가 (문서전체적용) |
| * '':%s/^(\s+)*/\1*/g'' : 라인 앞에 ''* '' 추가 (문서전체적용) |
| |
| |
===== References ===== | ===== References ===== |
| *{{youtube>cY0JxzENBJg}} https://youtu.be/cY0JxzENBJg |
| * command mode / edit mode |
| * i |
| * :q, :q!, :w, :w!, :wq, wq! |
| * <esc> i, a, I, A |
| * h, j, k, l, 0, $, w, b, 3w, 8w, |
| * H 화면위, M 화면 중간, L 화면끝, gg, G, 20G, ^u, ^d, {, } |
| * x, dd yy, p, *p |
| * command + object; d3w, dit, d, y, c, 3w, 3b, aw, at, ap, as, it, i", ip |
| * ., u, ^R |
| * **daw** delete a word, di{, di(, da(, di', da', ci[, df(, dt(, d/(sh, d/use |
| * /, +n, +N |
| * v, vaw, ^V |
* [[https://medium.com/sunhyoups-story/vim-%EC%97%90%EB%94%94%ED%84%B0-%EC%9D%B4%EC%81%98%EA%B2%8C-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-5b6b8d546017|vim 에디터 이쁘게 사용하기]] | * [[https://medium.com/sunhyoups-story/vim-%EC%97%90%EB%94%94%ED%84%B0-%EC%9D%B4%EC%81%98%EA%B2%8C-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-5b6b8d546017|vim 에디터 이쁘게 사용하기]] |
* [[https://www.lesstif.com/system-admin/vim-42074135.html|vim 메뉴 및 폰트 설정]] | * [[https://www.lesstif.com/system-admin/vim-42074135.html|vim 메뉴 및 폰트 설정]] |
* [[https://woonizzooni.tistory.com/entry/Windows10-%ED%99%98%EA%B2%BD%EC%97%90%EC%84%9C-vim-%ED%99%98%EA%B2%BD-%EC%84%A4%EC%A0%95|Windows10 환경에서 vim 환경 설정]] | * [[https://woonizzooni.tistory.com/entry/Windows10-%ED%99%98%EA%B2%BD%EC%97%90%EC%84%9C-vim-%ED%99%98%EA%B2%BD-%EC%84%A4%EC%A0%95|Windows10 환경에서 vim 환경 설정]] |
* [[http://gypark.pe.kr/wiki/Vi%EB%A1%9C%EB%AC%B8%EC%9E%90%EC%97%B4%EC%B9%98%ED%99%98%ED%95%98%EA%B8%B0|Vi로문자열치환하기]] | * [[http://gypark.pe.kr/wiki/Vi%EB%A1%9C%EB%AC%B8%EC%9E%90%EC%97%B4%EC%B9%98%ED%99%98%ED%95%98%EA%B8%B0|Vi로문자열치환하기]] |
| * [[https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=nahaeya100&logNo=140122974185|이클립스 vRapper 사용하기]] |
| * [[https://m.blog.naver.com/quantumgaea/222160587948|vimium (chrome extension]] |
| |
| |