Skip to content

Instantly share code, notes, and snippets.

@edew
Last active March 30, 2020 14:39
Show Gist options
  • Save edew/2b09254c3701eae608b74fdbd8d1a137 to your computer and use it in GitHub Desktop.
Save edew/2b09254c3701eae608b74fdbd8d1a137 to your computer and use it in GitHub Desktop.
My basic vimrc. Used with vim-polyglot, vim-prettier, vim-sensible, and vim-sleuth.
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
cd ~/.vim/bundle
git clone https://github.com/sheerun/vim-polyglot > /dev/null 2>&1
git clone https://github.com/prettier/vim-prettier > /dev/null 2>&1
git clone https://github.com/tpope/vim-sensible > /dev/null 2>&1
git clone https://github.com/tpope/vim-sleuth > /dev/null 2>&1
ls
execute pathogen#infect()
set nocompatible
syntax on
filetype plugin indent on
set path+=**
set wildignore+=**/node_modules/**
set wildmenu
let mapleader=","
set number
set relativenumber
set ignorecase
set noswapfile
inoremap <leader>k <ESC>
nnoremap <C-L> :bn<CR>
nnoremap <C-H> :bp<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment