Skip to content

Instantly share code, notes, and snippets.

View sabarnix's full-sized avatar

Sabarni Das sabarnix

  • Media.net
  • Bengaluru
View GitHub Profile
@sabarnix
sabarnix / Vim
Created July 12, 2019 10:57 — forked from mithildeeva/Vim
Vim handy commands
1. Copy/duplicate current line (on the next line)
- In normal mode,
:t.
2. Duplicate line on line 7
- In normal mode,
:t 7
3. Save changed file as sudo which was opened as a user with less access
:w !sudo tee %