- C-s incremental search. Once you have reached the end of the buffer it will perform an overlap search from the start.
- Use fn+left arrow to move to the end of the current line.
- Use fn+right arrow to move to the start of the current line.
- Use fn+up arrow to move to the start of the buffer.
- Use fn+down arrow to move to the end of the buffer. (These are tested on Aquamacs)
- M-x grep is extremely useful. It will bring the grep -n -e command to which you must append the filename and the 'string to match' and hit return. The grepped results will be shown in a separate buffer which you can click to move to the appropriate position in the source file.
- M-x shell opens a remote/local shell on a separate buffer.
- If a file is in version control then emacs shows that in the bottom buffer bar. (e.g. SVN).
- C-x v = shows the modifications that you have done since the last commit to the current file.
- C-x v v will perform the next appropriate version control action to the current file. If it is a commit then you will get a buffer to write a commit note and then hit C-c C-c to make the commit.
- To enter/exit from full screen mode use: command+shift and return.
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Thursday, September 9, 2010
emacs useful commands
Here are some useful tips from this site.
Subscribe to:
Post Comments (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
By default when you install MacTex and use TexShop for writing and compiling latex you will get PDFs with page size A4. This is all fine for...
-
These three terms are explained below. Anaphora is a back ward reference. Ex: I gave a banana to the monkey which it ate. Here "it"...
No comments:
Post a Comment