Skip to content

Latest commit

 

History

History
executable file
·
55 lines (40 loc) · 768 Bytes

README.md

File metadata and controls

executable file
·
55 lines (40 loc) · 768 Bytes

Vim

Quick Start

  1. Clone .vim:
  git clone git@github.com:JARVIS-VOVA/vim.git ~/.vim
  1. Clone Vundle:
  git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  1. .vimrc
  ln -s  ~/.vim/.vimrc ~/.vimrc
  1. Open vim and run next command:
  :PlugInstall
  1. Lists configured plugins
  :PluginList`

Create macros

  q  # start recording
  l  # press any key
  write macros
  q  # end recording
  @l # use macros


  # List macros
  @l - console.log('')
  @p - 3.times { p 1 }
  @b - binding.pry

Configure global gitignore

  git config --get core.excludesfile # check place file
  echo '*.swp' >> ~/.gitignore_global
  git config --global core.excludesfile '~/.gitignore'