50 lines
826 B
VimL
50 lines
826 B
VimL
filetype plugin on
|
|
|
|
syntax on
|
|
|
|
" numbering
|
|
set number
|
|
set relativenumber
|
|
|
|
" indenting
|
|
set autoindent
|
|
set smartindent
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
filetype plugin indent on
|
|
|
|
" softwrapping
|
|
set wrap linebreak
|
|
|
|
" search
|
|
set incsearch
|
|
"set nohlsearch
|
|
set ignorecase
|
|
set smartcase
|
|
" live changes when !s/search/replace/
|
|
set inccommand=split
|
|
|
|
" theme
|
|
set termguicolors
|
|
"set background=dark
|
|
"colorscheme solarized8
|
|
autocmd vimenter * ++nested colorscheme gruvbox
|
|
|
|
" transparancy for background
|
|
"hi Normal guibg=NONE ctermbg=NONE
|
|
|
|
" utf-8 encoding
|
|
set encoding=utf8
|
|
set fileencoding=utf8
|
|
|
|
" Remapping
|
|
noremap <C-Space> :Files<Enter>
|
|
|
|
" plugins
|
|
call plug#begin('~/.local/share/nvim/site/plugged')
|
|
Plug 'lervag/vimtex'
|
|
Plug 'morhetz/gruvbox'
|
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
|
Plug 'junegunn/fzf.vim'
|
|
call plug#end()
|