seulcoding

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

vi 1

Incrementing selected numbers in vim

Vim command for incrementing numbers sequentially. my_array[1] = 0; my_array[2] = 0; my_array[3] = 0; my_array[4] = 0; my_array[5] = 0; my_array[6] = 0; my_array[7] = 0; If you want to increment numbers inside my_array 1. with cursor on the first 0 in the first line 2. blockwise select with Ctrl-V enter blockwise-visual mode and select all wanted number Vim keys are will be... 6j # or simply jjj..

tools/vim 2021.03.31
이전
1
다음
더보기
프로필사진

seulcoding

  • 분류 전체보기 (594)
    • backend (269)
      • computer science (5)
      • django (80)
      • django-rest-framework (2)
      • python (41)
      • ubuntu (29)
      • sql (postgres) (21)
      • R (2)
      • 데이터분석 (6)
      • docker (21)
      • blockchain (7)
      • rust (2)
      • kubernetes (5)
      • kubernetes in action (18)
      • kubernetes docs (10)
    • frontend (38)
      • html & css (13)
      • javascript (6)
      • React (0)
      • react.js (0)
      • vue.js (14)
      • node.js (2)
    • tools (185)
      • aws (9)
      • linux (22)
      • git (8)
      • vim (92)
      • vimscript (0)
      • mac (28)
      • terminal (8)
      • jekyll blog (5)
      • apis (3)
    • etc (48)
      • 안드로이드 (1)
      • 02_1.오늘의인턴 (25)
      • 생활코딩-웹프로그래밍 (9)
      • introducing python: 처음 시작하는.. (6)
    • Life & Idea (24)
      • 도쿄,하코네 (7)
      • 비계 (2)
      • 행복 (8)
    • Toy Project (1)

Tag

Shell Script, Mac, vimscript, Kubernetes, Folding, Docker, POD, external command, k8s, kubernetes in action, Service, vim, configmap, backend, section, helm, django, Shell, Linux, fold,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바