- MrMonkey ( @MrMonkey@lemm.ee ) English24•1 year ago
Works the same as M-b for me (backwards-word)
Make sure your /etc/inputrc or ~/.inputrc contains
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\e[1;5C": forward-word "\e[1;5D": backward-word "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word`
- 𝒍𝒆𝒎𝒂𝒏𝒏 ( @lemann@lemmy.one ) English9•1 year ago
Lemmy:
> meme with problem
> SolutionCommentMemeCommentCommentMemeQuestion
Others:
> meme with problem
> BotCommentCommentAwardsAwardsBotShitpostAwardsShitpost
I hope the formatting shows properly… And thanks for this 😁 now to update the .inputrc on my laptop and VPSes
Edit: fix typo and formatting
- nayminlwin ( @nayminlwin@lemmy.ml ) English10•1 year ago
What happens to me is the opposite. I got used to Ctrl+w to delete a word in terminal and accidentally closed browser tabs many times while typing in them.
- Jordan Lund ( @jordanlund@lemmy.one ) English9•1 year ago
In any sane editor:
Save a file - CRTL-S
In VI:
-
Switch to command mode by pressing the Esc key.
-
Type : (colon). This will open the prompt bar in the bottom left corner of the window.
-
Type w after the colon and hit Enter.
In Emacs:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Save-Commands.html
C-x C-s Save the current buffer to its file (save-buffer).
C-x s Save any or all buffers to their files (save-some-buffers).
M-~ Forget that the current buffer has been changed (not-modified). With prefix argument (C-u), mark the current buffer as changed.
C-x C-w Save the current buffer with a specified file name (write-file).
M-x set-visited-file-name Change the file name under which the current buffer will be saved.
When you wish to save the file and make your changes permanent, type C-x C-s (save-buffer). After saving is finished, C-x C-s displays a message like this:
Wrote /u/rms/gnu/gnu.tasks
If the current buffer is not modified (no changes have been made in it since the buffer was created or last saved), saving is not really done, because it would have no effect. Instead, C-x C-s displays a message like this in the echo area:
(No changes need to be saved) With a prefix argument, C-u C-x C-s, Emacs also marks the buffer to be backed up when the next save is done. See Backup Files.
The command C-x s (save-some-buffers) offers to save any or all modified buffers. It asks you what to do with each buffer. The possible responses are analogous to those of query-replace:
y SPC Save this buffer and ask about the rest of the buffers.
n DEL Don’t save this buffer, but ask about the rest of the buffers.
! Save this buffer and all the rest with no more questions.
q RET Terminate save-some-buffers without any more saving.
. Save this buffer, then exit save-some-buffers without even asking about other buffers.
C-r View the buffer that you are currently being asked about. When you exit View mode, you get back to save-some-buffers, which asks the question again.
C-f Exit save-some-buffers and visit the buffer that you are currently being asked about.
d Diff the buffer against its corresponding file, so you can see what changes you would be saving. This calls the command diff-buffer-with-file (see Comparing Files).
C-h Display a help message about these options.
- RocksForBrains ( @RocksForBrains@lemm.ee ) English2•1 year ago
wtf m8
-
- mawkler ( @mawkler@lemmy.ml ) English7•1 year ago
b
Depends on the terminal. xfce4-terminal it works.
- Korthrun ( @korthrun@lemmy.sdf.org ) English5•1 year ago
✨🌈 R E A D L I N E 🌈✨
- maeries ( @maeries@feddit.de ) English3•1 year ago
Why is that actually?
- SokathHisEyesOpen ( @Anticorp@lemmy.ml ) English4•1 year ago
Because fuck you! That’s why!
- nayminlwin ( @nayminlwin@lemmy.ml ) English2•1 year ago
What happens to me is the opposite. I got used to Ctrl+w to delete a word in terminal and accidentally closed browser tabs many times while typing in them.
- james ( @james@lurk.fun ) English2•1 year ago
set -o vi
- AlexWIWA ( @AlexWIWA@lemmy.ml ) English2•1 year ago
Mind bogglingly infuriating
- ouigol ( @ouigol@beehaw.org ) English1•1 year ago
Meta + b insert Pooh in suit
- chaorace ( @chaorace@lemmy.sdf.org ) English1•1 year ago
That’s why my terminal is emacs
- cumberboi (any/all) ( @cumberboi@beehaw.org ) English1•1 year ago
SO TRUE OMG, also why the hell does it have to use ctrl + shift for shortcuts aaaa
- jw13 ( @jw13@beehaw.org ) English3•1 year ago
CTRL-C has been the default key combination to terminate a running process, since forever. Reassigning it to “copy selection” would be very inconvenient.
I like the solution of the ElementaryOS terminal: when you press CTRL-C, it does “the right thing” depending on the context.
- cumberboi (any/all) ( @cumberboi@beehaw.org ) English2•1 year ago
ohhh shoot thats cool! ty for the info :)
- feifei ( @feifei@feddit.de ) English0•1 year ago
Also in some Windows programs. Infuriating
- TWeaK ( @TWeaK@lemm.ee ) English0•1 year ago
More often it’s Ctrl + backspace that doesn’t work. Ctrl + <- works nearly everywhere.
- ralC ( @ralC@lemmy.fmhy.ml ) English1•1 year ago
Getting the little boxes when renaming files. Uuuuuuuuggghhh
- playxdestroy ( @playxdestroy@lemmy.ml ) English1•1 year ago
i’ve noticed ctrl + backspace works in windows 11 where it didn’t work in 10
- TWeaK ( @TWeaK@lemm.ee ) English1•1 year ago
I hope you don’t expect that to convince me to upgrade. That doesn’t even make up for what they did to the taskbar.
- Kryomaani ( @Kryomaani@sopuli.xyz ) English0•1 year ago
They’ve since updated it to allow you to display labels & not condense multiple windows into one button so it’s better than ever. I can’t believe it took until 11 to center the items, left aligning was a literal pain in the neck especially on ultrawide screens.
- TWeaK ( @TWeaK@lemm.ee ) English1•1 year ago
I prefer the left alignment, but I’m glad to hear they finally fixed the combined button thing. I still won’t stand for the right click menus and general fuckery with settings pages and keyboard shortcuts.