2
votes
1answer
25 views

Emacs bind single shift key

I know that the shift key is somewhat special, but sometime it turns out this key is very handy when we have some key binding conflicts. Currently I want to bind the single left shift key to replace ...
2
votes
0answers
78 views

How can I get emacs 24.* under windows to autocomplete paths in shell buffers using “\” instead of “/”?

See How can I get emacs under windows to autocomplete paths in shell buffers using "\" instead of "/"? I use emacs on windows 7, when calling M-x shell, emacs opens a DOS-Shell. ...
1
vote
1answer
33 views

Emacs: Single column completion?

TLDR: Is it possible to make emacs use single-column completion? When using emac's completion mechanisms and there are multiple possibilities, then completions are displayed in a separate window, ...
1
vote
1answer
76 views

How do I get emacs to autoexpand from a list of known keywords?

On a Ubuntu installation I have both python-mode.el and the command in my .emacs file: (global-set-key [f2] 'hippie-expand) Thus keywords are highlighted and variables that I have defined already ...
2
votes
1answer
162 views

emacs auto-complete behavior with underscores in python mode

In my .emacs I have the following line of code: (modify-syntax-entry ?_ "." python-mode-syntax-table) This is so that commands like forward-word and backward-kill-word stop at any underscores that ...
1
vote
1answer
126 views

Make emacs autocomplete cpp files over binary files

My question is similar to this one, except for emacs instead of vim. The issue is that I have a cpp file that I want to open and when I type f[TAB] it autocompletes to foo the binary file foo instead ...
1
vote
1answer
508 views

How can I make Emacs TRAMP offer completions from my ~/.ssh/config?

When I want to access remote files over sftp in Emacs using TRAMP, I would like Emacs to offer me completions from the hostnames in my ssh config. How can I do this? For example, if I have two hosts ...
8
votes
3answers
3k views

How do I complete file paths in emacs?

Say for instance I'm editing a config file and I want to type in a path. Is there a plugin for emacs that lets you complete a file path in that buffer? I've searched for this and there's like a ...