Email or username:

Password:

Forgot your password?
clerie

alias vi="libreoffice --writer"

80 comments
Laura Aino

@jasmin @clerie come to think of it i don't even have vi{,m} on my computer

Tom Tailor :damnified:

@clerie
Du willst Mastodon brennen sehen, oder? 😅👌

kaia
@clerie
sudo EDITOR="libreoffice --writer" visudo
Paul Sutton

@clerie

emm we could have fun with this too

alias vi="emacs"

for example

Anthony Dardis

@clerie aaaaghhhh how do I get out of insert mode

ator robot

@Adardis @clerie Ctrl+Shift+M unless you're not in Writer, in which case Edit > something or other

it's like vi, but you have commands in insert and normal mode! just use Alt+something,something else,maybe more,help me; then tab around a bit and you'll end up somewhere you need to use a mouse.

Shawn Carter

@clerie VI/M users are like, so that's what we're going to do today? Fight?

clerie

People claimed stuff on Fedi can't go viral :blobcatthinking:

isа :luna: :jules:

@clerie Ich habe schon mehrmals Gegenbeweise gesehen.

Michaela

@clerie the key part of "viral" is "vi" :P

Aušrine [citation needed]

@clerie This thread is cursed, and I must burn it with fire. 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥

R. L. Dane :debian: :openbsd:

@clerie

#cursed ;)

How about:

$ cat /usr/lib/libreoffice/share/xdg/writer.desktop
[Desktop Entry]
Terminal=true
Icon=libreoffice-writer
Type=Application
Exec=vim %U
MimeType=application/vnd.oasis.opendocument.text
Name=LibreOffice Writer
GenericName=Word Processor
Comment=Create and edit text and graphics in letters, reports, documents and Web pages

Toast

@clerie You woke up and choose violence today apparently😂

Andreas

@clerie Ich verwende Linux seit über 25 Jahren, aber mit vi bin ich nie warm geworden. Ich nehme nano auf der Kommandozeile, auch wenn das wohl eigentlich die Warmduscher-Variante ist ...

Chris Ely

For anyone who is not aware, alias is not the solution you're looking for.

You are much better off setting some environment variables, VISUAL or EDITOR, so that less works correctly when you hit the 'v' key.

Your shell has to be involved for an alias to work, so anything that launches an editor for you, doesn't use an alias.

en.wikibooks.org/wiki/Guide_to

@clerie

Cyberfæ :pentacle:

@tcely @clerie oh my god this is why fosstodon is a fucking cesspool, it was a joke and you are now mansplaining at this poor person

cibo

@alexandria
@tcely @clerie I appreciated it. He's just trying to be helpful to anyone reading by sharing highly relevant information -no assumptions about whether or not the op knows what he shared are made.

Diego Herrera

@clerie and I thought that `alias sudo="echo"` was evil...

Kai Pelzel

@clerie nooooooooooooooooo 🤪 please noooooooo 🤪

Grouchig. Der Grummler.

@clerie

alias ed='wordstar'

(old man edition, and, yes, there were no alias on CP/M)

ramona

@clerie EDITOR="libreoffice --writer" git commit

Dr. Christopher Kunz

@clerie Mancher will offenbar die Welt brennen sehen… 😉

Kinky Kobolds

@clerie I don't know when I became the kind of person with Opinions on this, but this post made my brain stumble for a moment. Well played, stranger.

Katze

@clerie Don't forget to set your EDITOR to that too.
OMFG that must be the worst visudo experience ever.

𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕™

@clerie *uuhhhffff* wenigstens kein M$ Word da das im Linux läuft 😅

(ginge sicher auch irgendwie aber als OSS nerd habe ich so meine wunschvorsellung)

ordinary space cat

@clerie All I need is a libreoffice firevim extention :blobcateyes:

Go Up