Skip to content

Instantly share code, notes, and snippets.

@evantravers
Created October 16, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evantravers/b052c8276676da489deb589d6122cce6 to your computer and use it in GitHub Desktop.
Save evantravers/b052c8276676da489deb589d6122cce6 to your computer and use it in GitHub Desktop.
" Load plug
call plug#begin('~/.config/nvim/bundle')
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install --all' }
Plug 'junegunn/fzf.vim'
Plug 'junegunn/vim-plug'
Plug 'mileszs/ack.vim'
Plug 'tomtom/tcomment_vim'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-git'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-rhubarb'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-vinegar'
Plug 'wellle/targets.vim'
call plug#end()
" Load plugins
filetype plugin indent on
"=============================================
" Options
"=============================================
" Color
set termguicolors
syntax on
" Search
set ignorecase
set smartcase
" Tab completion
set wildmode=list:longest,full
set wildignore=*.swp,*.o,*.so,*.exe,*.dll
" Scroll
set scrolloff=3
" Tab settings
set ts=2
set sw=2
set expandtab
" Hud
set ruler
set number
set nowrap
set fillchars=vert:\│
set colorcolumn=80
" Buffers
set hidden
" Use relative line numbers
set relativenumber
" FZF
nnoremap <c-p> :FZF<cr>
nnoremap <localleader><space> :Buffers<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment