Skip to content

Learning Vim can be very beneficial for programmers, writers, and anyone who spends a lot of time working on a computer

Notifications You must be signed in to change notification settings

alessiotucci/my-vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 

Repository files navigation

Here are a few reasons why you might want to learn Vim:

  • Increased productivity: Vim is designed to be efficient, and its various commands and keyboard shortcuts can help you work much faster than you would with a mouse or touchpad.

  • Portability: Vim is available on nearly every operating system, so once you learn it, you can use it on any computer you work on.

  • Customizability: Vim is highly customizable, and you can tweak it to work exactly the way you want it to. You can also add plugins and extensions to make it even more powerful.

  • Long-term benefits: Vim may have a steep learning curve, but once you learn it, you'll be able to use it for years to come. This means that investing the time to learn Vim can pay off in the long run.

  • Powerful editing capabilities: Vim has many powerful editing capabilities that can make editing text, code, or configuration files faster and easier. For example, you can use macros to automate repetitive tasks, or use search and replace commands to quickly make changes to a large file.

Overall, if you're willing to invest the time to learn Vim, it can be a powerful tool that can help you work more efficiently and effectively.

updates Images
I have updated my .vimrc with the tabs and space visualization very helpful for Norminette,the school’s norm.(windows screenshot) image
I have setted the color of the special char to be light gray so it not invasive (ubuntu screenshot) Screenshot from 2023-08-08 11-40-26
Using the buildin file tree of vim, as soon I start up with it ! also changing the color green to red image
Changed the color scheme for the tabs image
updated the arrows and point for tabs and spaces image
Useful color for status bar image
Useful ruler to see if a line is too long, still following 42 norminette Screenshot from 2024-03-25 12-19-00

YOUTUBE VIDEO

Ben Awad 1h tutorial Beginner Friendly

30-Day Vim Learning Plan

This is a 30-day learning plan for mastering Vim, a powerful text editor.

Day 1: Basic Navigation

  • Enter insert mode: i
  • Exit insert mode: Esc
  • Move left, down, up, right: h, j, k, l respectively
  • Save changes: :w
  • Quit Vim: :q

Day 2-5: Basic Editing

  • Delete character under the cursor: x
  • Delete word: dw
  • Copy current line: yy
  • Paste copied line: p
  • Undo last change: u
  • Redo last change: Ctrl-r

Day 6-10: Advanced Navigation

  • Move forward one word: w
  • Move back one word: b
  • Move to beginning of the line: 0
  • Move to end of the line: $
  • Move to beginning of the file: gg
  • Move to end of the file: G

Day 11-15: Search and Replace

  • Search forward for a string: /
  • Search backward for a string: ?
  • Move to the next search result: n
  • Move to the previous search result: N
  • Replace all instances of "old" with "new" in the current line: :s/old/new/g
  • Replace all instances of "old" with "new" in the entire file: :%s/old/new/g

Day 16-20: Visual Mode

  • Enter visual mode: v
  • Enter line visual mode: V
  • Enter block visual mode: Ctrl-v
  • Delete selected text: d
  • Copy selected text: y
  • Indent selected text: >
  • Unindent selected text: <

Day 21-25: Macros and Marks

  • Start recording a macro: q
  • Play back a macro: @
  • Set a mark: m
  • Move to a mark: '
  • Move to the exact location of a mark: ```

Day 26-30: Advanced Features

  • Split the window: Ctrl-w
  • Open a new window: :new
  • Open a new vertical window: :vnew
  • Enable autocomplete: Ctrl-n
  • Run a shell command from within Vim: :!command

About

Learning Vim can be very beneficial for programmers, writers, and anyone who spends a lot of time working on a computer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published