GithubHelp home page GithubHelp logo

pivotalcommon / vim-config Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pivotalforks/vim-config

56.0 7.0 41.0 605 KB

(Mac)Vim configuration

License: MIT License

Vim Script 97.64% Shell 2.36%

vim-config's Introduction

The Pivotal vim-config has moved

It is now located at https://github.com/pivotal/vim-config.

Upgrading

If you have an existing installation of this vim-config, you can automatically migrate by running the update script twice.

$ ~/.vim/bin/update
$ ~/.vim/bin/update

Alternatively, you can completely delete ~/.vim and reinstall the new vim-config from scratch by following its installation instructions.

vim-config's People

Contributors

abhisharma2 avatar brysgo avatar charliebevis avatar chien avatar chinigo avatar ckundo avatar danfinnie avatar davejacobs avatar davidxia avatar elliterate avatar gustnash avatar idoru avatar jgeiger avatar joemoore avatar michaelabon avatar nertzy avatar peeja avatar pivotal-casebook avatar pivotalcommon avatar ragaskar avatar robb1e avatar rupurt avatar samanthamjohn avatar se3000 avatar squeedee avatar swaroopmurthy 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-config's Issues

git-gutter causes errors when loading mvim

If you use the latest version of all the bundles (type :BundleUpdate to update the bundles) then when you launch mvim, you get the following:

Error detected while processing function highlight#define_highlights:
line    4:
E492: Not an editor command:  ctermfg=2 ctermbg=10
line    5:
E492: Not an editor command:  ctermfg=3 ctermbg=10
line    6:
E492: Not an editor command:  ctermfg=1 ctermbg=10

Installation scriptability impaired by configuration warnings and errors

When trying to install the vim extensions by running vim +BundleInstall +qall, a number of messages are printed to the screen:

Error detected while processing ~/.vim/init/colorscheme.vim:
line    2:
E185: Cannot find color scheme solarized
line    4:
E121: Undefined variable: colors_name
E15: Invalid expression: colors_name == 'solarized'
For better file matching compile and install `burke/matcher`
cd ~/.vim/bundle/matcher
make && sudo make install
Error detected while processing ~/.vim/after/plugin/edit_plus.vim:
line    2:
E24: No such abbreviation
Press ENTER or type command to continue

The errors are because the extensions are not yet installed (which the user is in the process of trying to do). The warning is about the matcher command not being installed on the system, which also can't be done (at least, not as directed) until the extensions are installed (which, again, the user is in the process of trying to do).

Because of these warning messages, the user must press "enter" to proceed, which impairs scriptability. (Specifically, I'm trying to update the @pivotal-sprout vim recipe, but it hangs on the prompt.)

After some digging, I saw that one can use the :silent command to silence shell commands executed from within vim; however, it's unclear to me how, if at all, one could silence the reading of the vimrc on startup (if only for the sake of this one-off command).

Snippets aren't expanding

We have snippets defined in /snippets/ but they don't seem to work.

For example, f followed by tab (in insert mode) should expand out to a JS function. But for us it isn't working. I think we need to configure something.

Opening spec doesn't work for app/lib

If I have a class in app/lib and a spec in spec/lib when I use the A command (:A{TVS} etc) it outputs an error "Can't find file 'app/test/lib/file_name_test.rb' in path". I didn't see the plugin listed in the readme that actually does this searching, but if someone could point me in the right direction I would try to take a look and figure it out.

Thanks

Mac's โŒ˜-Tab in iTerm inserts F24 and F25

Reproduction steps:

  1. Open vim in iTerm2 (I'm using Build 3.0.10)
  2. Enable set paste
  3. Press i to enter Insert mode
  4. Press โŒ˜+tab twice (to switch to another app, then back)

Expected behavior:

It looks the same.

Actual behavior:

<F24><F25> appears:

image

(<F24> appears when I leave; <F25> appears when I return.)

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.