plumbum / dot.vim

My dot.vim files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My dot.vim files

Usage

tips

  • yaw " copy word under cursor
  • ca( " change text between brace ( )
  • da' " delete text between apo '

Makefile

  • :map :make " Call make by key
  • :set makeprg=make\ -j9 " Redefine command execute by :make

surround.vim

  • ds' ds" ds( ds[ ds< - удалить ближайшие скобки/кавычки
  • dst - удалить html тег обрамляющий текст
  • cs"[ - заменить кавычки на скобки
  • csw" - окружить слово кавычками
  • csp

    - окружить абзац тегом

Normal mode

  • ds - delete a surrounding
  • cs - change a surrounding
  • ys - add a surrounding
  • yS - add a surrounding and place the surrounded text on a new line + indent it
  • yss - add a surrounding to the whole line
  • ySs - add a surrounding to the whole line, place it on a new line + indent it
  • ySS - same as ySs

Visual mode

  • s - in visual mode, add a surrounding
  • S - in visual mode, add a surrounding but place text on new line + indent it

Insert mode

  • - in insert mode, add a surrounding
  • - in insert mode, add a new line + surrounding + indent
  • s - same as
  • S - same as

YCM

  • Make symlink:
  • ./install.sh --clang-completer --omnisharp-completer --system-libclang --system-boost

About

My dot.vim files


Languages

Language:Vim Script 100.0%