2017-03-18 4 views
0

Es war wie für immer, ich weiß wirklich nicht, wie Sie diese striketrough in meinem vim deaktivieren.Wie vim strikethrough in vimrc zu deaktivieren

Derzeit verwende ich gvim in meinem ubuntu. Wahrscheinlich stimmt etwas mit meiner vimrc Einstellung nicht.

Erprobt Google viele Monate schon konnte keine Lösung finden. Bitte helfen

enter image description here

Unten ist mein vimrc

set nocompatible    " be iMproved, required 
filetype off     " required 


" set the runtime path to include Vundle and initialize 
set rtp+=~/.vim/bundle/Vundle.vim 
call vundle#begin() 
" alternatively, pass a path where Vundle should install plugins 
"call vundle#begin('~/some/path/here') 

" let Vundle manage Vundle, required 
Plugin 'VundleVim/Vundle.vim' 
Plugin 'scrooloose/nerdtree' 
Plugin 'ctrlpvim/ctrlp.vim' 
Plugin 'tpope/vim-vinegar' 
Plugin 'jistr/vim-nerdtree-tabs' 
Plugin 'scrooloose/syntastic' 
Plugin 'flazz/vim-colorschemes' 
Plugin 'chrisbra/Recover.vim' 
Plugin 'MarcWeber/vim-addon-mw-utils' 
Plugin 'tomtom/tlib_vim' 
Plugin 'garbas/vim-snipmate' 
Plugin 'honza/vim-snippets' 
Plugin 'posva/vim-vue' 


call vundle#end()   " required 
filetype plugin indent on " required 
" To ignore plugin indent changes, instead use: 
"filetype plugin on 
" 
" Brief help 
" :PluginList  - lists configured plugins 
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate 
" :PluginSearch foo - searches for foo; append `!` to refresh local cache 
" :PluginClean  - confirms removal of unused plugins; append `!` to auto-approve removal 
" 
" see :h vundle for more details or wiki for FAQ 
" Put your non-Plugin stuff after this line 

"let base16colorspace=256 " Access colors present in 256 colorspace 
"set t_Co=256 " 256 color mode 
"set background=dark 
"colorscheme base16-ocean 

let g:ctrlp_max_files=0 
let g:ctrlp_max_depth=40 

" Store temporary files in a central spot 
let vimtmp = $HOME . '/.tmp/' . getpid() 
silent! call mkdir(vimtmp, "p", 0700) 
let &backupdir=vimtmp 
let &directory=vimtmp 


syntax on 
syntax enable 
"colorscheme Monokai 
"colorscheme zenburn 
"colorscheme gruvbox 
"colorscheme lucius 
colorscheme Monokai 
"colorscheme getafe 
"colorscheme CandyPaper 
"colorscheme tomorrow-night-eighties 
map <C-n> :NERDTreeToggle<CR> 
let NERDTreeShowHidden=1 
set guitablabel=%N:%M%t " Show tab numbers 
set hlsearch 
"set incsearch 
set relativenumber 
set laststatus=2 
set linespace=15 
set clipboard=unnamedplus 
set guifont=Monospace\ 12 

filetype plugin indent on 
" show existing tab with 4 spaces width 
set tabstop=4 
" when indenting with '>', use 4 spaces width 
set shiftwidth=4 
" On pressing tab, insert 4 spaces 
set expandtab 

map <C-F12> :tabe ~/.vimrc<CR> 
map <C-F11> :tab sp<CR>:e ~/.vim/snippets/php.snippets<CR> 
map <C-F10> :tab sp<CR>:e sudo /etc/hosts<CR> 
map <C-F9> :tab sp<CR>:e ~/Code/AdminLTE-2.3.0/pages/UI/icons.html<CR> 
+0

Es würde wahrscheinlich helfen, wenn Sie uns den Inhalt Ihrer '.vimrc' zeigen könnten. – L3viathan

+0

Hilft es, wenn Sie das Farbschema deaktivieren oder zu einer anderen Schriftart wechseln? –

+0

Ich habe viele colorshcheme versucht ... alle von ihnen zeigen immer noch das gleiche. Durchgestrichen –

Antwort

0

Nach dem Spielen um Farbschema zu ändern, diese Linie gruvbox und fügen Sie,

let html_no_rendering=1 

plötzlich die gestrichener alle verschwinden. Aber das Farbschema, das ich wählen muss, ist nicht das, das ich möchte. Jedenfalls wenn jemand raten kann. Bitte kommentieren.

set nocompatible    " be iMproved, required 
filetype off     " required 


" set the runtime path to include Vundle and initialize 
set rtp+=~/.vim/bundle/Vundle.vim 
call vundle#begin() 
" alternatively, pass a path where Vundle should install plugins 
"call vundle#begin('~/some/path/here') 

" let Vundle manage Vundle, required 
Plugin 'VundleVim/Vundle.vim' 
Plugin 'scrooloose/nerdtree' 
Plugin 'ctrlpvim/ctrlp.vim' 
Plugin 'tpope/vim-vinegar' 
Plugin 'jistr/vim-nerdtree-tabs' 
Plugin 'scrooloose/syntastic' 
Plugin 'flazz/vim-colorschemes' 
Plugin 'chrisbra/Recover.vim' 
Plugin 'MarcWeber/vim-addon-mw-utils' 
Plugin 'tomtom/tlib_vim' 
Plugin 'garbas/vim-snipmate' 
Plugin 'honza/vim-snippets' 
Plugin 'posva/vim-vue' 


call vundle#end()   " required 
filetype plugin indent on " required 
" To ignore plugin indent changes, instead use: 
"filetype plugin on 
" 
" Brief help 
" :PluginList  - lists configured plugins 
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate 
" :PluginSearch foo - searches for foo; append `!` to refresh local cache 
" :PluginClean  - confirms removal of unused plugins; append `!` to auto-approve removal 
" 
" see :h vundle for more details or wiki for FAQ 
" Put your non-Plugin stuff after this line 

"let base16colorspace=256 " Access colors present in 256 colorspace 
"set t_Co=256 " 256 color mode 
"set background=dark 
"colorscheme base16-ocean 

let g:ctrlp_max_files=0 
let g:ctrlp_max_depth=40 

" Store temporary files in a central spot 
let vimtmp = $HOME . '/.tmp/' . getpid() 
silent! call mkdir(vimtmp, "p", 0700) 
let &backupdir=vimtmp 
let &directory=vimtmp 


syntax on 
syntax enable 
"colorscheme Monokai 
"colorscheme zenburn 
"colorscheme gruvbox 
"colorscheme lucius 
colorscheme gruvbox 
"colorscheme getafe 
"colorscheme CandyPaper 
"colorscheme tomorrow-night-eighties 
map <C-n> :NERDTreeToggle<CR> 
let NERDTreeShowHidden=1 
set guitablabel=%N:%M%t " Show tab numbers 
set hlsearch 
"set incsearch 
set relativenumber 
set laststatus=2 
set linespace=15 
set clipboard=unnamedplus 
set guifont=Monospace\ 12 

filetype plugin indent on 
" show existing tab with 4 spaces width 
set tabstop=4 
" when indenting with '>', use 4 spaces width 
set shiftwidth=4 
" On pressing tab, insert 4 spaces 
set expandtab 
let html_no_rendering=1 
map <C-F12> :tabe ~/.vimrc<CR> 
map <C-F11> :tab sp<CR>:e ~/.vim/snippets/php.snippets<CR> 
map <C-F10> :tab sp<CR>:e sudo /etc/hosts<CR> 
map <C-F9> :tab sp<CR>:e ~/Code/AdminLTE-2.3.0/pages/UI/icons.html<CR> 
Verwandte Themen