在Vim中禁用乳胶符号转换 [英] Disable latex symbol conversion in vim

查看:47
本文介绍了在Vim中禁用乳胶符号转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Kubuntu 13.04笔记本电脑上的vim编辑器似乎有一些乳胶修边的高级功能,即它可以转换乳胶这些符号可以即时对字符进行Unicode编码,并在光标出现时隐藏源代码不在线上.

The vim editor on my Kubuntu 13.04 laptop seems to have some advance feature for latex edting, i.e. it can convert latex symbols to unicode chars on the fly and hide the source code when the cursor is not on the line.

对于某些人来说,这可能是一个很棒的功能,但我发现它有点烦人.我不确定这是内置的还是由一些扩展,但我希望我能找到一种禁用它的方法.

This may be a great function to some people, but I find it a bit annoying. I am not sure whether this is built-in or provided by some extension, but I hope I can find out a way to disable it.

我的vim版本是7.4b,已安装的扩展程序列表:

My vim version is 7.4b, the list of extensions installed:

clang_complete
emmet-vim
HTML-AutoCloseTag
neocomplete.vim
neosnippet
tabular
tagbar
tlib_vim
unite.vim
vim-addon-mw-utils
vim-airline
vim-colorschemes
vim-colors-solarized
vim-commentary
vim-easymotion
vim-eunuch
vim-fugitive
vim-repeat
VimRepress
Vim-R-plugin
vim-snippets
vim-surround
vim-table-mode
vim-unimpaired
vundle

推荐答案

此功能由Vim的隐藏"功能提供.

This functionality is provided by Vim's "conceal" feature.

如果您已设置 'conceallevel'<,Vim的TeX插件将利用隐藏"功能./code> 到2.请参见 :h ft-tex-syntax .

Vim's TeX plugin takes advantage of "conceal" if you have set 'conceallevel' to 2. See :h ft-tex-syntax.

'conceallevel'保留为默认值0,以禁用隐藏.

Leave 'conceallevel' at its default value of 0 to disable concealing.

或者,将以下行放入vimrc中.

Alternatively, put the following line in your vimrc.

let g:tex_conceal = ""

这篇关于在Vim中禁用乳胶符号转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆