瀏覽代碼

Improved showing of whitespace

*   show trailing space as well
*   use Unicode characters
*   toggle with <F2>
Alois Mahdal 12 年之前
父節點
當前提交
77562f2afc
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      dotfiles/vim/vimrc

+ 3
- 1
dotfiles/vim/vimrc 查看文件

@@ -66,8 +66,10 @@ endif
66 66
 "########################
67 67
 "######## from me #######
68 68
 
69
-set listchars=tab:>-,precedes:<
69
+set encoding=utf-8
70
+set list listchars=tab:→\ ,trail:·,precedes:←
70 71
 set list
72
+noremap <F2> :set list!<CR>
71 73
 
72 74
 " my favorite indent style
73 75
 set tabstop=4