spellcheck for c- and kgs-files
changed session options git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@146 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69
This commit is contained in:
parent
a649161e03
commit
2457040044
@ -36,6 +36,9 @@ setlocal formatexpr=KgsFormat()
|
||||
" ----------
|
||||
let b:commentstring = "\/\/"
|
||||
|
||||
" spell check
|
||||
setlocal spell
|
||||
|
||||
" Grep options
|
||||
let b:GrepFiles = '*.kgs'
|
||||
|
||||
|
@ -43,6 +43,8 @@ let b:commentstring = "\/\/"
|
||||
"setlocal comments=sO:*\ -,mO:\ \ \ ,exO:*/,s1:/*,mb:\ ,ex:*/
|
||||
setlocal cpoptions-=C
|
||||
|
||||
" spell check
|
||||
setlocal spell
|
||||
|
||||
" Grep options
|
||||
let b:GrepFiles = '*.c *.h'
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Stefans python-file plugin
|
||||
|
||||
" don't use spaces for tabs
|
||||
setlocal noexpandtab
|
||||
" use spaces for tabs
|
||||
setlocal expandtab
|
||||
setlocal tabstop=4
|
||||
setlocal shiftwidth=4
|
||||
setlocal formatoptions=croq
|
||||
|
@ -913,4 +913,14 @@ function Insert_Header(file)
|
||||
endwhile
|
||||
endfunction
|
||||
|
||||
" -------
|
||||
" Outlook
|
||||
" -------
|
||||
|
||||
command OutlookBugfix call s:OutlookBugfix()
|
||||
function s:OutlookBugfix()
|
||||
silent execute ':%s$^\(\%([^,]*,\)\{55}\)"\/o[^,]*\"\(,"EX","[^(]*(\)\([^)]*\)\()",\)$\1"\3"\2\3\4$c'
|
||||
silent execute ':%s$^\(\%([^,]*,\)\{47}\)"\/o[^,]*\"\(,"EX","[^(]*(\)\([^)]*\)\()",\)$\1"\3"\2\3\4$c'
|
||||
endfunction
|
||||
|
||||
EchoDebug 'loaded tools.vim'
|
||||
|
@ -169,7 +169,7 @@ nnoremap gb :edit #<CR>
|
||||
" -----------
|
||||
" come and go
|
||||
" -----------
|
||||
set sessionoptions=blank,buffers,curdir,globals,winsize
|
||||
set sessionoptions=blank,buffers,curdir,folds,help,resize,tabpages,winsize
|
||||
" open window size
|
||||
autocmd GUIEnter * winsize 100 60
|
||||
" read and write files automatically
|
||||
|
Loading…
x
Reference in New Issue
Block a user