Comment

Comment by 1_player

The most useful shortcut I have in my .vimrc is the ability to "sudo save":

    command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
No more exiting vim to start it again with sudo.
parent 1_player 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton