Skip to content

Instantly share code, notes, and snippets.

@dimalyshev
Last active May 20, 2018 00:49
Show Gist options
  • Save dimalyshev/3b1799a45127d32bc0a1bfc17cd00112 to your computer and use it in GitHub Desktop.
Save dimalyshev/3b1799a45127d32bc0a1bfc17cd00112 to your computer and use it in GitHub Desktop.
config
md wc & cd wc
svn co https://svnsrv:8443/svn/myrepo/dev --depth empty .
:: precise fetch dirs
svn up client services contrib setup
:: precise fetch files
svn up mkver.bat setver.js build.bat
# Window sizes and visibility
#~ two.phase.draw=0
#~ buffered.draw=0
find.replace.advanced=1
#~ magnification=1
#~ output.magnification=-1
#find.replace.matchcase=1
#find.replace.escapes=1
#find.replace.regexp=1
find.replace.regexp.posix=1
#find.replace.wrap=0
#find.replacewith.focus=0
#find.replace.advanced=1
position.width=800
position.height=1000
split.vertical=0
find.files=*.c *.cxx *.h *.cpp *.hpp | *.js *.php *.?htm*
statusbar.visible=1
statusbar.number=5
statusbar.text.1=ln: $(LineNumber)/$(NbOfLines) col: $(ColumnNumber) \
$(OverType) $(CurrentDate) $(CurrentTime)
properties.directory.enable=1
# Sizes and visibility in edit pane
line.margin.width=1+
tabbar.hide.one=1
buffers=100
wrap=1
output.wrap=1
wrap.style=2
line.margin.visible=1
margin.width=10
blank.margin.left=0
blank.margin.right=4
# Element styles
caret.period=500
view.whitespace=1
view.indentation.whitespace=0
selection.back=#FFAA00
selection.back.alpha=100
caret.fore=#FF0000
caret.width=3
caret.line.back=#AAAAAA
caret.line.back.alpha=100
edge.column=80
edge.mode=1
edge.colour=#333333
whitespace.fore=#111111
whitespace.back=#EEEEEE
use.monospaced=1
# Behaviour
time.commands=1
clear.before.execute=1
fold.flags=0
fold.symbols=3
fold.on.open=1
fold.comment=1
fold.at.else=1
save.session=1
save.recent=1
save.position=1
session.bookmarks=1
session.folds=1
save.all.for.build=1
ensure.final.line.end=1
ensure.consistent.line.ends=1
# Checking
load.on.activate=1
save.on.deactivate=1
check.if.already.open=1
quit.on.close.last=1
title.full.path=1
title.show.buffers=1
strip.trailing.spaces=1
# Indentation
tabsize=4
indent.size=4
indent.automatic=1
indent.opening=1
indent.closing=0
backspace.unindents=1
# Give symbolic names to the set of fonts used in the standard styles.
# add monospace
font.base=$(font.monospace)
font.small=$(font.monospace)
font.comment=$(font.monospace)
font.text=$(font.monospace)
font.text.comment=$(font.monospace)
font.embedded.base=$(font.monospace)
font.embedded.comment=$(font.monospace)
font.vbs=$(font.monospace)
# Printing - only works on Windows
print.header.style=font:Verdana,size:10,bold
print.footer.style=font:Verdana,size:10,bold
#~ output.code.page=UTF-8
#~ character.set=CP1251
find.files=*.c *.cc *.cpp *.cxx *.h *.hh *.hpp *.hxx|*.php *.html *.htm *.js *.css
###############################
## interface
###############################
comment.stream.start.xml=<!--
comment.stream.end.xml=-->
comment.block.xml=//~
# Import all the language specific properties files
import inno
###############################
## interface
###############################
#~ user.shortcuts=
#~ user.context.menu=
###############################
## cpp compiling
###############################
#~ style.cpp.32=$(font.base),back:#000000,fore:#ffffff
#~ style.cpp.33=back:#C0C0C0,$(font.base)
#~ style.cpp.37=fore:#939393
#~ caret.fore=#FFFFFF
#~ selection.alpha=75
#~ selection.back=#FFFFFF
#~ colour.keyword=fore:#649bff
#~ colour.operator=fore:#727272
api.*.cpp=$(SciteDirectoryHome)\cpp.api
autocompleteword.automatic=1
style.cpp.34=fore:#0000FF,bold,italics
style.cpp.35=fore:#FF0000,bold,italics
style.hypertext.34=fore:#0000FF,bold,italics
style.hypertext.35=fore:#FF0000,bold,italics
################## VC compiler
clopts=/EHsc
cl8=L:\tools\cl.bat $(clopts) $(FileNameExt)
cl6=cl $(clopts) $(FileNameExt)
################## GCC compiler
gccopts=-pedantic -Os
gcc=g++ $(gccopts) $(FileNameExt) -o $(FileName).exe
gccc=gcc $(gccopts) $(FileNameExt) -o $(FileName).exe
command.compile.$(file.patterns.cpp)=$(cl8)
command.build.$(file.patterns.cpp)=$(cl8)
command.go.$(file.patterns.cpp)=./$(FileName).exe
command.go.needs.$(file.patterns.cpp)=$(cl8)
command.name.1.$(file.patterns.cplusplus)=gcc wall
command.1.$(file.patterns.cplusplus)=g++ -W -Wall -Wshadow -Wwrite-strings -Wold-style-cast -Woverloaded-virtual -pedantic -Os -fno-exceptions -c $(FileNameExt)
command.name.2.$(file.patterns.cplusplus)=gnu cc
command.2.$(file.patterns.cplusplus)=$(gcc)
command.name.3.$(file.patterns.cplusplus)=vc6.0 cc
command.3.$(file.patterns.cplusplus)=$(cl6)
command.name.8.$(file.patterns.cplusplus)=depends
command.subsystem.8.$(file.patterns.cplusplus)=1
command.8.$(file.patterns.cplusplus)=Depends.exe $(FileName).exe
command.help.$(file.patterns.cplusplus)="C:\Program Files (x86)\Common Files\microsoft shared\Help 9\dexplore.exe" /helpcol
command.help.subsystem.$(file.patterns.cplusplus)=3
###############################
## c# compiling
###############################
#~ csc_path=C:\Windows\Microsoft.NET\Framework64\v4.0.30319
csc_path=C:\Windows\Microsoft.NET\Framework64\v3.5
#~ csc_path=C:\Windows\Microsoft.NET\Framework\v3.5
#~ set FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v4.0.30319
csopts=/nologo /out:$(FileName).exe /t:winexe
wpfrefs=/r:WindowsBase.dll /r:PresentationCore.dll /r:PresentationFramework.dll
csc=$(csc_path)\csc.exe /platform:x64 $(csopts) $(wpfrefs)
#~ /r:system.dll,system.drawing.dll
command.compile$(file.patterns.cs)=$(csc) $(FileNameExt)
command.build.$(file.patterns.cs)=$(csc) $(FileNameExt)
command.go.$(file.patterns.cs)=$(FileName).exe $(1) $(2) $(3) $(4)
#~ command.go.needs.$(file.patterns.cs)=$(csc) $(FileNameExt)
command.name.1.$(file.patterns.cs)=csc.exe x64
command.1.$(file.patterns.cs)=$(csc_path)\csc.exe /platform:x64 $(FileNameExt)
command.name.2.$(file.patterns.cs)=csc.bat console
command.2.$(file.patterns.cs)=csc.bat /target:exe /r:ArgUtil.dll $(FileNameExt)
command.name.3.$(file.patterns.cs)=csc.bat module
command.3.$(file.patterns.cs)=csc.bat /target:library $(FileNameExt)
command.help.$(file.patterns.cs)="C:\Program Files (x86)\Common Files\microsoft shared\Help 9\dexplore.exe" /helpcol
command.help.subsystem.$(file.patterns.cs)=3
###############################
## inno iss compiling
###############################
import inno
PATH_TO_INNOSETUP=C:\Program Files (x86)\Inno Setup 5
command.compile.$(file.patterns.inno)="$(PATH_TO_INNOSETUP)\iscc.exe" $(FileNameExt)
command.go.$(file.patterns.inno)="$(PATH_TO_INNOSETUP)\Compil32.exe" $(FileNameExt)
###############################
## js iss compiling
###############################
JS_INTERPRET_PATH=c:\windows\system32
command.go.$(file.patterns.js)=cscript.exe //nologo $(FileNameExt)"
command.name.1.$(file.patterns.js)=js 1251
command.1.$(file.patterns.js)=js.cmd $(FileNameExt)
###############################
## CSS settings
###############################
command.go.*.css=notepad.exe $(FileNameExt)
command.help.*.css="D:\mydocs\offline\ajax\css\Влад Мержевич. Справочник по CSS.chm"
command.help.subsystem.*.css=2
###############################
## HTA settings
###############################
command.go.*.hta=mshta.exe "$(FilePath)"
###############################
## commands extension
###############################
command.name.9.*=Del blank lines
command.subsystem.9.*=3
command.9.*=dofile $(SciteDefaultHome)/test.lua
###############################
## batch settings
###############################
command.go.$(file.patterns.batch)=$(FileNameExt)
command.name.0.$(file.patterns.batch)=Execute Selection
command.0.$(file.patterns.batch)=$(CurrentSelection)
command.help.$(file.patterns.batch)="D:\mydocs\books\ntcmds.chm"
command.help.subsystem.$(file.patterns.batch)=2
###############################
## java compiling
###############################
JDK=C:\Program Files\Java\jdk1.7.0_79
CLASSPATH=$(JDK)/lib;$(JDK)/jre/lib;$(JDK)/../jre7/lib;
JAVAC_OPT=-classpath "$(CLASSPATH)"
command.compile.$(file.patterns.java)="$(JDK)\bin\javac.exe" $(JAVAC_OPT) $(FileNameExt)
command.build.$(file.patterns.java)="$(JDK)\bin\javac.exe" $(JAVAC_OPT) *.java
command.go.$(file.patterns.java)="$(JDK)\bin\java.exe" $(FileName)
set nocp
set incsearch hlsearch smartcase ignorecase
set autoindent smartindent cindent
set number ruler wildmenu showcmd
" set cursorline
set modeline
"set fenc=utf-8,windows-1251
set lcs=eol:$,tab:>-,trail:-,nbsp:%,extends:>,precedes:<
set expandtab smarttab
set tabstop=2 shiftwidth=4 textwidth=80
set wildmode=longest,full
syntax on
color slate
hi CursorLine guibg=#222200 guifg=#555555
"hi CursorLine gui=reverse
" runtime paths
set rtp^=~/vimfiles/ctrlp.vim
set rtp^=~/vimfiles/myown
set rtp^=~/vimfiles/nerdtree
set rtp^=~/vimfiles/project
set rtp^=~/vimfiles/vcscommand
set laststatus=2
set statusline= " Status line
set statusline+=%-3.3n\ " buffer number
set statusline+=%f\ " filename
set statusline+=%h%m%r%w " status flags
set statusline+=\[%{strlen(&ft)?&ft:'none'}] " file type
set statusline+=%= " right align remainder
set statusline+=%-14(%l,%c%V%) " line, character
set statusline+=%<%P " file position
set guioptions-=T
set guioptions-=m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment