Open ih4cku opened 8 years ago
set textwidth=80
set colorcolumn=81
set formatoptions+=amB
The filetype
is set to plaintex
instead of tex
when opening sub tex files.
see:
add following codes into .vimrc
:
let g:tex_flavor = 'latex'
P.S.
sudo apt-get install ttf-mscorefonts-installer
$
pair completion and visual mode cursor movementautocmd FileType tex inoremap $ $$<left>
" movement in insert mode
inoremap <c-l> <right>
inoremap <c-k> <left> " <c-h> is occupied by vim
Basically, I want to use
vim
to write my thesis. And I want to have features below which are commonly needed when writing code:So, I choose to use
vimtex
plugin andqpdfview
as the pdf viewer.The forward/backward search feature depends on the vim client/server mode. So, I add a alias to create a vim server when start writing.
Build options:
Set the viewer:
Forward call after success building.