-
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) | |
I have setted the color of the special char to be light gray so it not invasive (ubuntu screenshot) | |
Using the buildin file tree of vim, as soon I start up with it ! also changing the color green to red | |
Changed the color scheme for the tabs | |
updated the arrows and point for tabs and spaces | |
Useful color for status bar | |
Useful ruler to see if a line is too long, still following 42 norminette |
This is a 30-day learning plan for mastering Vim, a powerful text editor.
- Enter insert mode:
i
- Exit insert mode:
Esc
- Move left, down, up, right:
h
,j
,k
,l
respectively - Save changes:
:w
- Quit Vim:
:q
- 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
- 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
- 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
- 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:
<
- 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: ```
- 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