1
0

Update vim.md

This commit is contained in:
2026-08-11 07:12:19 +02:00
parent 61708a89d6
commit 21690eddc0
+36 -1
View File
@@ -1 +1,36 @@
*** # VIM tips
## How to install plugins
Install vim plugin manager
```sh
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
```
Add plugin location to .vimrc
```sh
call plug#begin()
Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
Plug 'rust-lang/rust.vim'
call plug#end()
```
Install plugin from within vim
```sh
:PlugInstall
```
## Plugins
tpope/vim-surround
### How to use
Mark text to be surrounded: Ctrl + v > $
St (Write tag)