Skip to content

Commit 322af3c

Browse files
authoredMay 12, 2022
Create vimrc_python
1 parent 302d6fb commit 322af3c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
 

‎vimrc_python

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Configuring Vim with a Vimrc file
2+
Short example of ~/.vimrc file I used for development. Copy the file as ~/.vimrc
3+
" enable syntax highlighting
4+
syntax enable
5+
6+
" show line numbers
7+
set number
8+
9+
" set tabs to have 4 spaces
10+
" set ts=4
11+
12+
" indent when moving to the next line while writing code
13+
set autoindent
14+
15+
" expand tabs into spaces
16+
set expandtab
17+
18+
" when using the >> or << commands, shift lines by 4 spaces
19+
set shiftwidth=4
20+
21+
" show a visual line under the cursor's current line
22+
set cursorline
23+
24+
" show the matching part of the pair for [] {} and ()
25+
set showmatch
26+
27+
" enable all Python syntax highlighting features
28+
let python_highlight_all = 1

0 commit comments

Comments
 (0)
Please sign in to comment.