dotfiles/config/nvim/init.vim

52 lines
859 B
VimL

set breakindent
set completeopt=menuone,noinsert,noselect
set noswapfile
set number
set relativenumber
set scrolloff=4
set virtualedit=block
set whichwrap=<,>,[,]
" True color
" https://gist.github.com/XVilka/8346728
if (empty($TMUX))
if (has('termguicolors'))
set termguicolors
endif
endif
" Disable cursor styling
set guicursor=
" Install xclip or xsel
set clipboard+=unnamedplus
" FZF
set rtp+=~/.fzf
" Plugins config
let g:go_fmt_command='goimports'
let g:solarized_italics=0
" vim-plug
" https://github.com/junegunn/vim-plug
call plug#begin()
" Should use
Plug 'sheerun/vim-polyglot'
Plug 'preservim/nerdtree'
Plug 'machakann/vim-sandwich'
Plug 'vim-airline/vim-airline'
" Colorschemes
Plug 'lifepillar/vim-solarized8'
Plug 'joshdick/onedark.vim'
" Languages
Plug 'fatih/vim-go'
call plug#end()
set background=dark
colorscheme onedark