Vim configuration cleanup.

parent 8e5833e4
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =4
let g:netrw_dirhist_1='/home/sander/Desktop/bapc-2009'
let g:netrw_dirhist_2='/home/sander/Desktop/bapc-2009/preliminary'
let g:netrw_dirhist_3='/home/sander/Programming/web/vo20/cache'
let g:netrw_dirhist_4='/home/sander/.vim'
" OmniCppComplete initialization
call omni#cpp#complete#Init()
" OmniCppComplete initialization
call omni#cpp#complete#Init()
" Description: Omni completion debug functions
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
let s:CACHE_DEBUG_TRACE = []
" Start debug, clear the debug file
function! omni#common#debug#Start()
let s:CACHE_DEBUG_TRACE = []
call extend(s:CACHE_DEBUG_TRACE, ['============ Debug Start ============'])
call writefile(s:CACHE_DEBUG_TRACE, "Omni.dbg")
endfunc
" End debug, write to debug file
function! omni#common#debug#End()
call extend(s:CACHE_DEBUG_TRACE, ["============= Debug End ============="])
call extend(s:CACHE_DEBUG_TRACE, [""])
call writefile(s:CACHE_DEBUG_TRACE, "Omni.dbg")
endfunc
" Debug trace function
function! omni#common#debug#Trace(szFuncName, ...)
let szTrace = a:szFuncName
let paramNum = a:0
if paramNum>0
let szTrace .= ':'
endif
for i in range(paramNum)
let szTrace = szTrace .' ('. string(eval('a:'.string(i+1))).')'
endfor
call extend(s:CACHE_DEBUG_TRACE, [szTrace])
endfunc
" Description: Omni completion utils
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
" For sort numbers in list
function! omni#common#utils#CompareNumber(i1, i2)
let num1 = eval(a:i1)
let num2 = eval(a:i2)
return num1 == num2 ? 0 : num1 > num2 ? 1 : -1
endfunc
" TagList function calling the vim taglist() with try catch
" The only throwed exception is 'TagList:UserInterrupt'
" We also force the noignorecase option to avoid linear search when calling
" taglist()
function! omni#common#utils#TagList(szTagQuery)
let result = []
let bUserIgnoreCase = &ignorecase
" Forcing noignorecase search => binary search can be used in taglist()
" if tags in the tag file are sorted
if bUserIgnoreCase
set noignorecase
endif
try
let result = taglist(a:szTagQuery)
catch /^Vim:Interrupt$/
" Restoring user's setting
if bUserIgnoreCase
set ignorecase
endif
throw 'TagList:UserInterrupt'
catch
"Note: it seems that ctags can generate corrupted files, in this case
"taglist() will fail to read the tagfile and an exception from
"has_add() is thrown
endtry
" Restoring user's setting
if bUserIgnoreCase
set ignorecase
endif
return result
endfunc
" Same as TagList but don't throw exception
function! omni#common#utils#TagListNoThrow(szTagQuery)
let result = []
try
let result = omni#common#utils#TagList(a:szTagQuery)
catch
endtry
return result
endfunc
" Get the word under the cursor
function! omni#common#utils#GetWordUnderCursor()
let szLine = getline('.')
let startPos = getpos('.')[2]-1
let startPos = (startPos < 0)? 0 : startPos
if szLine[startPos] =~ '\w'
let startPos = searchpos('\<\w\+', 'cbn', line('.'))[1] - 1
endif
let startPos = (startPos < 0)? 0 : startPos
let szResult = matchstr(szLine, '\w\+', startPos)
return szResult
endfunc
This diff is collapsed.
" Description: Omni completion script for cpp files
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
let g:omni#cpp#includes#CACHE_INCLUDES = {}
let g:omni#cpp#includes#CACHE_FILE_TIME = {}
let s:rePreprocIncludePart = '\C#\s*include\s*'
let s:reIncludeFilePart = '\(<\|"\)\(\f\|\s\)\+\(>\|"\)'
let s:rePreprocIncludeFile = s:rePreprocIncludePart . s:reIncludeFilePart
" Get the include list of a file
function! omni#cpp#includes#GetList(...)
if a:0 > 0
return s:GetIncludeListFromFile(a:1, (a:0 > 1)? a:2 : 0 )
else
return s:GetIncludeListFromCurrentBuffer()
endif
endfunc
" Get the include list from the current buffer
function! s:GetIncludeListFromCurrentBuffer()
let listIncludes = []
let originalPos = getpos('.')
call setpos('.', [0, 1, 1, 0])
let curPos = [1,1]
let alreadyInclude = {}
while curPos != [0,0]
let curPos = searchpos('\C\(^'.s:rePreprocIncludeFile.'\)', 'W')
if curPos != [0,0]
let szLine = getline('.')
let startPos = curPos[1]
let endPos = matchend(szLine, s:reIncludeFilePart, startPos-1)
if endPos!=-1
let szInclusion = szLine[startPos-1:endPos-1]
let szIncludeFile = substitute(szInclusion, '\('.s:rePreprocIncludePart.'\)\|[<>""]', '', 'g')
let szResolvedInclude = omni#cpp#utils#ResolveFilePath(szIncludeFile)
" Protection over self inclusion
if szResolvedInclude != '' && szResolvedInclude != omni#cpp#utils#ResolveFilePath(getreg('%'))
let includePos = curPos
if !has_key(alreadyInclude, szResolvedInclude)
call extend(listIncludes, [{'pos' : includePos, 'include' : szResolvedInclude}])
let alreadyInclude[szResolvedInclude] = 1
endif
endif
endif
endif
endwhile
call setpos('.', originalPos)
return listIncludes
endfunc
" Get the include list from a file
function! s:GetIncludeListFromFile(szFilePath, bUpdate)
let listIncludes = []
if a:szFilePath == ''
return listIncludes
endif
if !a:bUpdate && has_key(g:omni#cpp#includes#CACHE_INCLUDES, a:szFilePath)
return copy(g:omni#cpp#includes#CACHE_INCLUDES[a:szFilePath])
endif
let g:omni#cpp#includes#CACHE_FILE_TIME[a:szFilePath] = getftime(a:szFilePath)
let szFixedPath = escape(a:szFilePath, g:omni#cpp#utils#szEscapedCharacters)
execute 'silent! lvimgrep /\C\(^'.s:rePreprocIncludeFile.'\)/gj '.szFixedPath
let listQuickFix = getloclist(0)
let alreadyInclude = {}
for qf in listQuickFix
let szLine = qf.text
let startPos = qf.col
let endPos = matchend(szLine, s:reIncludeFilePart, startPos-1)
if endPos!=-1
let szInclusion = szLine[startPos-1:endPos-1]
let szIncludeFile = substitute(szInclusion, '\('.s:rePreprocIncludePart.'\)\|[<>""]', '', 'g')
let szResolvedInclude = omni#cpp#utils#ResolveFilePath(szIncludeFile)
" Protection over self inclusion
if szResolvedInclude != '' && szResolvedInclude != a:szFilePath
let includePos = [qf.lnum, qf.col]
if !has_key(alreadyInclude, szResolvedInclude)
call extend(listIncludes, [{'pos' : includePos, 'include' : szResolvedInclude}])
let alreadyInclude[szResolvedInclude] = 1
endif
endif
endif
endfor
let g:omni#cpp#includes#CACHE_INCLUDES[a:szFilePath] = listIncludes
return copy(listIncludes)
endfunc
" For debug purpose
function! omni#cpp#includes#Display()
let szPathBuffer = omni#cpp#utils#ResolveFilePath(getreg('%'))
call s:DisplayIncludeTree(szPathBuffer, 0)
endfunc
" For debug purpose
function! s:DisplayIncludeTree(szFilePath, indent, ...)
let includeGuard = {}
if a:0 >0
let includeGuard = a:1
endif
let szFilePath = omni#cpp#utils#ResolveFilePath(a:szFilePath)
if has_key(includeGuard, szFilePath)
return
else
let includeGuard[szFilePath] = 1
endif
let szIndent = repeat(' ', a:indent)
echo szIndent . a:szFilePath
let incList = omni#cpp#includes#GetList(a:szFilePath)
for inc in incList
call s:DisplayIncludeTree(inc.include, a:indent+1, includeGuard)
endfor
endfunc
This diff is collapsed.
" Description: Omni completion script for cpp files
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
" Check if we can use omni completion in the current buffer
function! s:CanUseOmnicompletion()
" For C and C++ files and only if the omnifunc is omni#cpp#complete#Main
return (index(['c', 'cpp'], &filetype)>=0 && &omnifunc == 'omni#cpp#complete#Main' && !omni#cpp#utils#IsCursorInCommentOrString())
endfunc
" Return the mapping of omni completion
function! omni#cpp#maycomplete#Complete()
let szOmniMapping = "\<C-X>\<C-O>"
" 0 = don't select first item
" 1 = select first item (inserting it to the text, default vim behaviour)
" 2 = select first item (without inserting it to the text)
if g:OmniCpp_SelectFirstItem == 0
" We have to force the menuone option to avoid confusion when there is
" only one popup item
set completeopt-=menu
set completeopt+=menuone
let szOmniMapping .= "\<C-P>"
elseif g:OmniCpp_SelectFirstItem == 2
" We have to force the menuone option to avoid confusion when there is
" only one popup item
set completeopt-=menu
set completeopt+=menuone
let szOmniMapping .= "\<C-P>"
let szOmniMapping .= "\<C-R>=pumvisible() ? \"\\<down>\" : \"\"\<cr>"
endif
return szOmniMapping
endfunc
" May complete function for dot
function! omni#cpp#maycomplete#Dot()
if s:CanUseOmnicompletion() && g:OmniCpp_MayCompleteDot
let g:omni#cpp#items#data = omni#cpp#items#Get(omni#cpp#utils#TokenizeCurrentInstruction('.'))
if len(g:omni#cpp#items#data)
let s:bMayComplete = 1
return '.' . omni#cpp#maycomplete#Complete()
endif
endif
return '.'
endfunc
" May complete function for arrow
function! omni#cpp#maycomplete#Arrow()
if s:CanUseOmnicompletion() && g:OmniCpp_MayCompleteArrow
let index = col('.') - 2
if index >= 0
let char = getline('.')[index]
if char == '-'
let g:omni#cpp#items#data = omni#cpp#items#Get(omni#cpp#utils#TokenizeCurrentInstruction('>'))
if len(g:omni#cpp#items#data)
let s:bMayComplete = 1
return '>' . omni#cpp#maycomplete#Complete()
endif
endif
endif
endif
return '>'
endfunc
" May complete function for double points
function! omni#cpp#maycomplete#Scope()
if s:CanUseOmnicompletion() && g:OmniCpp_MayCompleteScope
let index = col('.') - 2
if index >= 0
let char = getline('.')[index]
if char == ':'
let g:omni#cpp#items#data = omni#cpp#items#Get(omni#cpp#utils#TokenizeCurrentInstruction(':'))
if len(g:omni#cpp#items#data)
if len(g:omni#cpp#items#data[-1].tokens) && g:omni#cpp#items#data[-1].tokens[-1].value != '::'
let s:bMayComplete = 1
return ':' . omni#cpp#maycomplete#Complete()
endif
endif
endif
endif
endif
return ':'
endfunc
This diff is collapsed.
" Description: Omni completion script for cpp files
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
function! omni#cpp#settings#Init()
" Global scope search on/off
" 0 = disabled
" 1 = enabled
if !exists('g:OmniCpp_GlobalScopeSearch')
let g:OmniCpp_GlobalScopeSearch = 1
endif
" Sets the namespace search method
" 0 = disabled
" 1 = search namespaces in the current file
" 2 = search namespaces in the current file and included files
if !exists('g:OmniCpp_NamespaceSearch')
let g:OmniCpp_NamespaceSearch = 1
endif
" Set the class scope completion mode
" 0 = auto
" 1 = show all members (static, public, protected and private)
if !exists('g:OmniCpp_DisplayMode')
let g:OmniCpp_DisplayMode = 0
endif
" Set if the scope is displayed in the abbr column of the popup
" 0 = no
" 1 = yes
if !exists('g:OmniCpp_ShowScopeInAbbr')
let g:OmniCpp_ShowScopeInAbbr = 0
endif
" Set if the function prototype is displayed in the abbr column of the popup
" 0 = no
" 1 = yes
if !exists('g:OmniCpp_ShowPrototypeInAbbr')
let g:OmniCpp_ShowPrototypeInAbbr = 0
endif
" Set if the access (+,#,-) is displayed
" 0 = no
" 1 = yes
if !exists('g:OmniCpp_ShowAccess')
let g:OmniCpp_ShowAccess = 1
endif
" Set the list of default namespaces
" eg: ['std']
if !exists('g:OmniCpp_DefaultNamespaces')
let g:OmniCpp_DefaultNamespaces = []
endif
" Set MayComplete to '.'
" 0 = disabled
" 1 = enabled
" default = 1
if !exists('g:OmniCpp_MayCompleteDot')
let g:OmniCpp_MayCompleteDot = 1
endif
" Set MayComplete to '->'
" 0 = disabled
" 1 = enabled
" default = 1
if !exists('g:OmniCpp_MayCompleteArrow')
let g:OmniCpp_MayCompleteArrow = 1
endif
" Set MayComplete to dot
" 0 = disabled
" 1 = enabled
" default = 0
if !exists('g:OmniCpp_MayCompleteScope')
let g:OmniCpp_MayCompleteScope = 0
endif
" When completeopt does not contain longest option, this setting
" controls the behaviour of the popup menu selection when starting the completion
" 0 = don't select first item
" 1 = select first item (inserting it to the text)
" 2 = select first item (without inserting it to the text)
" default = 0
if !exists('g:OmniCpp_SelectFirstItem')
let g:OmniCpp_SelectFirstItem= 0
endif
" Use local search function for variable definitions
" 0 = use standard vim search function
" 1 = use local search function
" default = 0
if !exists('g:OmniCpp_LocalSearchDecl')
let g:OmniCpp_LocalSearchDecl= 0
endif
endfunc
" Description: Omni completion tokenizer
" Maintainer: Vissale NEANG
" Last Change: 26 sept. 2007
" TODO: Generic behaviour for Tokenize()
" From the C++ BNF
let s:cppKeyword = ['asm', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'const_cast', 'continue', 'default', 'delete', 'do', 'double', 'dynamic_cast', 'else', 'enum', 'explicit', 'export', 'extern', 'false', 'float', 'for', 'friend', 'goto', 'if', 'inline', 'int', 'long', 'mutable', 'namespace', 'new', 'operator', 'private', 'protected', 'public', 'register', 'reinterpret_cast', 'return', 'short', 'signed', 'sizeof', 'static', 'static_cast', 'struct', 'switch', 'template', 'this', 'throw', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'while', 'and', 'and_eq', 'bitand', 'bitor', 'compl', 'not', 'not_eq', 'or', 'or_eq', 'xor', 'xor_eq']
let s:reCppKeyword = '\C\<'.join(s:cppKeyword, '\>\|\<').'\>'
" The order of items in this list is very important because we use this list to build a regular
" expression (see below) for tokenization
let s:cppOperatorPunctuator = ['->*', '->', '--', '-=', '-', '!=', '!', '##', '#', '%:%:', '%=', '%>', '%:', '%', '&&', '&=', '&', '(', ')', '*=', '*', ',', '...', '.*', '.', '/=', '/', '::', ':>', ':', ';', '?', '[', ']', '^=', '^', '{', '||', '|=', '|', '}', '~', '++', '+=', '+', '<<=', '<%', '<:', '<<', '<=', '<', '==', '=', '>>=', '>>', '>=', '>']
" We build the regexp for the tokenizer
let s:reCComment = '\/\*\|\*\/'
let s:reCppComment = '\/\/'
let s:reComment = s:reCComment.'\|'.s:reCppComment
let s:reCppOperatorOrPunctuator = escape(join(s:cppOperatorPunctuator, '\|'), '*./^~[]')
" Tokenize a c++ code
" a token is dictionary where keys are:
" - kind = cppKeyword|cppWord|cppOperatorPunctuator|unknown|cComment|cppComment|cppDigit
" - value = 'something'
" Note: a cppWord is any word that is not a cpp keyword
function! omni#cpp#tokenizer#Tokenize(szCode)
let result = []
" The regexp to find a token, a token is a keyword, word or
" c++ operator or punctuator. To work properly we have to put
" spaces and tabs to our regexp.
let reTokenSearch = '\(\w\+\)\|\s\+\|'.s:reComment.'\|'.s:reCppOperatorOrPunctuator
" eg: 'using namespace std;'
" ^ ^
" start=0 end=5
let startPos = 0
let endPos = matchend(a:szCode, reTokenSearch)
let len = endPos-startPos
while endPos!=-1
" eg: 'using namespace std;'
" ^ ^
" start=0 end=5
" token = 'using'
" We also remove space and tabs
let token = substitute(strpart(a:szCode, startPos, len), '\s', '', 'g')
" eg: 'using namespace std;'
" ^ ^
" start=5 end=15
let startPos = endPos
let endPos = matchend(a:szCode, reTokenSearch, startPos)
let len = endPos-startPos
" It the token is empty we continue
if token==''
continue
endif
" Building the token
let resultToken = {'kind' : 'unknown', 'value' : token}
" Classify the token
if token =~ '^\d\+'
" It's a digit
let resultToken.kind = 'cppDigit'
elseif token=~'^\w\+$'
" It's a word
let resultToken.kind = 'cppWord'
" But maybe it's a c++ keyword
if match(token, s:reCppKeyword)>=0
let resultToken.kind = 'cppKeyword'
endif
else
if match(token, s:reComment)>=0
if index(['/*','*/'],token)>=0
let resultToken.kind = 'cComment'
else
let resultToken.kind = 'cppComment'
endif
else
" It's an operator
let resultToken.kind = 'cppOperatorPunctuator'
endif
endif
" We have our token, let's add it to the result list
call extend(result, [resultToken])
endwhile
return result
endfunc
This diff is collapsed.
This diff is collapsed.
set errorformat=%f:%l:%c:%m
function Latex()
update
let file=expand('%:t:r')
let opts='-src -shell-escape -interaction=nonstopmode'
let errors=system('pdflatex '.opts.' '.file.'|~/.vim/script/latex-errorfilter')
if errors==""
echo 'LaTeX ok: No warning/error'
else
cexpr errors
endif
endfunction
map <F4> :call Latex()<CR>
map <F6> :cprev<CR>
map <F7> :cnext<CR>
map <F8> :clist<CR>
#!/usr/bin/gawk -f
# filter an LaTeX .log file and print a list of warnings and errors
# Usage: latex-errorfilter file.log
# or latex file.tex | latex-errorfilter
/\(|\)/ {
str=$0;
while(i=match(str, /\)|\(/))
if (substr(str, i, 1)==")"){
pop1();
str=substr(str, i+1);
}else{
str=substr(str, i+1);
end=match(str, /\(|\)|[[:space:]]/)
push1(substr(str, 1, end?end-1:80))
str=substr(str,end)
}
}
# errors: messages[file,line,context]=message
/^!/ {
message = "Error: " substr($0,3)
getline
messages[readstack1(), substr($1,3)+0, $NF]=message;
}
# Overfull and Underfull warnings: boxes[file,line]=message
/^.+erfull/ {
boxes[readstack1(),$NF+0]=$0
}
/Warning:/ {
message="";
label=""
for(len=0; NF>0; getline){
message=message (len==79?"":" ") $0
len=length($0)
}
gsub(/^.*Warning: /, "", message)
gsub(/\([^\)]*\)/, "", message)
gsub(/[[:space:]]+/, " ", message)
$0=message; lineno=$NF+0;
# change .aux to .tex if necessary
file = gensub(/\.aux$/, "\\.tex", 1, readstack1());
# treat some special messages about labels
if (message ~ /.*Label `.*' multiply defined\..*/){
label=gensub(/Label `(.*)' multiply defined\./, "\\1", 1, message)
("awk -- '/\\label{" label "}/{l=NR;};END{print l}' " file) | \
getline lineno # find last definition of label
}
if (message ~ /.*Reference `.*' on page.*/)
label=gensub(/.*Reference `(.*)' on page.*/, "\\1", 1, message)
# don't want duplicated warnings
if (message ~/There were multiply-defined labels\./ ||
message ~ /There were undefined references\./)
next;
messages[file,lineno,label]="Warning: "message;
}
END{
# find all useful lines
for (combined in messages){
split(combined, separate, SUBSEP)
lines[separate[1], separate[2]]=1
}
for(combined in messages){
split(combined, separate, SUBSEP)
file=separate[1];
line=separate[2];
label=separate[3];
printf("%s:%d:%d:%s\n", file, line, findcolumn(file,line,label),
messages[combined])
}
for(combined in boxes){
split(combined, separate, SUBSEP)
printf("%s:%d:1:%s\n", separate[1], separate[2], boxes[combined]);
}
}
function push1(thisvalue){
if(thisvalue)
stack1[++stack1index] = thisvalue
# print "PUSH: " thisvalue
}
function pop1( tmpvalue){
if (stack1index <1 ){
return ""
}
tmpvalue = stack1[stack1index]
delete stack1[stack1index]
--stack1index
# print "POP: " tmpvalue
return tmpvalue
}
function readstack1(){ # non destructive pop top
return stack1[stack1index]
}
# find the column of string on a given line in a given file
function findcolumn(file,number,str, line,col){
if (file && !read[file]){
for(line=1;(getline<file)>0;line++)
if (lines[file,line])
content[file,line]=$0
read[file]=1;
close(file)
}
sub(/\\/, "\\\\", str)
col=match(content[file,number], str)
return col?col:1
}
This diff is collapsed.
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //
This diff is collapsed.
This diff is collapsed.
# This viminfo file was generated by Vim 7.2.
# You may edit it if you're careful!
# Value of 'encoding' when this file was written
*encoding=utf-8
# hlsearch on (H) or off (h):
~h
# Last Search Pattern:
~Msle0~/)
# Last Substitute Search Pattern:
~MSle0&ab
# Last Substitute String:
$
# Command Line History (newest to oldest):
:w
:set nonumber
:set nonumbers
:q
:vs
:set number
:set autoindent
:Q
:wq
:q!
:split
:help
:help v_u
:heko v_u
:/doc/
:s/ab/
:Q!
:e
:o
:s/Boot/g
:s/Boot/
:s/Boot
:s/boot
:s/boot/
:wq!
:next
# Search String History (newest to oldest):
? )
? doc
? ab
? Boot
? boot
? \<DS_\>
? \<index\>
? changes
? \<deb\>
? }
# Expression History (newest to oldest):
# Input Line History (newest to oldest):
# Input Line History (newest to oldest):
# Registers:
"1 LINE 0
"2 LINE 0
int sym = 0;
"3 LINE 0
"4 LINE 0
char *unused = malloc((len+1) * sizeof(char));
"5 LINE 0
"6 LINE 0
int sym = 0;
"7 LINE 0
strcpy(unused, symbols);
"8 LINE 0
printf("unused: %s\n", unused);
"9 LINE 0
""- CHAR 0
/
# File marks:
'0 108 4 ~/Desktop/bapc-2009/d.c
'1 23 7 ~/Desktop/bapc-2009/a.c
'2 2 0 /etc/php5/conf.d/xdebug.ini
'3 1 0 /tmp/tutoriHJbUr
'4 398 0 /tmp/tutorHpGuJF
'5 2 9 ~/Desktop/vo20-index.dot
'6 3 37 /etc/php5/conf.d/xdebug.ini
'7 180 1 /etc/lighttpd/lighttpd.conf
'8 181 0 /etc/lighttpd/lighttpd.conf
'9 1 38 /usr/share/duoworks/svn-commit.tmp
# Jumplist (newest first):
-' 108 4 ~/Desktop/bapc-2009/d.c
-' 87 1 ~/Desktop/bapc-2009/d.c
-' 89 1 ~/Desktop/bapc-2009/d.c
-' 76 2 ~/Desktop/bapc-2009/d.c
-' 71 32 ~/Desktop/bapc-2009/d.c
-' 119 8 ~/Desktop/bapc-2009/d.c
-' 137 14 ~/Desktop/bapc-2009/d.c
-' 139 23 ~/Desktop/bapc-2009/d.c
-' 144 1 ~/Desktop/bapc-2009/d.c
-' 154 16 ~/Desktop/bapc-2009/d.c
-' 39 0 ~/Desktop/bapc-2009/d.c
-' 228 0 ~/Desktop/bapc-2009/d.c
-' 1 0 ~/Desktop/bapc-2009/d.c
-' 23 7 ~/Desktop/bapc-2009/a.c
-' 1 0 ~/Desktop/bapc-2009/a.c
-' 2 0 /etc/php5/conf.d/xdebug.ini
-' 1 0 /etc/php5/conf.d/xdebug.ini
-' 1 0 /tmp/tutoriHJbUr
-' 398 0 /tmp/tutorHpGuJF
-' 381 0 /tmp/tutorHpGuJF
-' 377 0 /tmp/tutorHpGuJF
-' 382 0 /tmp/tutorHpGuJF
-' 379 0 /tmp/tutorHpGuJF
-' 332 39 /tmp/tutorHpGuJF
-' 324 52 /tmp/tutorHpGuJF
-' 311 0 /tmp/tutorHpGuJF
-' 322 0 /tmp/tutorHpGuJF
-' 86 0 /tmp/tutorHpGuJF
-' 1 0 /tmp/tutorHpGuJF
-' 2 9 ~/Desktop/vo20-index.dot
-' 1 0 ~/Desktop/vo20-index.dot
-' 3 37 /etc/php5/conf.d/xdebug.ini
-' 180 1 /etc/lighttpd/lighttpd.conf
-' 1 0 /etc/lighttpd/lighttpd.conf
-' 181 0 /etc/lighttpd/lighttpd.conf
-' 1 38 /usr/share/duoworks/svn-commit.tmp
-' 1 47 ~/Programming/web/vo20/svn-commit.tmp
-' 2 46 ~/Programming/web/vo20/svn-commit.tmp
-' 26 0 ~/graph.dot
-' 1 0 ~/graph.dot
-' 5 3 /usr/share/duoworks/svn-commit.tmp
-' 4 10 /usr/share/duoworks/cache/svn-prop.tmp
-' 1 0 /usr/share/duoworks/cache/svn-prop.tmp
-' 1 0 ~/Programming/web/duoscript/trunk/svn-prop.tmp
-' 2 7 ~/Programming/web/duoscript/trunk/svn-prop.tmp
-' 41 1 /usr/share/duoworks/lib/activerecord/model.php
-' 1 0 /usr/share/duoworks/lib/activerecord/model.php
-' 537 1 /usr/share/duoworks/core/model.php
-' 1 0 /usr/share/duoworks/core/model.php
-' 98 6 /etc/phpsh/config.sample
-' 1 0 /etc/phpsh/config.sample
-' 1 0 ~/Desktop/ua.html
-' 109 0 /usr/share/duoworks/sys/update
-' 1 0 /usr/share/duoworks/sys/update
-' 102 15 /usr/share/duoworks/sys/update
-' 178 47 /etc/lighttpd/lighttpd.conf
-' 176 2 /etc/lighttpd/lighttpd.conf
-' 1024 0 ~/.wine/drive_c/Program Files/RegexBuddy 3/RegexBuddy.ini
-' 1 0 ~/.wine/drive_c/Program Files/RegexBuddy 3/RegexBuddy.ini
-' 8 0 /usr/share/duoworks/sys/scripts/phake.php
-' 1 0 /usr/share/duoworks/sys/scripts/phake.php
-' 6 1 /usr/share/duoworks/sys/scripts/configure.php
-' 1 0 /usr/share/duoworks/sys/scripts/configure.php
-' 176 1 /usr/share/duoworks/sys/scripts/configure.php
-' 6 29 /usr/share/duoworks/sys/scripts/phake.php
-' 9 40 /etc/apache2/sites-enabled/000-default
-' 1 0 /etc/apache2/sites-enabled/000-default
-' 1 0 /etc/apache2/httpd.conf
-' 38 0 /etc/apache2/apache2.conf
-' 1 0 /etc/apache2/apache2.conf
-' 1 0 /var/log/lighttpd/access.log
-' 1 0 /etc/apt/sources.list
-' 12 0 ~/Programming/web/codemirror/sandbox/etc/schroot/schroot.conf
-' 1 0 ~/Programming/web/codemirror/sandbox/etc/schroot/schroot.conf
-' 1 0 ~/Desktop/compreply.log
-' 119 0 /usr/share/gtksourceview-2.0/styles/oblivion.xml
-' 1 0 /usr/share/gtksourceview-2.0/styles/oblivion.xml
-' 8 29 ~/Programming/web/duoscript/trunk/scripts/minify.sh
-' 1 0 ~/Programming/web/duoscript/trunk/scripts/minify.sh
-' 1 0 /etc/apt/sources.list.d/google-chrome.list.save
-' 1 0 /etc/apt/sources.list.d/google-chrome.list.distUpgrade
-' 1 0 /etc/apt/sources.list.d/google-chrome.list
-' 140 0 ~/Programming/web/duoscript/trunk/jsl.latest.conf
-' 1 0 ~/Programming/web/duoscript/trunk/jsl.latest.conf
-' 1 0 ~/Programming/web/duoscript/trunk/lint.sh
-' 46 7 ~/Programming/web/duoscript/trunk/tmp.js
-' 1 0 ~/Programming/web/duoscript/trunk/tmp.js
-' 71 20 ~/Programming/web/duoscript/trunk/tmp.js
-' 1 0 ~/.bashrc
-' 60 20 ~/.subversion/config
-' 1 0 ~/.subversion/config
-' 1 0 ~/Programming/web/duoscript/trunk/scripts/deploy.sh
-' 1 0 /tmp/tutoriHJbUr
-' 398 0 /tmp/tutorHpGuJF
-' 381 0 /tmp/tutorHpGuJF
-' 377 0 /tmp/tutorHpGuJF
-' 382 0 /tmp/tutorHpGuJF
-' 379 0 /tmp/tutorHpGuJF
-' 332 39 /tmp/tutorHpGuJF
# History of marks within files (newest to oldest):
> ~/Desktop/bapc-2009/d.c
" 108 4
^ 108 5
. 108 4
+ 114 0
+ 110 2
+ 112 0
+ 89 47
+ 89 1
+ 89 22
+ 59 17
+ 81 0
+ 80 0
+ 81 0
+ 67 0
+ 59 42
+ 67 5
+ 62 0
+ 61 8
+ 67 36
+ 77 1
+ 70 1
+ 69 1
+ 65 8
+ 66 0
+ 65 30
+ 79 13
+ 69 37
+ 63 41
+ 69 18
+ 67 18
+ 76 2
+ 71 6
+ 69 32
+ 63 21
+ 71 30
+ 76 3
+ 73 46
+ 76 4
+ 61 9
+ 63 9
+ 95 29
+ 111 31
+ 95 32
+ 89 11
+ 114 10
+ 119 0
+ 113 8
+ 114 34
+ 114 0
+ 114 1
+ 113 0
+ 114 1
+ 114 2
+ 114 2
+ 114 0
+ 114 0
+ 114 3
+ 114 0
+ 114 33
+ 76 27
+ 66 0
+ 76 0
+ 76 28
+ 100 22
+ 103 3
+ 102 3
+ 104 3
+ 103 4
+ 114 0
+ 103 40
+ 111 0
+ 105 2
+ 107 3
+ 76 32
+ 71 2
+ 71 33
+ 102 16
+ 65 76
+ 71 27
+ 71 54
+ 76 0
+ 74 0
+ 71 0
+ 106 25
+ 89 0
+ 82 41
+ 89 24
+ 103 32
+ 172 29
+ 170 0
+ 89 0
+ 89 0
+ 89 0
+ 89 0
+ 86 0
+ 170 1
+ 108 4
+ 106 4
+ 108 3
+ 114 2
+ 180 0
+ 179 9
+ 108 4
> /etc/apt/sources.list.d/am-monkeyd-nautilus-elementary-ppa-lucid.list
" 1 0
> /etc/apt/sources.list.d/duocoding.list
" 1 0
> /etc/apt/sources.list.d/elementaryart-ppa-lucid.list
" 1 0
> /etc/apt/sources.list.d/getdeb.list
" 1 0
> /etc/apt/sources.list.d/google-chrome.list
" 1 0
> /etc/apt/sources.list.d/lottanzb-ppa-lucid.list
" 1 0
> /etc/apt/sources.list.d/nilarimogard-webupd8-karmic.list
" 1 0
> /etc/apt/sources.list.d/opera.list
" 1 0
> /etc/apt/sources.list.d/rabbitvcs-ppa-lucid.list
" 1 0
> /etc/apt/sources.list.d/ricotz-ppa-lucid.list
" 1 0
> /etc/apt/sources.list
" 1 0
^ 57 54
. 58 0
+ 59 33
+ 57 54
+ 58 0
> ~/Desktop/bapc-2009/a.c
" 23 7
^ 23 4
. 21 10
+ 1 18
+ 2 19
+ 8 12
+ 29 0
+ 8 24
+ 26 15
+ 8 24
+ 28 20
+ 29 0
+ 26 19
+ 26 19
+ 26 1
+ 28 1
+ 3 26
+ 6 0
+ 5 0
+ 3 0
+ 5 1
+ 26 1
+ 27 0
+ 27 0
+ 25 0
+ 19 25
+ 18 13
+ 19 41
+ 21 17
+ 24 1
+ 23 0
+ 21 25
+ 23 20
+ 21 2
+ 22 2
+ 24 2
+ 21 2
+ 21 1
+ 22 1
+ 24 1
+ 21 16
+ 19 21
+ 21 17
+ 13 0
+ 18 11
+ 19 27
+ 15 0
+ 13 10
+ 10 27
+ 13 22
+ 14 21
+ 19 22
+ 18 8
+ 12 0
+ 21 25
+ 17 0
+ 16 14
+ 16 19
+ 21 12
+ 10 28
+ 13 5
+ 21 10
> /etc/php5/conf.d/xdebug.ini
" 2 0
. 3 0
+ 3 0
> /tmp/tutoriHJbUr
" 1 0
. 10 26
+ 10 26
> /tmp/tutorHpGuJF
" 398 0
^ 311 0
. 381 0
+ 76 0
+ 85 31
+ 109 45
+ 132 46
+ 134 41
+ 203 46
+ 222 47
+ 265 0
+ 265 0
+ 265 0
+ 289 28
+ 310 0
+ 312 0
+ 311 0
+ 332 0
+ 379 0
+ 382 0
+ 379 0
+ 382 0
+ 379 0
+ 379 0
+ 382 0
+ 381 0
m 347 2
> /usr/share/vim/vim72/d
\ No newline at end of file
......@@ -15,35 +15,7 @@ if $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
" ,rl = run pdflatex (on current file)
map ,rl :!pdflatex -src -shell-escape -interaction=nonstopmode %
" trigger pdflatex (above) on FileWritePost event
:autocmd BufWritePost *.tex :!pdflatex -src -shell-escape -interaction=nonstopmode % | grep -A 4 -i "error"
set nocp
filetype plugin on
" configure tags - add additional tags here or comment out not-used ones
set tags+=~/.vim/tags/stl
set tags+=~/.vim/tags/gl
" build tags of your own project with CTRL+F12
"map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
"noremap <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<cr>
"inoremap <F12> <Esc>:!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<cr>
" OmniCppComplete
let OmniCpp_NamespaceSearch = 1
let OmniCpp_GlobalScopeSearch = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_MayCompleteDot = 1
let OmniCpp_MayCompleteArrow = 1
let OmniCpp_MayCompleteScope = 1
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]
" automatically open and close the popup menu / preview window
au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
set completeopt=menuone,menu,longest,preview
colorscheme darkspectrum
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment