Using Emacs to recursively find and replace in text files not already open

M-x find-name-dired: you will be prompted for a root directory and a filename pattern. Press t to “toggle mark” for all files found. Press Q for “Query-Replace in Files…”: you will be prompted for query/substitution regexps. Proceed as with query-replace-regexp: SPACE to replace and move to next match, n to skip a match, etc. Press … Read more

How can I make Sublime Text the default editor for Git?

Windows Sublime Text 2 (Build 2181) The latest Build 2181 just added support for the -w (wait) command line argument. The following configuration will allow ST2 to work as your default git editor on Windows. This will allow git to open ST2 for commit messages and such. git config –global core.editor “‘c:/program files/sublime text 2/sublime_text.exe’ … Read more

GUI-based or Web-based JSON editor that works like property explorer [closed]

Update: In an effort to answer my own question, here is what I’ve been able to uncover so far. If anyone else out there has something, I’d still be interested to find out more. http://knockoutjs.com/documentation/plugins-mapping.html ;; knockoutjs.com nice http://jsonviewer.arianv.com/ ;; Cute minimal one that works offline http://www.alkemis.com/jsonEditor.htm ; this one looks pretty nice http://json.bubblemix.net/ Visualise … Read more

What is the difference between Sublime text and Github’s Atom [closed]

In addition to the points from prior answers, it’s worth clarifying the differences between these two products from the perspective of choices made in their development. Sublime is binary compiled for the platform. Its core is written in C/C++ and a number of its features are implemented in Python, which is also the language used … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)