#vim

rainerhgw@diasp.org

#vim

When exiting a file, I want to have the cursor position saved. And when I open the file again, I want to see the cursor at exact the last position.
How do I achieve that?
In ~/.vimrc I have set viminfo='100,<50,s10,h, but that does not seem to be enough.

Any suggestions?

c47@fr.nixre.net

Screenshot of neovim in a terminal emulator, with nvim-tree on the left and a lua config file on the right.There are several cute icons - a penguin as linux indicator and the lua logo as language indicator.

I have set up a basic nvim config in lua some time ago. I'm pretty new to lua and nvim and it's configurationn in lua. Also it's new for me to install such eye-candy - but I really like it :-) The language and OS indicator icons and those littel folders and such... I think it's really cute :-)

#vim #nvim #neovim

z428@loma.ml

Also: At some point, "web development" was mostly about dynamically changing a couple of files using #vim through an #ssh connection to some remote machine. Not to say there's a reason to use newer tools, but quickly fixing minor glitches on a staging machine with an #angular app deployed is slightly more challenging...

z428@loma.ml

(Re-occurring reminder: It's nice to see you're able to tweak the living s__t out of your #vim, #zsh or whatever terminal-based tools you admire for your daily workflow. Maybe this will make you a Linux admin guru. And yet, you'll make a total fool out of yourself by failing to get along well with a remote Debian machine, being forced to use just a plain bash shell, vanilla vi and no permissions to install any additional software or extensions here. Know the basics. Period.)