" Smart indent and and better tab length set formatoptions-=cro set tabstop=3 softtabstop=3 set shiftwidth=3 set expandtab set smartindent set nu set relativenumber set nohlsearch set hidden set incsearch set scrolloff=8 set colorcolumn=80 set signcolumn=yes " Remove arrow keys to train my fingers noremap noremap noremap noremap " set to space nnoremap let mapleader=" " call plug#begin('~/.vim/plugged') " Syntax highlighting and autocomplete for nvim Plug 'neoclide/coc.nvim', {'branch': 'release'} " FZF for better file jumping. Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' " Theme and Syntax Highlighting Plug 'morhetz/gruvbox' call plug#end() " Set colorscheme let g:gruvbox_contrast_dark = 'hard' " Transparent background with gruvbox theme colorscheme gruvbox set background=dark hi Normal guibg=NONE ctermbg=NONE " FZF key bindings nnoremap ff Files nnoremap fg Rg nnoremap fb Buffers " use for trigger completion and navigate to the next complete item function! s:check_back_space() abort let col = col('.') - 1 return !col || getline('.')[col - 1] =~ '\s' endfunction inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : \ coc#refresh()