modify
git-svn-id: http://photonzero.com/dotfiles/trunk@104 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
18fd920110
commit
2de1c8b44c
2 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,6 @@
|
|||
if exists("did\_load\_filetypes")
|
||||
finish
|
||||
endif
|
||||
let b:auto_trim_whitespace=0
|
||||
" Filetype mappingss
|
||||
augroup markdown
|
||||
au! BufRead,BufNewFile *.mkd setfiletype mkd
|
||||
|
|
|
|||
4
.vimrc
4
.vimrc
|
|
@ -83,6 +83,7 @@ let Tlist_Show_One_File = 0
|
|||
let g:ConqueTerm_CWInsert = 1
|
||||
let g:ConqueTerm_InsertOnEnter = 0
|
||||
let g:ConqueTerm_SendVisKey = '<Leader>ss'
|
||||
let b:auto_trim_whitespace = 0
|
||||
|
||||
"MiniBufExplore Options
|
||||
"let g:miniBufExplMapWindowNavVim = 1
|
||||
|
|
@ -328,7 +329,8 @@ endfunction
|
|||
" Removes trailing spaces
|
||||
function AutoTrimWhitespace()
|
||||
if b:auto_trim_whitespace == 1
|
||||
%s/\s\+$//e
|
||||
m'
|
||||
:%s/\s\+$//e
|
||||
''
|
||||
endif
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue