File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ let g:ycm_global_ycm_extra_conf = '~/.vim/.ycm_extra_conf.py'
37
37
" yankring options
38
38
let g: yankring_history_dir = ' ~/.vim/temp'
39
39
40
+ " nerdcommented options
41
+ let g: NERDSpaceDelims = 1
42
+
40
43
" make backspace and del keys work like most other apps
41
44
set backspace = 2
42
45
:fixdel
@@ -73,9 +76,9 @@ autocmd BufNewFile,BufRead makefile* setlocal noexpandtab
73
76
autocmd BufNewFile ,BufRead MAKEFILE* setlocal noexpandtab
74
77
75
78
" Automatic re-tab
76
- if has (" autocmd" )
77
- autocmd BufReadPost * if &modifiable | retab | endif
78
- endif
79
+ " if has("autocmd")
80
+ " autocmd BufReadPost * if &modifiable | retab | endif
81
+ " endif
79
82
80
83
" Line numbering
81
84
highlight LineNr term = bold cterm= NONE ctermfg= DarkGrey ctermbg= NONE gui = NONE guifg= DarkGrey guibg= NONE
@@ -107,7 +110,7 @@ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$\| \t/
107
110
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
108
111
109
112
" Autoremove trailing white space on save
110
- autocmd BufWritePre * :% s /\s\+$/ /e
113
+ " autocmd BufWritePre * :%s/\s\+$//e
111
114
112
115
" Search highlight
113
116
set hlsearch
You can’t perform that action at this time.
0 commit comments