Created
September 9, 2021 23:30
-
-
Save andrewhummus/f0e387ac0927872572d0115af018613c to your computer and use it in GitHub Desktop.
Simple monochrome vimrc for working with rust/python
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
syntax on | |
set noerrorbells | |
set tabstop=4 softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set smartindent | |
set nu | |
set nowrap | |
set smartcase | |
set noswapfile | |
set nobackup | |
set undodir=~/.vim/undodir | |
set undofile | |
set incsearch | |
set encoding=utf-8 | |
filetype plugin indent on | |
filetype on | |
set colorcolumn=80 | |
set viminfo='25,\"50,n~/.viminfo | |
autocmd FileType html setlocal tabstop=2 shiftwidth=2 softtabstop=2 | |
autocmd FileType css setlocal tabstop=2 shiftwidth=2 softtabstop=2 | |
autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 softtabstop=2 | |
set foldlevel=99 | |
set foldcolumn=0 | |
set pastetoggle=<F2> | |
nnoremap <space> za | |
" Remove garbage background | |
highlight VertSplit cterm=NONE | |
set backspace=indent,eol,start | |
set laststatus=2 | |
set clipboard=unnamed | |
set hlsearch | |
set showmatch | |
call plug#begin('~/.vim/plugged') | |
Plug 'prabirshrestha/vim-lsp' | |
Plug 'jremmen/vim-ripgrep' | |
Plug 'prettier/vim-prettier' | |
Plug 'rust-lang/rust.vim' | |
set t_Co=256 | |
colorscheme candle-grey | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'peitalin/vim-jsx-typescript' | |
Plug 'junegunn/fzf.vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'vim-scripts/indentpython.vim' | |
Plug 'leafgarland/typescript-vim' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'preservim/nerdtree' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'aditya-azad/candle-grey' | |
call plug#end() | |
nnoremap <c-p> :Files<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the colorscheme does not get set automatically, run
colorscheme candle-grey