Is anybody else having trouble using the default "Replace Conflict With Older Text" and "Replace Conflict With Newer Text" macros? They don't seem to work for me.
If I try to record a new macro, it doesn't remember the 'replace' value. That is, it works until I run some other search/replace command then my new macro for resolving conflicts just runs the last-used replace value. The macro I recorded contains this:
(
{ argument = {
action = 'findNext';
findString = '(?m:<<<<<<<[^\n]*?\n(.*?\n?)=======\n(.*?\n?)>>>>>>>([^\n]*)\n)';
ignoreCase = :true;
regularExpression = :true;
wrapAround = :true;
};
command = 'findWithOptions:';
},
{ command = 'replaceAllInSelection:'; },
)
See, no replace value. So I added a 'replaceString' item manually:
(
{ argument = {
action = 'findNext';
findString = '(?m:<<<<<<<[^\n]*?\n(.*?\n?)=======\n(.*?\n?)>>>>>>>([^\n]*)\n)';
ignoreCase = :true;
regularExpression = :true;
wrapAround = :true;
replaceAllScope = 'document';
replaceString = '$1';
};
command = 'findWithOptions:';
},
{ command = 'replaceAllInSelection:'; },
)
But it doesn't use this value, only the last one used in the find dialog box.
Any ideas?
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
I would like to use Open Favorite more frequently but there’s a couple of things that always throws me off and makes it less productive for me. Not sure if they’re bugs or by design.
Say I have 4 favourites named F1, F2, F3, F4
I usually have multiple working windows open with the root folder being one of these favourites. So say I have 2 opened with favourites F1 and F2 and files opened in each.
Now I would like to open a third window with the root folder being F1 because there’s an unrelated feature or bug that doesn’t have anything to do with the files being edited in the first F1 project. (i.e. I would like to segregate and keep track of the files being worked on by using 2 different windows).
So I Shift-Cmd-O to bring up the Open Favorite popup and select one of the favourites and this is what happens:
In the latest nightly build, a new window opens and fills with a selection of open files from F1. This is actually new behaviour that I see when writing up this email. Could be it’s opening up some previously cached version of a F1 window?
In previous builds what happens is that the original F1 comes to the front.
What I was hoping is that a new window opens with the root folder being the favourite I selected.
Ed Wong
hi,
i'm new on textmate and i need somme help please.
i instal fortran bundle with this method:
/cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/textmate/fortran.tmbundle.git/
and now i have this error:
//tmp/temp_textmate.n6H8uJ: line 20: gfortran: command not found/
i use textmate 1.5.11 with MAC OS X 10.9.3.
i did a similarly thing with gnuplot and it works.
Thank you for you help.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Installation-fortran-bundle-tp27951.h…
Sent from the textmate users mailing list archive at Nabble.com.
After 8 years using TextMate 1.x and a couple of years of reading about TextMate 2,
a new Mac and a move to Mavericks (from Lion) have prompted me to migrate my work to TextMate 2
Upgrades always bring surprises and shock to my workflow --- I have a couple of queries about
bundle management in TextMate 2
(1) In some standard bundles in TextMate 1, I moved items from Excluded Items
to the Menu Structure --- for example in the LaTeX bundle, I moved BibDesk Completion
to the Menu Structure and added the Key Equivalent of Ctrl+Cmd+B
--- in the TextMate 2 Bundles Editor there does not appear to be a way to
move an item from Other Actions to Menu Actions nor to edit the groups, separators or move items around
--- have I missed something obvious here ?
(2) I have a number of personal bundles for snippets in HTML, LaTeX, Haskell and Text
--- using the guidance in https://github.com/textmate/textmate/wiki/FAQ
I placed symbolic links to my bundle files in ~/Library/Application Support/Avian/Bundles
--- to activate them I had to delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
(there was no BundleIndex.plist)
--- I there no way in the interface to force a reloading of bundles ? (I use symbolic links to my bundles so that any edits
get automatically synchronised to my other machines)
Apologies if this has been covered elsewhere --- I have done the usual searches.
Many thanks for an excellent editing environment
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Molyneux E: molyneux(a)pobox.com
T: 020 8549 0045
M: 07885 426 323
71 Deacon Road, Kingston upon Thames KT2 6LS, UK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi,
I'm having a problem with my GitHub bundle. Even though there are changes,
I'm getting a persistent message, "No changes to commit within the current
scope. (Try selecting the root folder in the project drawer?)" when I try
to commit.
>From the command line, if I do 'git status', the file is shown has having
modifications. In the project drawer, SCM status, the file is shown has
having Uncommitted Changes. (I followed the advice here:
https://github.com/textmate/git.tmbundle/issues/11)
I suspect there is something minor going on, but I'm at a loss. Any advice
is greatly appreciated.
Thanks!
kelle
--
Kelle Cruz, PhD — http://kellecruz.com/
Lets say I have a file on desktop called called test.csv¹. I discovered by
accident that if I drag test.csv¹ to an R file, this code is pasted into
the R file:
read.csv(file = "../../../../Desktop/test.csv", header = TRUE,
stringsAsFactors = FALSE)
But if the file is a .xls file, only this get pasted into the R file:
/Users/rossahmed/Desktop/test.xls
How can I add a command that, when I drag a .xls file into an R file, this
get pasted in:
read.xls("/Users/rossahmed/Desktop/test.xls")
I've been using TextMate for a couple years now and I just learned about
rmate. It is a true lifesaver, because now I can stop using Emacs in ssh
terminal and start using a normal editor.
This feature is worth bragging about.
If I have a project open, and create a new file (CMD+N), I notice when I
try to save it, it doesn't default to the projects directory. Is there a
way to adjust this?
I know you can create a new file with SHIFT+CMD+N, but that forces you to
give it a name there and then, which is rarely what I want.
Im wondering if its somehow related to projectDirectory in .tm_properties?
Most of mine are set to "$CWD" just because every example I saw uses that.
If this is the cause, Is there a way to set project directory to the same
location as .tm_properties, without having to provide an absolute path?
The todo bundle triggers this message:
Failure running "Insert TODO List".
env: ruby18: No such file or directory
When I run ruby -v, I get
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
I'm on TextMate 9547 and Os 10.9.3
Do I switch paths to get to ruby 1.8?
Thanks for any advice.
--Gildas