瀏覽代碼

fixed vimrc

Tom 12 年之前
父節點
當前提交
4ec552e71f
共有 1 個文件被更改,包括 20 次插入20 次删除
  1. 20 20
      .vimrc

+ 20 - 20
.vimrc

@@ -1,27 +1,27 @@
-# vimconfig.com
-set number	# Show line numbers
-set no wrap	# Wrap lines
-set showbreak=+++	# Wrap-broken line prefix
-set textwidth=100	# Line wrap (number of cols)
-set showmatch	# Highlight matching brace
-set visualbell	# Use visual bell (no beeping)
+" vimconfig.com
+set number	" Show line numbers
+set nowrap	" Wrap lines
+set showbreak=+++	" Wrap-broken line prefix
+set textwidth=100	" Line wrap (number of cols)
+set showmatch	" Highlight matching brace
+set visualbell	" Use visual bell (no beeping)
  
-set hlsearch	# Highlight all search results
-set ignorecase	# Always case-insensitive
-set incsearch	# Searches for strings incrementally
+set hlsearch	" Highlight all search results
+set ignorecase	" Always case-insensitive
+set incsearch	" Searches for strings incrementally
  
-set autoindent	# Auto-indent new lines
-set expandtab	# Use spaces instead of tabs
-set shiftwidth=4	# Number of auto-indent spaces
-set smartindent	# Enable smart-indent
-set smarttab	# Enable smart-tabs
-set softtabstop=2	# Number of spaces per Tab
+set autoindent	" Auto-indent new lines
+set expandtab	" Use spaces instead of tabs
+set shiftwidth=4	" Number of auto-indent spaces
+set smartindent	" Enable smart-indent
+set smarttab	" Enable smart-tabs
+set softtabstop=2	" Number of spaces per Tab
  
-## Advanced
-set ruler	# Show row and column ruler information
+" Advanced
+set ruler	" Show row and column ruler information
  
-set undolevels=1000	# Number of undo levels
-set backspace=indent,eol,start	# Backspace behaviour
+set undolevels=1000	" Number of undo levels
+set backspace=indent,eol,start	" Backspace behaviour
 
 set autoread