Coder Social home page Coder Social logo

main's Issues

mvim: command not found

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!

ex-symbol update commands

Port the symbol update commands from older exvim version to here. Needs support both bash and batch.

Working with XCode

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

Error message is thrown when :Update and excluded folder is missing

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?

Special Key mapping on edit window does not displayed in help of ex-plugin window

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.

Getting start document

People should understand at least

  • :Up[date] command
  • Project Window build
  • Global Search
  • Symbol Select

Switch NERDTree and exProject by <c-h>,<c-j>

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!

When close a edit buffer window (split), and call ex#window#goto_edit_buf, it will open a new window.

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.

Document from gtalk content

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:

  • Usage of g:exvim_custom_path, how can we use it in non-standard install of Vim.
  • How to introduce a new plugin to exVim organization. (Especially those unmaintains in vim-scripts, but we want to pick it up and modified by our own purpose.)
  • About folder_filter_root_only
  • When should I increase .exvim version number? (This should put in document - developer manual section)
  • usage of plugin_xxx#register_hotkey
  • and more...

Customise .vimrc

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

Can not run exVim in Vim 7.3

在 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'

如果这样调用可行,那么我来进行其他部分插件的初始化修改行为。

implement ex-quickfix plugin

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.

Terminal vim solarized color scheme is black and white.

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.

gvim_dev for Window and Linux

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

:GSW is missing in the new exVim

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)

Write doc about how to install colorschemes

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.

write ex-vimentry.txt documents

Document content:

  • introduce vimentry
  • vimentry file syntax (comments, usage of +=, = and , )
  • how vimentry loaded and how it parse settings to variables
  • how to register vimentry events vimentry#on
  • how to trigger project_type settings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.