2017-10-21 12:17:30 +02:00
|
|
|
set nocompatible
|
2018-03-06 14:47:28 +01:00
|
|
|
set lazyredraw
|
2017-10-21 12:17:30 +02:00
|
|
|
set number
|
|
|
|
set relativenumber
|
|
|
|
set autoindent
|
|
|
|
syntax on
|
|
|
|
set hlsearch
|
|
|
|
set incsearch
|
|
|
|
set textwidth=79
|
|
|
|
set colorcolumn=+2
|
2018-03-06 14:47:28 +01:00
|
|
|
nnoremap <F3> :set hlsearch!<CR>
|
|
|
|
let g:vimtex_view_method = 'zathura'
|
2017-10-21 12:17:30 +02:00
|
|
|
let g:table_mode_corner_corner='+'
|
|
|
|
let g:table_mode_header_fillchar='='
|
2018-07-29 15:08:47 +02:00
|
|
|
let g:grammalecte_cli_py='/usr/bin/grammalecte-cli.py'
|
2017-10-21 12:17:30 +02:00
|
|
|
if filereadable(expand("~/.vimrc_background"))
|
|
|
|
if &t_Co >= 256
|
|
|
|
let base16colorspace=256
|
2018-03-06 14:47:28 +01:00
|
|
|
source ~/.vimrc_background
|
2018-07-29 15:08:47 +02:00
|
|
|
hi Normal guibg=NONE ctermbg=NONE
|
|
|
|
elseif has("gui_running")
|
|
|
|
source ~/.vimrc_background
|
|
|
|
set guifont=xos4\ Terminus
|
2018-03-06 14:47:28 +01:00
|
|
|
else
|
|
|
|
colorscheme default
|
2017-10-21 12:17:30 +02:00
|
|
|
endif
|
|
|
|
endif
|
2018-03-06 14:47:28 +01:00
|
|
|
"nnoremap j jzz
|
|
|
|
"nnoremap k kzz
|
|
|
|
"nnoremap <Down> jzz
|
|
|
|
"nnoremap <Up> kzz
|
|
|
|
"set scrolloff=999
|
2018-07-29 15:08:47 +02:00
|
|
|
let g:livepreview_previewer = 'zathura'
|
|
|
|
let g:livepreview_engine = 'pdflatex' . ' -interaction=nonstopmode --shell-escape'
|
2017-11-22 01:27:01 +01:00
|
|
|
cmap w!! w !sudo tee > /dev/null %
|
2018-03-06 14:47:28 +01:00
|
|
|
|