Skip to content

Instantly share code, notes, and snippets.

@itsjzt
Last active November 20, 2019 15:18
Show Gist options
  • Save itsjzt/032408c52bbdb315ff5976291d057efd to your computer and use it in GitHub Desktop.
Save itsjzt/032408c52bbdb315ff5976291d057efd to your computer and use it in GitHub Desktop.
A small vim config focussed on great experience
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf.vim'
Plug 'NLKNguyen/papercolor-theme'
Plug 'mattn/emmet-vim'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
" Plug 'ap/vim-buftabline'
Plug 'sheerun/vim-polyglot'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'prettier/vim-prettier', { 'do': 'npm install' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'morhetz/gruvbox'
call plug#end()
" Buffers can be opened in hidden mode
set hidden
" tab
set tabstop=2
set softtabstop=2
set shiftwidth=2
" change the terminal's title
set title
let g:PaperColor_Theme_Options = {
\ 'theme': {
\ 'default.dark': {
\ 'transparent_background': 1
\ }
\ }
\ }
set background=dark
colorscheme PaperColor
" this makes sure you paste with right formatting
map <F10> :set paste<CR>
" FZF finder
map <C-p> :GFiles<CR>
" numbers
set number
" use mouse
set mouse=a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment