Last active
March 30, 2020 14:39
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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