ramblex / emacs-textmate Goto Github PK
View Code? Open in Web Editor NEWThere is a much nicer implementation of these features at http://code.google.com/p/autopair/
Home Page: http://code.google.com/p/autopair/
There is a much nicer implementation of these features at http://code.google.com/p/autopair/
Home Page: http://code.google.com/p/autopair/
Hi,
after testing emacs-textmate a bit, here is/are my feedback/questions:
Cheers,
Marius
This is my setup:
(require 'ido)
(ido-mode t)
(tm/initialize)
When using C-x C-f the current path is displayed in the minibuffer like:
/usr/share/doc/
Usually <backspace>
removes the top-level directory from that path:
/usr/share/
When textmate mode is enabled, it displays an error instead:
Text is read-only
And it doesn't allow me to go to the parent directory.
Here's a patch:
diff --git a/textmate.el b/textmate.el
index 5b5cb27..8efa5ea 100644
--- a/textmate.el
+++ b/textmate.el
@@ -88,7 +88,7 @@ chars are not auto-inserted in major-mode"
(defun tm/minor-mode-auto-on ()
"Turn on TM minor mode unless `tm/dont-activate' is set to t."
- (unless tm/dont-activate
+ (unless (or tm/dont-activate (minibufferp))
(tm/minor-mode-on)))
(defun tm/minor-mode-on ()
The option indent-tabs-mode allow to use spaces instead of tabs to indent the code, but backspace only delete one char when pressed. (Vim has a softtabstop option which enable backspace to delete a block of chars)
Here has a example on how to emulate vim softtabstop with emacs:
http://stackoverflow.com/questions/1450169/how-do-i-emulate-vims-softtabstop-in-emacs
What about to use this function in tm/backspace instead of delete-backward-char or allow us to choose one of them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.