From 21690eddc00c3ee884a66cfbce7056d49911370b Mon Sep 17 00:00:00 2001 From: Patrick Wagner <1+patrick@noreply.git.sundaylab.com> Date: Tue, 11 Aug 2026 07:12:19 +0200 Subject: [PATCH] Update vim.md --- vim.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/vim.md b/vim.md index 93a5273..b20d7e8 100644 --- a/vim.md +++ b/vim.md @@ -1 +1,36 @@ -*** \ No newline at end of file +# 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)