Comments (11)
+1, I have the same problem with my commits.
from maximum-awesome.
This happens when git receives a non-zero exit code from $EDITOR. Obviously, this is unintentional and is probably related to something specific to your system.
Make sure that there's nothing obviously broken with your vim setup - I'd start by taking a look at :mess
to see if there are errors with any of your plugins.
from maximum-awesome.
This error was only introduced after maximum-awesome
installation. Probably one of the included plugin is faulty. In case it helps here is my system information:
$ uname -a
Darwin Abhinavs-MacBook-Pro.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
Also :mess
shows nothing.
from maximum-awesome.
Does vim work regularly outside of git commit? Others have commented that opening Vim at all causes a SegFault. #34
from maximum-awesome.
Yes vi
, vim
works perfectly outside of git commit editor. I don't see any SegFault. In case it helps, my ruby version:
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
from maximum-awesome.
To rule some things out, can you replace the symlink ~/.vimrc
with just an empty file and see if it's still causing problems? That'll determine whether it might be plugin-related or possibly MacVim-related. Thanks.
from maximum-awesome.
Checkout this blog: http://tooky.co.uk/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html
Look at the first comment:
Paul Rosania • 3 years ago
If you are using Pathogen, you are probably callingfiletype off
at the beginning of your vimrc file. I found this to be the root cause -- if filetype is already off, calling filetype off causes a bad exit status.
Try addingfiletype on
right beforefiletype off
and see if it fixes it. It did for me!
from maximum-awesome.
@kevin4byte This certainly fixed my git editor. Can we kindly include this in the master repo?
$ git diff
diff --git a/vimrc b/vimrc
index 8e7ba42..2fc0226 100644
--- a/vimrc
+++ b/vimrc
@@ -1,4 +1,5 @@
" set up pathogen, https://github.com/tpope/vim-pathogen
+filetype on
filetype off
call pathogen#infect()
filetype plugin indent on
Thanks.
from maximum-awesome.
👍
from maximum-awesome.
Works good for me after the #64 pull request.
from maximum-awesome.
👍
from maximum-awesome.
Related Issues (20)
- how to support c++ 11 syntax error? HOT 1
- Vim Javascript File Refresh Rendering Issue HOT 7
- Installation not working out of the box HOT 8
- rake breaks on 'brew install brew-cask' HOT 2
- Can't copy from vim in OS X Terminal HOT 1
- rake build failure (because no brew-cask) homebrew 1.0.8 HOT 1
- Error when installing HOT 3
- Underscore in tmux version number breaks Rakefile (yosemite)
- Suggestion: use ripgrep instead of the silver searcher
- Vim shortcuts in README file not working
- Vim editor color scheme is faded when Iterm has material-design color scheme HOT 1
- VIM in iTerm2 vs MacVim HOT 1
- can't install, I might just be stupid though... HOT 1
- Update control code to change cursor shape, 50 to 1337 HOT 1
- Rake Failed at MacVim HOT 4
- Rake failed at Vundle HOT 3
- Error: caskroom/cask was moved. Tap homebrew/cask-cask instead. HOT 2
- pm grant com.maxmpz.equalizer android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER HOT 1
- incompatible with tmux 3.3a HOT 3
- '%' not working HOT 12
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 maximum-awesome.