浏览代码

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