3 Ways to Replace string in Emacs
Multiple Cursor editing in Emacs
Upgrade to Emacs 25 on Windows 64 bit
How to change flyspell keybinding in Emacs
I use Ctrl - Alt - i to move the cursor to up window, actually I use ijkl to move cursor to different window in four directions.
When I enabled flyspell-mode, the Ctrl - Alt - i is overwritten. It was used to correct misspelled words, but I never use it.
How to split a hunk and stage part of a hunk in Magit
Maybe you accumulated too many unstaged changes, maybe there are man different changes gathered in a same hunk. No you get a hunk contains totally different code, you may not want to stage them as a whole. If you are in command line, you can use git add -p. But this feature is very limited, you just can not .
Emacs Evil mode regular expression search and replace
One of the things I miss about VIM in Emacs is :%s command, which allows you input pattern and replace text in one step. The Emacs M-x query-replace-regexp do the same thing but a bit annoying, you need to input regular expression first then press enter, input replace text and press enter again and you need to press ! .
How to toggle evil mode in Emacs
Choose a dark theme for Emacs
When you need to work in a dark environment, choose a eye healthy theme if important if you want to be happy stay with Emacs.
It has a dark background, but not black. The text fore colors like white, green, red works very well with the background.
Easy Emacs distraction free mode
I first know the so called distraction free mode is when I'm using Sublime Text, Press Shift + F11, and you go into Full screen mode , and the text is centered, each line contains 80 characters, I found this is very helpful when I focus on writing, for example when writing a blog post.
Implementing Goto Anything in Emacs
Goto Anything is a great feature in editors like Sublime Text, it allows you goto anywhere you want with minimal key strokes. This is what I wanted in Emacs for switching buffers. Both the switch-to-buffer and switch-to-buffer are not good enough.
The Sublime Goto Anything support goto any line any symbol in any file with fuzzy matching. For Emacs, if I can fuzzy matching buffers and switch to the buffer I will be more productive.
The Sublime Goto Anything support goto any line any symbol in any file with fuzzy matching. For Emacs, if .