Skip to content

flavia bastos

  • Home
  • About

Tag: vim

Go to line number in a file using vim

February 13, 2020February 8, 2020

You want to see line 3842 of file called my_super_long_file.py and you can only access that file using vim. You open the file and to your dismay, by default, vim doesn't display line numbers. Here are your options: Arrow down and hope you find that line before retirementDisplay the line numbers by hitting : and … Continue reading Go to line number in a file using vim

TIL: How to move a line in Vim

November 6, 2019November 3, 2019

For a text like the following: This is the line I want to move. This line should be the first line. In order to move the first line down, in normal mode* (not edit or insert mode), follow these steps: place the cursor at the beginning of the line you want to move - in … Continue reading TIL: How to move a line in Vim

Find me

  • GitHub
  • LinkedIn
  • Twitter

Recent Posts

  • Book review: The Programmer’s Brain
  • Como reverter um commit no git
  • TIL: installed packages in Python – list, and show
  • How to revert a commit in git
  • Managing local git branches with git rebase

Categories

  • books (3)
  • career (1)
  • command line (13)
  • git (8)
  • go (1)
  • gRPC (2)
  • housekeeping (2)
  • how-to (8)
  • JavaScript (4)
  • networking (3)
  • python (10)
  • quick-tip (6)
  • rails (1)
  • til (8)
  • web development (2)

Tags

about argv aws beginner book built-in career code coding milestone command line data structure debug debugger decorator dev environment dictionary docker git go golang gRPC gRPC-Web how-to ifconfig iniciante JavaScript js lambda lessons linux list nc netcat network pdb ping productivity profiling prompt pt-BR python quick-tip rails set sort ss til tools traceroute tuple vi vim

Follow via RSS

  • RSS - Posts

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 137 other subscribers
A WordPress.com Website.
  • Follow Following
    • flavia bastos
    • Already have a WordPress.com account? Log in now.
    • flavia bastos
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...