Comments (14)
..... 是不是你的&runtimepath路径不对?
from colorv.vim.
why you know I am chinese?because my en 很烂哈哈?这问题是重装系统之后出现的,同样是win10家里的gvim却可以跑。而且配置跟插件是云同步的。启动gvim并没有报错,是没有任何反应。
from colorv.vim.
不能跑的是什么系统
from colorv.vim.
确实英文比较烂。。。
from colorv.vim.
win10 系统。
from colorv.vim.
vimrc呢
from colorv.vim.
set fileencodings=utf-8,gbk2312,gbk,gb18030,cp936
set encoding=utf-8
set fileencoding=utf-8
set langmenu=en_Us
let $LANG='en_US'
set nocompatible
set fileformats=dos,unix,mac ""! must after set nocompatible
exe 'set runtimepath+='. g:myruntimepath
" seam minibufexpl has bug
let g:pathogen_blacklist = [
'#auto-pairs',
'#bufexplorer',
'#ctrlp.vim',
'ctrlp-ghq',
'#ctrlp-filer',
'#dbg.vim',
'emment',
'flappyvird',
'#html5',
'#l9lib',
'lightline.vim',
'minibufexpl',
'mru',
'navbuf',
'#nerdcommenter',
'#nerdtree',
'project',
'SingleCompile',
'snipmate.vim',
'#tlib_vim',
'ultisnips',
'vim-addon-mru',
'#vim-addon-mw-utils',
'#vim-airline',
'vimbuddy',
'vim-colors-solarized',
'vim-fuzzyfinder',
'vimim',
'#vim-indent-guides',
'vim-powerline',
'vim-smartusline',
'vim-snipmate',
'vim-snippets',
'#vimwiki',
'vtreeexplorer',
'vundle']
call pathogen#infect('bundle/{}', '{after}')
filetype plugin on
filetype indent on
filetype on
syntax on
" Powerline setting {{{1
let g:Powerline_symbols='compatible'
" }}}1
" vim-airline setting {{{1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#whitespace#checks = []
let g:airline#extensions#tabline#left_sep = ''
let g:airline#extensions#tabline#left_alt_sep = ''
let g:airline#extensions#tabline#right_sep = ''
let g:airline#extensions#tabline#right_alt_sep = ''
"let g:airline_left_sep = '»'
"let g:airline_left_sep = '▶'
"let g:airline_right_sep = '«'
"let g:airline_right_sep = '◀'
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
if has('gui_running') || &term=='xterm'
let g:airline_powerline_fonts = 0
"dark simple light badwolf powerlineish solarized luna wombat
"molokai bubblegum jellybeans laederon ubaryd tomorrow base16 murmur sol
let g:airline_theme='luna'
else
let g:airline_powerline_fonts = 0
let g:airline_theme='base16'
endif
" }}}1
"let g:vimim_mode='dynamic'
"let g:vimim_mode='static
"indent guides setting
let g:indent_guides_guide_size = 1
set guioptions-=m
set guioptions-=T
set guioptions-=r
set guioptions-=R
set guioptions-=l
set guioptions-=L
set linebreak
set nobackup
set laststatus=2
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set smartindent
set autoindent
set cindent
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
"
set hls
set cursorline
set relativenumber "cause performace issue
set expandtab
set tabstop=4
set shiftwidth=4
set ruler
" too short time may lead some problem such as mapleader
set notimeout
"set timeoutlen=1
set backspace=2
"set scrolloff=999
set helplang=cn
set iminsert=0 imsearch=0
set browsedir=buffer
"set autochdir
set t_Co=256
set background=light
"colorscheme solarized
"colorscheme rexcolor
colorscheme galaxy
"""galaxy setting{{{1
let g:glaxy_enable_statusline=0
let g:galaxy_statusline_hl_insert=0
"""}}}
let mapleader=","
let g:NERDTreeDirArrows=0
map
imap
inoremap
inoremap jk
inoremap
" move cursor between splited window
inoremap h
nnoremap h
inoremap j
nnoremap j
inoremap k
nnoremap k
nnoremap l
inoremap l
noremap j gj
noremap k gk
nnoremap siw "_yiw
nnoremap si" "_yi"
nnoremap si' "_yi'
nnoremap si( "_yi(
nnoremap si[ "_yi[
nnoremap si{ "_yi{
nnoremap si< "_yi<
vnoremap sy "_y
nnoremap saw "_yaw
nnoremap sa" "_ya"
nnoremap sa' "_ya'
nnoremap sa( "_ya(
nnoremap sa[ "_ya[
nnoremap sa{ "_ya{
nnoremap sa< "*ya<
nnoremap sp "_p
vnoremap sp "_p
vnoremap pp p
nnoremap pp p
nnoremap piw viwp
nnoremap pi" vi"p
nnoremap pi' vi'p
nnoremap pi( vi(p
nnoremap pi[ vi[p
nnoremap pi{ vi{p
nnoremap pil Vp
nnoremap H
nnoremap L
vnoremap H
vnoremap L
inoremap =strftime("%y/%m/%d-%H:%M:%S")
nnoremap `` :winpos 600 0
"+-= for unix like term
for i in range(48, 57) + range(97, 122) + [43,44,45,46,59,61,95]
exec "set <M-".nr2char(i).">=".nr2char(i)
endfor
noremap <M-=> +
noremap -
noremap + >
noremap _ <
inoremap
nnoremap
inoremap
nnoremap
inoremap
nnoremap
cnoremap
inoremap
nnoremap
cnoremap
inoremap o
nnoremap o
inoremap :w
nnoremap :w
inoremap
nnoremap $
cnoremap
inoremap I
nnoremap ^
cnoremap
"inoremap
"cnoremap
"inoremap
"cnoremap
"inoremap gTa
"nnoremap gT
"inoremap gta
"nnoremap gt
nnoremap <M-;> A;
inoremap <M-;> A;
nnoremap za
inoremap
nnoremap daw
inoremap <M-.>
vnoremap / y/"
nnoremap / /"
nnoremap ? /*
" affter installed bufexplorer
noremap \ :BufExplorer
"" show mru list
"nnoremap :Mru
"noremap :call vim_addon_mru#ShowMRUList()
"
"=============================================================================
" CtrlP.vim setting {{{1
inoremap :CtrlPBuffer
nnoremap :CtrlPBuffer
inoremap :CtrlPFiler
nnoremap :CtrlPFiler
inoremap :CtrlPMRU
nnoremap :CtrlPMRU
inoremap :CtrlPBookmarkDir
nnoremap :CtrlPBookmarkDir
inoremap :CtrlPDir
nnoremap :CtrlPDir
let g:ctrlp_prompt_mappings = {
\ 'PrtBS()': ['', '<c-]>'],
\ 'PrtDelete()': [''],
\ 'PrtDeleteWord()': [''],
\ 'PrtClear()': [''],
\ 'PrtSelectMove("j")': ['', '',''],
\ 'PrtSelectMove("k")': ['', '',''],
\ 'PrtSelectMove("t")': ['', ''],
\ 'PrtSelectMove("b")': ['', ''],
\ 'PrtSelectMove("u")': ['', ''],
\ 'PrtSelectMove("d")': ['', ''],
\ 'PrtHistory(-1)': [''],
\ 'PrtHistory(1)': [''],
\ 'AcceptSelection("e")': ['', '<2-LeftMouse>'],
\ 'AcceptSelection("h")': ['', '', ''],
\ 'AcceptSelection("t")': [''],
\ 'AcceptSelection("v")': ['', ''],
\ 'ToggleFocus()': [''],
\ 'ToggleRegex()': [''],
\ 'ToggleByFname()': [''],
\ 'ToggleType(1)': ['', ''],
\ 'ToggleType(-1)': ['', ''],
\ 'PrtExpandDir()': [''],
\ 'PrtInsert("c")': ['', ''],
\ 'PrtInsert()': ['<c->'],
\ 'PrtCurStart()': [''],
\ 'PrtCurEnd()': [''],
\ 'PrtCurLeft()': ['', '', '<c-^>'],
\ 'PrtCurRight()': ['', ''],
\ 'PrtClearCache()': [''],
\ 'PrtDeleteEnt()': [''],
\ 'CreateNewFile()': [''],
\ 'MarkToOpen()': [''],
\ 'OpenMulti()': [''],
\ 'PrtExit()': ['', '', ''],
\ }
let g:ctrlp_clear_cache_on_exit = 0
let g:ctrlp_lazy_update = 0
let g:ctrlp_use_caching = 1
let g:ctrlp_default_input = 1
"let g:ctrlp_working_path_mode = 'w'
let g:ctrlp_open_multiple_files = 'h'
let g:ctrlp_open_new_file = 'h'
let g:ctrlp_open_multiple_files='1h'
set wildignore+=/tmp/,.so,.swp,*.zip
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[/].(git)$',
\ 'file': '\v.(log|jpg|png|jpeg)$',
\ }
let g:ctrlp_max_files=200
let g:ctrlp_max_depth=2
let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:25,results:25'
let g:ctrlp_max_history = &history
""t in new tab, h in new hori split, v in new vert split, r in curr window
let g:ctrlp_open_new_file = 'v'
"if has('win32')
" let g:ctrlp_user_command = 'dir %s /-n /b /s /a-d' " Windows
"elseif has('unix')
" let g:ctrlp_user_command = 'find %s -type f' " MacOSX/Linux
"endif
"
"ctrlp-filter
let g:ctrlp_filer_disable_lcd = 0
" }}}1
"=============================================================================
"dbg.vim setting
let g:dbg#command_shell = 'cmd.exe'
let g:dbg#shell_prompt = '> '
let g:dbg#command_jdb = 'jdb'
let g:dbg#command_gdb = 'gdb'
let g:dbg#command_fdb = 'C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\bin\fdb.exe'
""" single complile setting {{{
"call SingleCompile#SetPriority('html', 'firefox', 40)
"""}}}
""" fuzzyfinder setting {{{
let g:fuf_modesDisable=[
'mrucmd',
'tag',
'help',
'changelist',
'jumplist',
'taggedfile',
'bcoveragefile',
'callbackfile',
'callbackitem'
]
let g:fuf_indicator = ''
let g:fuf_mrufile_maxItem = 400
let g:fuf_mrucmd_maxItem = 400
nnoremap fbu :FufBuffer
nnoremap ffb :FufFileWithCurrentBufferDir
nnoremap ffc :FufFileWithFullCwd
nnoremap ffl :FufFile
nnoremap fdb :FufDirWithCurrentBufferDir
nnoremap fdc :FufDirWithFullCwd
nnoremap fdr :FufDir
nnoremap fmf :FufMruFile
nnoremap fmc :FufMruFileInCwd
"nnoremap fmc :FufMruCmd
nnoremap fbf :FufBookmarkFile
nnoremap ffa :FufBookmarkFileAdd
vnoremap ffs :FufBookmarkFileAddAsSelectedText
nnoremap fbd :FufBookmarkDir
nnoremap fda :FufBookmarkDirAdd
nnoremap sl :FufCoverageFileChange
nnoremap sL :FufCoverageFileChange
nnoremap s :FufCoverageFileRegister
nnoremap st :FufTag
nnoremap sT :FufTag!
nnoremap s<C-]> :FufTagWithCursorWord!
nnoremap s, :FufBufferTag
nnoremap s< :FufBufferTag!
vnoremap s, :FufBufferTagWithSelectedText!
vnoremap s< :FufBufferTagWithSelectedText
nnoremap s} :FufBufferTagWithCursorWord!
nnoremap s. :FufBufferTagAll
nnoremap s> :FufBufferTagAll!
vnoremap s. :FufBufferTagAllWithSelectedText!
vnoremap s> :FufBufferTagAllWithSelectedText
nnoremap s] :FufBufferTagAllWithCursorWord!
nnoremap sg :FufTaggedFile
nnoremap sG :FufTaggedFile!
nnoremap so :FufJumpList
nnoremap sp :FufChangeList
nnoremap sq :FufQuickfix
nnoremap sy :FufLine
nnoremap sh :FufHelp
nnoremap se :FufEditDataFile
nnoremap sr :FufRenewCache
"""}}}
""NerdTreeToggle
inoremap :NERDTreeToggle
nnoremap :NERDTreeToggle
""" SingCompole setting{{{1
"nmap :SCCompile
"nmap :SCCompileRun
"""}}}1
"vimwiki config
let s:wikidocpath = expand(":p:h") . '/my_wiki_root'
"If your preferred wiki extension is .txt then you can >
let g:vimwiki_global_ext = 0
let g:vimwiki_list = [{
'path':s:wikidocpath,
'template_path':s:wikidocpath . '/template',
'template_default':s:wikidocpath . '/default_template',
'template_ext':'.html',
'path_html':s:wikidocpath . '/html/'}]
let g:vimwiki_camel_case = 0
let g:vimwiki_hl_cb_checked = 1
let g:vimwiki_menu = ''
let g:vimwiki_folding = 'expr'
let g:vimwiki_CJK_length = 1
let g:vimwiki_valid_html_tags='b,i,s,u,sub,sup,kbd,del,br,hr,div,code,h1'
autocmd BufWinEnter *.as setfiletype actionscript
"let g:UltiSnipsExpandTrigger=""
"let g:UltiSnipsJumpForwardTrigger=""
"let g:UltiSnipsJumpBackwardTrigger=""
"let g:UltiSnipsEditSplit="vertical"
" PlantUML setting
"autocmd Filetype plantuml nnoremap :silent execute '!type '.bufname('%').' | java -jar d:\apps\plantuml\plantuml.jar -charset UTF-8 -pipe > '.bufname('%').'.png'
autocmd Filetype plantuml nnoremap :silent !start cmd /c "java -jar d:\apps\plantuml\plantuml.jar -charset UTF-8 %:p"
cd $HOME
set lines=45
set columns=102
"上传不了附件我就贴上来了
from colorv.vim.
g:myruntimepath 你设置了吗
from colorv.vim.
let g:bdypath='f:/rorex_dbank/_vim' " 同步盘目录
let g:myruntimepath=g:bdypath . '/vimfiles'
let g:myvimrc=g:bdypath . '/myvimrc' "
if filereadable(g:myvimrc)
execute 'source ' . g:myvimrc
endif
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
set backupdir=C:\Windows\Temp
set directory=C:\Windows\Temp
let g:alpha=200
function ChangeTransparent()
call libcallnr("vimtweak.dll", "SetAlpha", g:alpha)
let g:alpha += 10
if g:alpha == 250
let g:alpha = 200
endif
endfunction
noremap :call ChangeTransparent()
" 我有两份配置。这份放在安装目录。
from colorv.vim.
。。colorv没引用吧? 是不是colorv装的位置不对?
from colorv.vim.
所有插件都git到bundle下面的,包括colorv。
from colorv.vim.
没看出问题。。我win10用的是https://github.com/junegunn/vim-plug ,以前用的是vundle,目测都可以。
from colorv.vim.
我的配置 https://github.com/Rykka/vim-box
from colorv.vim.
ok,谢谢你。我回去慢慢研究下
from colorv.vim.
Related Issues (20)
- ColorVview should check for # HOT 1
- call s:py_core_load() evan though no python environment HOT 1
- Invalid arguments for function has(*reltime) HOT 2
- Error: error with neocomplcache#get_context_filetype function. HOT 1
- How do you actually pick colors? HOT 16
- Can the preview for an edited color update after leaving ColorV window? HOT 3
- Function to insert a color? HOT 3
- "[ColorV] Could not read cache.^@ Vim(let):E484: Kann die Datei /home/tom/.vim_colorv_cache nicht öffnen" error HOT 1
- Changing colon or semicolon references causes colorv to malfunction
- Incorrect color preview for #888888 in 256-color xterm HOT 7
- Feature request: better fg/bg contrast HOT 5
- Feature request: Unite integration HOT 2
- Silent mode HOT 3
- python error HOT 4
- Feature request: statusline integration HOT 1
- Error while compiling colorpicker.c on macOS HOT 1
- Lowercase hex color HOT 1
- Error detected while processing function colorv#init[28]..<SNR>28_py_core_load: HOT 2
- Plugin breaks coc-snippets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorv.vim.