GithubHelp home page GithubHelp logo

astrails / dotvim Goto Github PK

View Code? Open in Web Editor NEW
548.0 548.0 131.0 1.65 MB

An attempt at The Ultimate Vim Configuration™ with focus on Rails development. DEPRECATED, SEE https://github.com/vitaly/dotvim2

Home Page: http://astrails.com/

License: MIT License

Makefile 7.38% Vim Script 92.03% Shell 0.59%

dotvim's People

Contributors

akzhan avatar arikfr avatar borisnadion avatar erez-rabih avatar hendrikpetertje avatar josephbuchma avatar kensodev avatar kernelsmith avatar mattyb avatar neerfri avatar royosherove avatar shunwen avatar taasaa avatar torkale avatar vitaly avatar xavierdutreilh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotvim's Issues

When I paste code to vim from somewhere, code is re-aligned.

When I copy code from somewhere, and paste to vim, the code will be re-aligned. I mean double indent.
For example, I copy the follow code:

def foo
   do_some_thing
end

When I paste to vim, it becomes to:

def foo
   do_some_thing
      end

This behavior really bothers me.

encoding bugs

Problem

When I use macvim and try to write Japanese, let's say you wrote 'ハロー' then will show you different character because of endoing error see the example below. While normal vim(terminal vim) works well.
What do you think is the problem ?

This is really serious problem especially for whom writes another languages.

  • example

example

and when I don't include dotvim files, macvim can work correctly

CPU usage issues on OSX (Lion)

I'm not sure if you've seen this but there are some serious performance hits when I went from a moderate to low plugin enabled vim to dotvim on OSX (Lion). There is obvious lag when using : or , before it prompts

The reason I'm posting this now is because my fan has been running nonstop for the past hour or so. I figured it was just iTunes + safari + chrome but after checking it was the Vim process running at 200% CPU (I don't even know how that's possible). I quit mvim and the Vim process was still active. After successfully forcing a quit on the process through the Activity Monitor, I reopened it. Sitting idle with a small rails project has it using 0.3% of the CPU.

Outside of performance, it's an awesome collection. I'm afraid I may have to start removing stuff though (sigh).

Incomplete installation intructions

New vundle-based dotvim code has incomplete installation instructions. Dependencies aren't listed.

Moreover, for example, dotvim now looks for ruby in /opt/local/bin, but it is in another location in my Fedora 14.

Error with vim-textobj-rubyblock

I'm not sure if this is dotvim, vim-textobj-rubyblock or my environment. I'm adding it here incase it is dotvim. I don't have time to investigate right now but I'll be sure to post a resolution if I find one once I get time to dig.

Error detected while processing function 72_select_function_wrapper:
line 4:
E700: Unknown function: s:select_a
E15: Invalid expression: function(a:function_name)()
line 5:
E121: Undefined variable: _
E15: Invalid expression: _ is 0

License

What's the license of this repo?

Issue when installing new bundles

When I try to add a new bundle in the bundles.vim file, every time I restart Vim it asks me if I would like to install that bundle (it isn't installing properly). Should user added bundles be placed in a different file?

Here is a screenshot:

screenshot_2014-12-26_15_01_39

Vim statusline never changes.

Despite changing airline themes changes not made.
vim-airline

Here is the screenshot, it's all the same no changes. It stay all same.
vim-statusline

Ubuntu Install

Hey Guys,

Im just switching from OSX to Ubuntu and dont have that much knowlege in ubuntu jet. Im having trouble intsalling your vim Distr can you give me a hand, I guess its because vimrc is not in the place were osx has it how to I get this to work.

ROcknroll nd greetings from HAmburg ( derwaterkant)

Problem Running Specs

I've been using dotvim for almost a week now.
I have this code to run specs

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" RUNNING TESTS
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
map <leader>' :call RunTestFile()<cr>
map <leader>; :call RunNearestTest()<cr>

function! RunTestFile(...)
    if a:0
        let command_suffix = a:1
    else
        let command_suffix = ""
    endif

    " Run the tests for the previously-marked file.
    let in_test_file = match(expand("%"), '\(.feature\|_spec.rb\)$') != -1
    if in_test_file
        call SetTestFile()
    elseif !exists("t:grb_test_file")
        return
    end
    call RunTests(t:grb_test_file . command_suffix)
endfunction

function! RunNearestTest()
    let spec_line_number = line('.')
    call RunTestFile(":" . spec_line_number . " -b")
endfunction

function! SetTestFile()
    " Set the spec file that tests will be run for.
    let t:grb_test_file=@%
endfunction

function! RunTests(filename)
    " Write the file and run tests for the given filename
    :w
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    :silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
    if match(a:filename, '\.feature$') != -1
        exec ":!script/features " . a:filename
    else
        if filereadable("script/test")
            exec ":!script/test " . a:filename
        elseif filereadable("Gemfile")
            exec ":!bundle exec rspec --color " . a:filename
        else
            exec ":!rspec --color " . a:filename
        end
    end
endfunction
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" RUNNING TESTS
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

You can see a full description of the issue in this blog post:
http://avi.io/blog/2012/08/05/problem-with-running-spec-in-vim/

As you can see in the comments, someone suggested to comment out scrooloose/vim-space

This indeed solves the issue.

Don't know if this is something needs to be fixed in dotvim, but that's probably something you can add to the docs or something.

Thanks

missing airline theme "light"

Could not resolve airline theme "light". Themes have been migrated to github.com/vim-airline/vim-airline-themes.
Press ENTER or type command to continue

Disable AutoComplPop

Is there a way to disable AutoComplPop from .vimrc.before? Or is the only way to comment it out in bundles.vim?
Thanks!

Error when trying to run VIM with dotvim for the first time

VIM version: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 20 2012 13:16:02)

The error below occurs after run $ vim
Error detected while processing function <SNR>54_IndentGuidesEnable..indent_guides#enable..indent_guides#init_script_vars..indent_guides#capture_highlight: line 2: E411: highlight group not found: Normal Press ENTER or type command to continue

If I run $ vim . or $ vim some_file_name the error is not shown.
Doing what the link (preservim/vim-indent-guides#31 (comment)) says, solved the error. I've put the "colorscheme default" inside .local-after.vim and it worked.

snipmate: list of available snippets

Where defined this binding?

snipmate
To see the list of available snippets type Ctrl-R in the insert mode

This binding not work for me and I also didn't find where it defined..

Install - make install read: arg count

I am on ubuntu.

Trying to install but I receive an error when I run the make install command

~
sayth@sayth-TravelMate-5740G$ cd .vim; make install
going to remove the bundle directory. press ENTER to continue.
/bin/sh: 1: read: arg count
make: *** [delete] Error 2
~/.vim
sayth@sayth-TravelMate-5740G$ (git::master)

Cant detected coffeescript file

I try fresh install but it cant solve so I have to include
au BufNewFile,BufRead *.coffee set filetype=coffee
to "global.vim" to make it detected coffeescript.
Another way to solve is force syntax off and on again

how to change the font size?

Vim doesn't react to this line on my .vimrc file:

set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 8
yet another question from vim newbie

error with vim-literate-coffeescript

HI, Thanks for this vim configuration, the problem is I always get this error:

[neobundle/install] Error installing bundles:
vim-literate-coffeescript

captura de pantalla de 2015-07-16 17 28 07

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.