🌱 Digital garden
  • Welcome
  • Courses
    • Fundamentals of 2D Game Engines with C++ SDL and Lua
      • Dependencies and project structure
  • Computer science
    • Basic
  • Sound
    • FM synthesis
  • Development
    • Design system
    • Text editors
      • Vim
      • Emacs
      • VS Code
    • Databases
      • MongoDB
    • NES Development
    • Programming languages
      • Shell
      • Javascript
        • Arrays
        • JSDoc
    • UML
    • Web development
      • HTTP
      • GraphQL
      • PWA
      • CSS
      • REST
      • Web scrapping
      • React
        • React hooks
      • HTML5
        • Canvas
          • WebGL
          • Context2D
    • Game development
      • Pixel art
      • AABB collision
      • Sprite
      • Game loop
  • Education
    • Tools
      • Anki
  • Electronic
    • Components
      • Opto-isolator
  • Image quality
  • Languages
    • English
  • Utilities
    • Docker
    • SSH
  • Lifestyle
    • Minimalism
    • Reading
  • Science
    • Math
      • Fractions
  • Productivity
    • Bullet journaling
    • Typing
  • Operating system
    • Unix
    • Linux
    • MacOS
  • Learning resources
  • Research
Powered by GitBook
On this page
  • Notes
  • Plugin system
  • Links

Was this helpful?

  1. Development
  2. Text editors

Vim

Vim is the powerful highly configurable text editor with extensible plugin system and great documentation.

Notes

Plugin system

Install plugins

Vim 8+ has built-in plugin system. :help packages

  1. Make dir and clone plugin repository

mkdir ~/.vim/pack/plugins/start/

git clone https://github.com/prettier/vim-prettier ~/.vim/pack/plugins/start/vim-prettier
  1. Enable auto load plugins at vim starts. In .vimrc add following command:

packloadall

Resize window

:res +25

Surround

:%s/target/{\0} # {target}

Links

PreviousText editorsNextEmacs

Last updated 4 years ago

Was this helpful?

- Official

- Vim challenges

- Vim tips wiki

- Vim color scheme generator

- Another color scheme generator

Vim Conf 2020
Check my .vimrc file
https://www.vim.org
https://www.vimgolf.com/
https://vim.fandom.com/wiki/Vim_Tips_Wiki
pintovim.dev
Vim Colors
vim cheatsheet