Switched from letex-preview to vimtex
+ added vimtex as submodule * configured vim fro vimtex
This commit is contained in:
parent
64769dd9c0
commit
e5be9b7d75
9
.gitmodules
vendored
9
.gitmodules
vendored
@ -1,9 +1,6 @@
|
||||
[submodule "bundle/vim-pathogen"]
|
||||
path = bundle/vim-pathogen
|
||||
url = https://github.com/tpope/vim-pathogen
|
||||
[submodule "bundle/vim-latex-live-preview"]
|
||||
path = bundle/vim-latex-live-preview
|
||||
url = https://github.com/xuhdev/vim-latex-live-preview.git
|
||||
[submodule "bundle/vim-misc"]
|
||||
path = bundle/vim-misc
|
||||
url = https://github.com/xolox/vim-misc
|
||||
@ -19,3 +16,9 @@
|
||||
[submodule "bundle/vim-header"]
|
||||
path = bundle/vim-header
|
||||
url = https://github.com/alpertuna/vim-header
|
||||
[submodule "vimtex"]
|
||||
path = vimtex
|
||||
url = https://github.com/lervag/vimtex
|
||||
[submodule "bundle/vimtex"]
|
||||
path = bundle/vimtex
|
||||
url = https://github.com/lervag/vimtex
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =7
|
||||
let g:netrw_dirhist_1='/var/log'
|
||||
let g:netrw_dirhist_2='/var/log/journal/bd908959bce6457c81006d84ed7c138c'
|
||||
let g:netrw_dirhist_3='/etc/X11/xorg.conf.d'
|
||||
let g:netrw_dirhist_4='/home/main'
|
||||
let g:netrw_dirhist_5='/usr/share/X11/xorg.conf.d'
|
||||
let g:netrw_dirhist_6='/home/main/AUR/adms/.git'
|
||||
let g:netrw_dirhist_7='/home/main/AUR/scilab/pkg'
|
||||
1
bundle/vimtex
Submodule
1
bundle/vimtex
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit eb4c21f969f39f4c68cff6a42a45024427e633ac
|
||||
@ -7,8 +7,10 @@ set enc=utf-8
|
||||
|
||||
"---- plugins
|
||||
|
||||
"vim-latex-preview
|
||||
autocmd Filetype tex setl updatetime=1000
|
||||
let g:livepreview_previewer = 'evince'
|
||||
let g:livepreview_engine = 'xelatex'
|
||||
"vimtex
|
||||
let g:vimtex_fold_enable = 1
|
||||
let g:tex_flavor = 'latex'
|
||||
let g:vimtex_view_general_viewer = 'evince'
|
||||
let g:vimtex_compiler_method = 'latexmk'
|
||||
let g:vimtex_compiler_latexmk['options'] = '-shell-escape'
|
||||
|
||||
|
||||
9
vimrc
9
vimrc
@ -37,8 +37,14 @@ set pastetoggle=<F5>
|
||||
"matching parenthesis
|
||||
set showmatch
|
||||
|
||||
"escape sequence
|
||||
set ttimeout
|
||||
set timeout timeoutlen=300
|
||||
let mapleader=','
|
||||
|
||||
"mapping
|
||||
nmap <silent> <S-A-Up> :wincmd k<CR>
|
||||
nmap <silent> <^[[1;4D> : wincmd h<CR>
|
||||
nmap <silent> <S-A-Down> :wincmd j<CR>
|
||||
nmap <silent> <S-A-Left> :wincmd h<CR>
|
||||
nmap <silent> <S-A-Right> :wincmd l<CR>
|
||||
@ -46,9 +52,6 @@ nmap <silent> <C-l> :noh<CR>
|
||||
nmap <silent> <F6> gg=G<C-o><C-o><CR>
|
||||
nmap <silent> <C-t> :NERDTreeToggle<CR>
|
||||
|
||||
"escape sequence
|
||||
:set timeout timeoutlen=100
|
||||
|
||||
"tags
|
||||
set tags=tags;
|
||||
set autochdir
|
||||
|
||||
Loading…
Reference in New Issue
Block a user