45 lines
707 B
VimL
45 lines
707 B
VimL
set breakindent
|
|
set completeopt=menuone,noinsert,noselect
|
|
set noswapfile
|
|
set number
|
|
set relativenumber
|
|
set scrolloff=4
|
|
set virtualedit=block
|
|
set whichwrap=<,>,[,]
|
|
|
|
" tabstop
|
|
" https://www.reddit.com/r/vim/wiki/tabstop
|
|
set tabstop=8
|
|
set softtabstop=4
|
|
set shiftwidth=4
|
|
set expandtab
|
|
|
|
" Mouse support
|
|
set mouse=a
|
|
|
|
" Clipboard support
|
|
set clipboard+=unnamedplus
|
|
|
|
" FZF
|
|
set rtp+=~/.fzf
|
|
|
|
" Plugins config
|
|
let g:lightline={'colorscheme':'onedark'}
|
|
|
|
" vim-plug
|
|
" https://github.com/junegunn/vim-plug
|
|
call plug#begin()
|
|
|
|
" Should use
|
|
Plug 'preservim/nerdtree'
|
|
Plug 'itchyny/lightline.vim'
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
" Colorschemes
|
|
Plug 'joshdick/onedark.vim'
|
|
|
|
call plug#end()
|
|
|
|
set background=dark
|
|
colorscheme onedark
|