CronyAkatsuki ( @crony@lemmy.cronyakatsuki.xyz ) 46•1 year ago:w
:w
:w
:w
:w
i
esc
:w
:w
:w
:w
Average day in (neo)vim
fylkenny ( @fylkenny@feddit.de ) 9•1 year agoYou can use :wq only once
calzone_gigante ( @calzone_gigante@lemmy.eco.br ) 6•1 year agoI use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.
- dukatos ( @dukatos@lemm.ee ) 2•1 year ago
:x
noeontheend ( @noeontheend@beehaw.org ) 2•1 year agoMy biggest (mostly) irrational internet pet peeve is the proliferation of people suggesting “:wq” when “:x” is strictly better.
Commiunism ( @Commiunism@lemmy.wtf ) 3•1 year ago:w before ZZ just to make sure
anti-idpol action ( @pkill@programming.dev ) 1•1 year agonot mapping semicolon to colon
lel
SorryQuick ( @SorryQuick@lemmy.ca ) 1•1 year agoIs there any reason to use :w other than it being the default? I have mine mapped to CTRL-S and it makes sure to keep me in insert mode if I was in insert mode. Feels way faster and easier to spam than the 4 key presses it takes to execute “:w”.
CronyAkatsuki ( @crony@lemmy.cronyakatsuki.xyz ) 2•1 year agoI’m just used to it and I’m keeping ny time in instert mode at minimum.
ornery_chemist ( @ornery_chemist@mander.xyz ) 21•1 year ago:wa!
- intensely_human ( @intensely_human@lemm.ee ) 1•1 year ago
Basically a Jackie Chan fight scene, complete with somebody rolling a carriage at him and him kicking it back to pin them against the wall
QuazarOmega ( @QuazarOmega@lemy.lol ) 17•1 year agoWe can optimize this further:
unsatisfied = true while(unsatisfied) { key.dispatch( Keyboard::Ctrl, Keyboard::s ) }
…No, there is no instance where
unsatisfied
changes state Lunya \ she/it ( @backhdlp@iusearchlinux.fyi ) 2•1 year agoYou should just be able to
while(true)
Octopus1348 ( @Octopus1348@lemy.lol ) 7•1 year agoIt’s a joke.
Tja ( @Tja@programming.dev ) 2•1 year agoThat sounds like an excuse.
halfway_neko ( @halfway_neko@lemmy.dbzer0.com ) 4•1 year agoDon’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)
When you do this using Word online it be like “chill dude we autosave here, we got you” and I’m like “brother I do not trust you”.
Trailblazing Braille Taser ( @0x0@lemmy.dbzer0.com ) 9•1 year agoCtrl+s means “stop the presses” to VT100 terminal emulators and you have to press ctrl+q to resume. Key combinations from a different era.
palarith ( @palarith@aussie.zone ) English7•1 year agosync
sync
sync
gazby ( @gazby@lemmy.dbzer0.com ) 4•1 year agosync
⬆️↩️
⬆️↩️
😂
const_void ( @const_void@lemmy.ml ) 7•1 year agoCtrl-S? Are you writing code on Windows? 🤮
Vlyn ( @Vlyn@lemmy.zip ) English3•1 year agoThere’s no Visual Studio for Linux, so yeah… especially as a .NET dev.
Visual Studio Code isn’t the same.
Underwaterbob ( @Underwaterbob@lemm.ee ) English6•1 year agoI trust auto save in… Souls games.
summerof69 ( @summerof69@lemm.ee ) 6•1 year agoI’ve never had to think about that with Intellij IDEA. It just works!
lud ( @lud@lemm.ee ) 2•1 year agoI still click Ctrl S occasionally when using pycharm. It’s the law.
Johanno ( @Johanno@feddit.de ) 6•1 year agoThis is me in eclipse.
Because I used to do the single save and it failed
JoYo 🇺🇸 ( @JoYo@lemmy.ml ) English5•1 year agoMFRs are saving each keystroke they have access to.
BorgDrone ( @BorgDrone@lemmy.one ) 5•1 year agoTell me you use Windows without telling me you use Windows.
Meanwhile I just reboot my Mac without bothering to save anything and everything just restores as it was, even new documents that were never saved. It works so well I don’t even think about it anymore.
Ethan ( @firelizzard@programming.dev ) English6•1 year agoMaybe these days. That definitely was not true when I was growing up, or even a decade ago.
pythonoob ( @pythonoob@programming.dev ) 5•1 year agoDude I save almost every time I type anything. It’s muscle memory at this point.
Adanisi ( @Adanisi@lemmy.zip ) English5•1 year agoC-x C-s
Tja ( @Tja@programming.dev ) 1•1 year agoI hate editors that cut the current line if you do C-x with nothing selected. Always do C-x C-s, even in VSCode and KDevelop.
ILikeBoobies ( @ILikeBoobies@lemmy.ca ) 4•1 year agoCost/benefit
Manually saving will save a lot more time than it not saving