disable auto-folding in vim-latex
This commit is contained in:
5
init.vim
5
init.vim
@@ -53,8 +53,9 @@ autocmd TermOpen * setlocal nospell nonumber norelativenumber
|
|||||||
nnoremap <silent> <tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bnext<CR>
|
nnoremap <silent> <tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bnext<CR>
|
||||||
nnoremap <silent> <s-tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bprevious<CR>
|
nnoremap <silent> <s-tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bprevious<CR>
|
||||||
|
|
||||||
" disable folding
|
" toggle folding in normal mode with <space>
|
||||||
set nofoldenable
|
nnoremap <space> za
|
||||||
|
nnoremap <S-space> zA
|
||||||
|
|
||||||
let &packpath = &runtimepath
|
let &packpath = &runtimepath
|
||||||
source ~/.config/nvim/plug.vim
|
source ~/.config/nvim/plug.vim
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ function! SetServerName()
|
|||||||
call system(cmd)
|
call system(cmd)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
" Disable automatic folding in LaTeX
|
||||||
|
let Tex_FoldedSections=""
|
||||||
|
let Tex_FoldedEnvironments=""
|
||||||
|
let Tex_FoldedMisc=""
|
||||||
|
|
||||||
set grepprg=grep\ -nH\ $*
|
set grepprg=grep\ -nH\ $*
|
||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
set iskeyword+=:
|
set iskeyword+=:
|
||||||
|
|||||||
Reference in New Issue
Block a user