Questions tagged [navigation]
Use the navigation tag for questions about moving around: to different places within a file/buffer (i.e., beginning, end, across paragraphs and code blocks); from one window to another (i.e., changing which window you are working in, and which files/buffers are displayed in each window). Use tag [motion] instead, for moving point around.
89 questions
1
vote
1
answer
126
views
How to associate each tab with a key binding
I configured Emacs so I can use tabs similarly to a browser :
(use-package intuitive-tab-line
:vc (:url "https://github.com/thread314/intuitive-tab-line-mode")
:defer 0
:init
...
2
votes
2
answers
89
views
Can you jump to the next bookmark?
Currently, all of my Emacs bookmarks are for the same file. They indicate parts of the file that I regularly edit and are helpfully named. I want to skim through all of them to remind myself what I ...
1
vote
1
answer
152
views
Is there a copy-only zap-to-char?
I'm using zap-to-char more and more. But sometimes, I want to copy rather than kill. Is there a function for this in an out-of-the-box copy of Emacs? I could surely write the code myself, but does ...
1
vote
1
answer
102
views
Is there a single keyboard shortcut for going to the end of the above line?
I want to go to the end of the above line. I can do this with two keyboard shortcuts, namely <up> followed by C-e. Can it be done in one in an out-of-the-box copy of Emacs? I could surely write ...
2
votes
1
answer
65
views
Make ‘jump-to-register’ reuse an existing window
For example, if I save the current position in a register from the left window here, and then call jump-to-register from the right window,
Emacs switches the right window to the buffer where I saved ...
0
votes
2
answers
55
views
How to prevent C-c C-u jumps two headings?
* Infrastructure and Programming Machine :inbox:
:PROPERTIES:
:Effort: 0:30
:END:
** test1
-test
-test2
If my cursor is under "test2" and I use C-c C-u, the ...
1
vote
0
answers
101
views
Doom Emacs: Return puts cursor in beginning of minibuffer Instead of opening file
After a fresh install of Emacs and Doom, the program hangs after attempting to open a file from the mini-buffer.
I've been trying to set up doom emacs for the first time on a newly installed Fedora OS....
0
votes
2
answers
113
views
How to jump to #+RESULTS: when point is at Org source block?
When point is on a source block, I want to be able to jump to the #+RESULTS section of that source block. If the source block does not have a #+RESULTS: section, I want to do nothing: I don't want to ...
0
votes
0
answers
63
views
How quick jump to specific lines in differents buffers?
Linux Mint 21
Emacs 27.1
Suppose I open 3 different text files. As result open 3 differents buffers.
E.g.
text_1.txt
text_2.txt
text_3.txt
Is it possible to jump using keybinding to the next lines?
...
1
vote
2
answers
90
views
Looking for a "point ring"
Is there something like a point ring in Emacs?
I would like to store the current point in there using a command similar to point-to-register. But when I store another point, I want the previous one ...
0
votes
1
answer
80
views
How to move out of a python string with C-M-u
I'm used to using backward-up-list to go to the front of a string in most every programming mode, but for some reason it doesn't work in python-mode. python-mode rebinds C-M-u to its own python-nav-...
1
vote
0
answers
146
views
How to switch buffers (prev & next) with minimal buffer list order modification?
How to switch buffers (prev & next) with minimal buffer list order modification?
To be succinct and without getting into the weeds of particular details, the best way to explain what I am trying ...
1
vote
1
answer
245
views
How do I jump to the last sexp at the current nesting level?
Suppose I have this structure:
((1 2 3)
(4 5 6)
(7 8))
I can move backward and forward sexp-by-sexp (one-by-one) with backward-sexp and forward-sexp.
However, I often have dozens of sexps to ...
1
vote
1
answer
48
views
Need search function to navigate to last line in continuous occurrence range
I am looking for a way to improve searching by repeating pattern.
Let's say some program prints lots of log messages with the same pattern:
copying path '/nix/store/lqfjx7x6imy5a9xab1ff5nhg90v089rq-...
3
votes
1
answer
283
views
How can I make `forward-sexp` handle other balanced character-pairs such as < and > or << and >>?
I am trying to find an easy and efficient way to modify the behaviour of forward-sexp to handle balanced pairs of characters not normally supported by it, such as balanced < and > and balanced &...