Fix the issue where bashrc always activates in subdirectories of virtual environments
[dotfiles] / .vimrc
diff --git a/.vimrc b/.vimrc
index a7091d9..af109ae 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -26,24 +26,20 @@ set foldenable
 set foldmethod=syntax
 set foldlevelstart=99
 
-" Show line numbers.
-set number
-set numberwidth=4
-
 " Scroll five lines ahead of cursor.
 set scrolloff=5
 
 " Turn off error bells and visual bell
 set noeb vb t_vb=
 
-" Set tabs to width 4.
+" Set tabs to width 2.
 filetype plugin indent on
 set shiftwidth=2
 set softtabstop=2
 set tabstop=2
 set expandtab
 
-" language-specific settings
+" language-specific settings: tab width is 4 for python
 autocmd FileType python setlocal shiftwidth=4 softtabstop=4 tabstop=4
 
 " Allow backspacing over everything in insert mode.