Skip to content

Instantly share code, notes, and snippets.

@kjyv
kjyv / disable-quick-actions.sh
Created July 20, 2020 21:27
Hide macOS Finder quick action panel for common file types
#!/bin/bash
for key in "com\.apple\.application" "public\.font" "public\.folder" "public\.html" "com\.adobe\.pdf" "public\.audio" "public\.text" "public\.movie" "com\.apple\.alias-file" "public\.image" "public\.archive" "public\.item"; do
plutil -replace PreviewPaneSettings.$key.showQuickActions -bool NO ~/Library/Preferences/com.apple.finder.plist
done
diff --git a/src/MacVim/MMTextViewHelper.m b/src/MacVim/MMTextViewHelper.m
index 46f7601..a95cb27 100644
--- a/src/MacVim/MMTextViewHelper.m
+++ b/src/MacVim/MMTextViewHelper.m
@@ -30,6 +30,9 @@ static NSTimeInterval MMDragTimerMinInterval = 0.01;
// The number of pixels in which the drag timer interval changes
static float MMDragAreaSize = 73.0f;
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
+static int skip_scroll_events = 0;
In file included from Box2D_v2.2.1/Box2D/Collision/b2Distance.cpp:22:
Box2D_v2.2.1/Box2D/Collision/Shapes/b2ChainShape.h:98:20: warning: implicit
conversion of NULL constant to 'bool' [-Wnull-conversion]
m_hasPrevVertex = NULL;
~ ^~~~
false
Box2D_v2.2.1/Box2D/Collision/Shapes/b2ChainShape.h:99:20: warning: implicit
conversion of NULL constant to 'bool' [-Wnull-conversion]
m_hasNextVertex = NULL;
~ ^~~~