Linux下vim配置YouCompleteMe,cc++代码补全工具

更新时间:2023-06-18 04:58:03 阅读: 评论:0

autocmd InrtLeave * nocul  " ⽤浅⾊⾼亮当前⾏
autocmd InrtEnter * cul    " ⽤浅⾊⾼亮当前⾏
"t ruler          " 显⽰标尺
t showcmd        " 输⼊的命令显⽰出来,看的清楚些
"t cmdheight=1    " 命令⾏(在状态⾏下)的⾼度,设置为1
"t whichwrap+=<,>,h,l  " 允许backspace和光标键跨越⾏边界(不建议)
"t scrolloff=3    " 光标移动到buffer的顶部和底部时保持3⾏距离
t novisualbell    " 不要闪烁(不明⽩)
soapoperat statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")}  "状态⾏显⽰的内容 t laststatus=1    " 启动显⽰状态⾏(1),总是显⽰状态⾏(2)
" t foldenable      " 允许折叠
t foldmethod=manual  " ⼿动折叠
"t background=dark "背景使⽤⿊⾊
t nocompatible  "去掉有关vi⼀致性模式,避免以前版本的⼀些bug和局限
" 显⽰中⽂帮助
if version >= 603
t helplang=cn
托福考试报名网站t encoding=utf-8英语单词学习>grassroots
endif
" 设置配⾊⽅案
"colorscheme murphynext是什么意思
"字体
"if (has("gui_running"))
"  t guifont=Bitstream\ Vera\ Sans\ Mono\ 10
"endif "培训教育
t fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
t termencoding=utf-8
t encoding=utf-8
t fileencodings=ucs-bom,utf-8,cp936
t fileencoding=utf-8
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\    exe "normal g'\"" |
\ endif
" SHORTCUT SETTINGS: {{{1
" Set mapleader
let mapleader=","
" Space to command mode.
nnoremap <space> :
vnoremap <space> :
" Switching between buffers.
nnoremap <C-h> <C-W>h
nnoremap <C-j> <C-W>j
uptting
nnoremap <C-k> <C-W>k
nnoremap <C-l> <C-W>l
inoremap <C-h> <Esc><C-W>h
inoremap <C-j> <Esc><C-W>j
inoremap <C-k> <Esc><C-W>k
inoremap <C-l> <Esc><C-W>l
" "cd" to change to open directory.赫尔辛基大学>汉堡包用英语怎么说
let OpenDir=system("pwd")
nmap <silent> <leader>cd :exe 'cd ' . OpenDir<cr>:pwd<cr>
" PLUGIN SETTINGS: {{{1
" taglist.vim
let g:Tlist_Auto_Update=1
let g:Tlist_Process_File_Always=1
let g:Tlist_Exit_OnlyWindow=1
let g:Tlist_Show_One_File=1
广州成人教育let g:Tlist_WinWidth=25
let g:Tlist_Enable_Fold_Column=0
let g:Tlist_Auto_Highlight_Tag=1
" NERDTree.vim
let g:NERDTreeWinPos="right"
let g:NERDTreeWinSize=25
let g:NERDTreeShowLineNumbers=1
let g:NERDTreeQuitOnOpen=1
" cscope.vim
if has("cscope")
t csto=1
t cst
t nocsverb
if filereadable("cscope.out")

本文发布于:2023-06-18 04:58:03,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/148979.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:状态   命令   致性   模式
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图