" nvim configuration scriptencoding utf-8 colorscheme solarized-dark set title set titleold=st set cursorline set noshowmode set scrolloff=3 set linebreak set ignorecase set smartcase set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab " Filter the command history without leaving the home row (PV34) cnoremap cnoremap " Move by display lines (PV47) nnoremap j gj nnoremap gj j nnoremap k gk nnoremap gk k set spelllang=en_gb let mapleader = ' ' autocmd TextYankPost * silent! lua vim.highlight.on_yank {higroup="IncSearch", timeout=250} " disable matchit plugin let loaded_matchit = 1 " ----- ALE ----- let g:ale_enabled = 0 nmap a (ale_toggle) nmap (ale_previous_wrap) nmap (ale_next_wrap) " ----- QuickTex ----- let g:quicktex_usedefault = 0 let g:quicktex_excludechar = ['\$', '(', ')', '\[', ']', '{', '}', '\.', ',', ':', ';', '-', '+', '*', '"'] " ----- VimTeX ----- nmap c (vimtex-compile) nmap v (vimtex-view) let g:vimtex_view_method = 'zathura' let g:vimtex_quickfix_open_on_warning = 0 let g:vimtex_indent_enabled = 0 let g:vimtex_indent_on_ampersands = 0 " vim: ft=vim