exvim / main Goto Github PK
View Code? Open in Web Editor NEWThis is the main repository for exVim!
Home Page: exvim.github.io
License: MIT License
This is the main repository for exVim!
Home Page: exvim.github.io
License: MIT License
a lot of we can talk about in this picture
For unsaved buffer with \bd, a waning message is needed
在 Vim 7.3 中运行会出现以下错误:
Error detected while processing function <SNR>101_init_vimentry..vimentry#apply..exconfig#apply..exproject#open..
exproject#open_window..ex#window#open..ex#window#new:
line 56:
E117: Unknow function: s:init_buffer
Press Enter or type command to continue
这个错误应该是因为 Vim 7.3 版本不支持 function('s:init_buffer') 这种书写格式。我目前手头上没有 Vim 7.3 的测试环境,所以无法及时更正这个错误。
@YuJianrong 如果有时间,不知道能否帮忙测试一下 7.3 下,修改以下地方:
将 ex-project/autoload/exproject.vim 中的
function s:init_buffer()
改为
function exproject#init_buffer()
然后在 exproject#open_window() 里的代码调用处同样将 's:init_buffer' 改为 'exproject#init_buffer'
如果这样调用可行,那么我来进行其他部分插件的初始化修改行为。
I should design a structure so that exVim developer can easily extends there plugin without worry about the online help text in the plugin.
Here has a nice document: http://www.kunli.info/2010/09/19/xcode-vim-integration/
” update the :make command to tell Xcode to build
set makeprg=osascript\ -e\ \”tell\ application\ \\\”Xcode\\\”\”\ -e\ \”build\”\ -e\ \”end\ tell\”
function! XcodeClean()
silent execute ‘:!osascript -e “tell application \”Xcode\”" -e “Clean” -e “end tell”‘
endfunction
command! -complete=command XcodeClean call XcodeClean()
function! XcodeDebug()
silent execute ‘!osascript -e “tell application \”Xcode\”" -e “Debug” -e “end tell”‘
endfunction
command! -complete=command XcodeDebug call XcodeDebug()
” Command-K cleans the project
:noremap :XcodeClean
” Command-Return Starts the program in the debugger
:noremap :XcodeDebug
Here is a question from new exvim user
First glance for brand new exvim (preview environment) is like refreshing breeze :).
I have first issue about colorschem. Till now I use two2tango colorscheme.
With old exvim instaled by put it in
~/.vim/colors/two2tango.vim
and
.vimrc
silent exec "colorscheme two2tango"
I notice that actual default colorschem solarized is split i several solarized.vim scripts placed
in several place
./vimfiles/bundle/ex-config/after/colors/solarized.vim
./vimfiles/bundle/vim-airline/autoload/airline/themes/solarized.vim
./vimfiles/bundle/vim-colors-solarized/colors/solarized.vim
My question is how to properly install my colorschem to new exvim.
I should write a document in teach people how to do this.
Customise .vimrc by .vimrc.local and .vimrc.plugins.local
Also include this code:
au! ex_gui_font " remove old set guifont event
set guifont=Consolas:h8:cANSI " set your font
au VimEnter * exec 'AirlineToggle' " close vim-airline plugin
Should warning and do nothing
It would be nice to have this feature
This will help a lot
Porting and implet the ex-quickfix plugin in exVim new version.
Hi, I want to try exVim. Having followed the install instrument, I run
git clone https://github.com/exvim/main
cd main/
sh osx/install.sh
After installing successfully, I found
Ray:main ray$ sh osx/mvim.sh
osx/mvim.sh: line 6: mvim: command not found
And I wonder why? How can I fix it?
I've tried restart my PC to make sure my $PATH is updated. I also tried to put the osx folder into PATH. But it didn't work.
I'm using Macbook Air OS X 10.9.
Thanks!
Please reference mvim_dev.sh and help me create a gvim_dev batch file and test it in Window.
The gvim_dev is for the purpose to help developers easily develop exVim and test it under current Vim environment.
the gvim_dev should accept one parameter which is the .vimentry file so that it can start the exVim.
Example:
gvim_dev d:/foo/bar/foobar.vimentry
http://www.gnu.org/software/global/global.html
People saids this is better than cTags
I'm using old exvim on same terminal emulator(GNOME Terminal) with the following settings:
let g:solarized_termcolors=256
set background=dark
colorscheme solarized
and it works fine. But solarized color in new exvim is broken for me for some reason.
for empty file suffix, in .exvim file, you can set it by
file_filter_pattern += __EMPTY__
This usually happen when you split a window, close it and open a plugin window.
The way to reproduce it:
Use :split
for two edit window, and use :close
or :q
close one. If you print the debug info by
call ex#window#debug()
You will see the last_edit_buf become empty. (That's true), but that will lead to the problem when you call goto_edit_buf, it will not recognize current edit window but split a new one.
Current highlight has no affect for ex_pj_file_name
Though we have syntasic and its great :Erros
command. Sometimes we still need open error from file. And ex-quickfix enhance the local list in Vim.
ex-quickfix allow you copy file and directly put it in the ex-quickfix window to get local list. That's why we still need it.
There are valuable contents in our chat. Can become document for public. I list some of the things I remember and missed in current document:
Something wrong in update-files.bat
People should understand at least
This is a strange bug. Looks like Ubuntu's sh command link to dash not bash, and it not accept bash array and have problem with find and IFS.
When you open the ex-project first time, it is empty. I should add some hint such as press <leader>R to refresh it
.
Also when you edit file/folder filter in .exvim, should hint the user in status bar: refresh ex-project to apply the new file/folder filter settings.
Document content:
+=
, =
and ,
)vimentry#on
This is not a simple switch.
I also need to setup \fc
, and <a-s-o>
to the switched plugin.
I also need to find a way to make NERDTree detect this changes in his way. Looks like NERDTree support customise mapping. Cool!
Implement as exvim/ex-tags.
I should also check GNU Global
It is possible to parse json file by eval() in Vim. Also there is a plugin doing this: https://github.com/vim-scripts/ParseJSON.
The main problem in using JSON is it doesn't support comment. This is quite important cause the comment will let user understand the options for a value and the way to edit it.
For example, a folder 'foo bar' can not be parsed in folder_filter
For example, if you press twice, in terminal vim, it will insert S in your buffer.
This can be fixed by write
let cwd = fnameescape(cwd)
in .vimrc
Right now, if you copy the .exvim file to some where, the cwd becomes different! This will lead to unexpect behavior.
taglist is easy. tagbar always report error when we edit javascript file, find the reason.
Should make it not in the undo history
SourceTree provide a way to developing and update exVim. I should add a document talking about it.
For Developer and Normal User.
当我的文件里有:
<script src="dist/js/bootstrap.min.js"></script>
然后将光标定位在container-fluid末尾,进入插入模式时,mvim会寻找pattern并有片刻时间失去响应。使用uglify过的js时都会出现这个问题。
请找到一个定制方法排除.min.js作为neocomplcache的source。
For plugin ex-project, there is a key mapping used in edit window: cf to locate the editing file in ex-project window.
But when I press in ex-project window, I cannot find the information of the key mapping, only the key mapping in ex-project window is shown.
I think it will be better if the keymapping in editing window is shown in the online help of the ex-plugin window.
Port the symbol update commands from older exvim version to here. Needs support both bash and batch.
In Windows 7, user need to run installer as administrator. I think the installer at least need to detect user type, and report a warning message.
http://nsis.sourceforge.net/Simple_tutorials#Check_if_user_is_administrator
I believe I must solve this method when making a distribute installer.
目前exVim默认功能里无法正确折叠html文件,需要加入此项功能。
I had added the following setting in .exvim file:
folder_filter_mode = exclude -- { include, exclude }
folder_filter += node_modules
But the folder "node_modules" is not exist, when I run :update, I get the error message:
mkid: can't stat `node_modules' from `C:\E\Projects\gitAnywhere\anw-ui': No such file or directory
Seems the filter does not working properly?
I found the useful command :GSW is missing in the new exvim, it's defined in the exGlobalSearch.vim in old version:
command -nargs=1 -complete=customlist,exUtility#CompleteBySymbolFile GSW call s:exGS_GetGlobalSearchResult('<args>', '-w', 0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.