Vim installation in Windows 10/11

markdown download the following zip file from official vim download page: https://www.vim.org/download.php **Runtime files** vim##rt.zip > For all the following binary versions you need this runtime archive, which includes the documentation, syntax files, etc. Always get this, unless you use the self-installing executable. create a Vim folder and extract the vim## from the zip into the Vim folder create a _vimrc in Vim folder and copy the following into it ```python " vim -u test/vimrc set nocompatible set nowrap let bundle_dir = './bundles/' " let src = 'http://github.com/gmarik/vundle.git' " Vundle Options " let g:vundle_default_git_proto = 'git' " silent execute '!mkdir -p 'bundle_dir " silent execute '!ln -f -s ../.vim/bundle/Vundle.vim 'bundle_dir filetype off syntax on runtime macros/matchit.vim " This test should be executed in "test" directory exec 'set rtp^='.bundle_dir.'Vundle.vim/' call vundle#rc(bundle_dir) "Plugin 'jcherven/jummidark.vim' Plugin 'tpope/vim-vividchalk' Plugin 'frazrepo/vim-rainbow' "call vundle#begin() Plugin 'preservim/nerdtree' "call vundle#end() Plugin 'preservim/nerdcommenter' Plugin 'molokai' " vim-scripts name " github username with dashes Bundle 'vim-scripts/ragtag.vim' " original repo Bundle 'altercation/vim-colors-solarized' " with extension Bundle 'nelstrom/vim-mac-classic-theme.git' " " invalid uri "Bundle 'nonexistinguser/yupppierepo.git' " full uri Bundle 'https://github.com/vim-scripts/vim-game-of-life' " full uri "Bundle 'https://github.com/gmarik/ingretu' " short uri Bundle 'gh:gmarik/snipmate.vim.git' Bundle 'github:mattn/gist-vim.git' " local uri stuff "Bundle '~/Dropbox/.gitrepos/utilz.vim.git' " Bundle 'file://Dropbox/.gitrepos/utilz.vim.git' " with options Bundle 'rstacruz/sparkup.git', {'rtp': 'vim/'} Bundle 'matchit.zip', {'name': 'matchit'} " Camel case Bundle 'vim-scripts/RubySinatra' " syntax issue #203 Bundle 'jimenezrick/vimerl' " Static bundle: Same name as a valid vim-scripts bundle Bundle 'latte', {'pinned' : 1} if !isdirectory(expand(bundle_dir) . '/latte') call mkdir(expand(bundle_dir) . '/latte', 'p') endif """" Basic Behavior set number " show line numbers set wrap " wrap lines set encoding=utf-8 " set encoding to UTF-8 (default was "latin1") set mouse=a " enable mouse support (might not work well on Mac OS X) set wildmenu " visual autocomplete for command menu set lazyredraw " redraw screen only when we need to set showmatch " highlight matching parentheses / brackets [{()}] set laststatus=2 " always show statusline (even with only single window) set ruler " show line and column number of the cursor on right side of statusline set visualbell " blink cursor on error, instead of beeping """" Vim Appearance syntax enable "colorscheme jummidark colorscheme vividchalk " put colorscheme files in ~/.vim/colors/ "colorscheme desert " good colorschemes: murphy, slate, molokai, badwolf, solarized filetype plugin indent on " Automatically detect file types. set wildignore+=doc " should not break helptags set wildignore+=.git " should not break clone set wildignore+=.git/* " should not break clone set wildignore+=*/.git/* " TODO: helptags fails with this " set wildignore+=doc/* " should not break clone " set wildignore+=*/doc/* set guioptions+=T "au VimEnter * BundleInstall " e test/files/erlang.erl " vim: set expandtab sts=2 ts=2 sw=2 tw=78: """" Miscellaneous settings that might be worth enabling set cursorline " highlight current line set background=dark " configure Vim to use brighter colors set autoread " autoreload the file in Vim if it has been changed outside of Vim ""NERDTree startup autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif map :NERDTreeToggle ```