dotfiles/.vim/config/settings.vim

31 lines
663 B
VimL

set nocompatible
set lazyredraw
set number
set relativenumber
set autoindent
syntax on
set hlsearch
set incsearch
set textwidth=79
set colorcolumn=+2
nnoremap <F3> :set hlsearch!<CR>
let g:vimtex_view_method = 'zathura'
let g:table_mode_corner_corner='+'
let g:table_mode_header_fillchar='='
let g:grammalecte_cli_py='/usr/share/grammalecte-fr/grammalecte-cli.py'
if filereadable(expand("~/.vimrc_background"))
if &t_Co >= 256
let base16colorspace=256
source ~/.vimrc_background
else
colorscheme default
endif
endif
"nnoremap j jzz
"nnoremap k kzz
"nnoremap <Down> jzz
"nnoremap <Up> kzz
"set scrolloff=999
cmap w!! w !sudo tee > /dev/null %