Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 711574 Details for
Bug 922549
[abrt] vim-X11-7.3.712-1.fc18: getvcol: Process /usr/bin/gvim was killed by signal 11 (SIGSEGV)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: user_vimrc
user_vimrc (text/plain), 11.40 KB, created by
Michael Stahl
on 2013-03-17 19:54:12 UTC
(
hide
)
Description:
File: user_vimrc
Filename:
MIME Type:
Creator:
Michael Stahl
Created:
2013-03-17 19:54:12 UTC
Size:
11.40 KB
patch
obsolete
>:set nocompatible >:set guicursor=a:blinkon0 >:set columns=80 >:set laststatus=2 >:set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P >:set showmode >:set showcmd >:set showmatch >:set incsearch >:set hlsearch >:set shiftwidth=4 >:set tabstop=4 >" set noexpandtab >:set expandtab >:set smarttab >:set autoindent >:set smartindent >:set autoread " reload unmodified changed files without prompting > >:set suffixes+=.hi >:set matchpairs=(:),{:},[:],<:> >:set history=1000 >":set viminfo='1000,f1,<1000,s10,:1000,/1000,@10,% >:set viminfo='1000,f1,<1000,s10,:1000,/1000,@10 >":set sessionoptions=blank,buffers,curdir,folds,help,options,tabpages,winsize >:set sessionoptions+=winpos,resize,unix,slash > >:set swapsync= >:set nofsync > >"-------------------------------------------------------------------------- > >:syntax on >" broken whitespace >:autocmd Syntax * syn match Error /\s\+$/ | syn match Error /^\s* \t\s*/ >" tabs >:autocmd Syntax * syn match Todo /\t/ > >"-------------------------------------------------------------------------- > >" http://wiki.services.openoffice.org/wiki/Editor_Vim > >set fileformats=unix,dos " Vim's default on UNX, also use it on DOS > >"----- > >if version >= 600 > filetype on " enable file type detection > filetype plugin on " enable file type plugins > filetype indent on " enable file type indents >endif > >" previous and next compiler error (quickfix) >"map <C-P> :cp<CR> >"map <C-N> :cn<CR> > >" Only do this part when compiled with support for autocommands. >if has("autocmd") > > " In text files, always limit the width of text to 78 characters, tabs are 8 > autocmd BufRead *.txt,*.doc,*.dok setlocal tw=78 ts=8 sw=8 fo+=rn1 > > " Treat resource files and headers like C files > autocmd BufRead *.hrc,*.src setlocal ft=c > > " Treat generated UNO header files like C++ files > autocmd BufRead *.hdl setlocal ft=cpp > > " mail bodies have a textwidth of 72 characters, activate numbering > " formatting, reset comments to default, no indenting > autocmd FileType mail setlocal tw=72 fo+=rn1 comments& nocindent > > " AutoDoc comments in C/C++ files without '*' middle part > autocmd FileType c,cpp setlocal comments^=s:/**,mb:\ ,e:*/ > > " AutoDoc comments in IDL files have a textwidth of 72 characters > autocmd FileType idl setlocal comments^=s:/**,mb:\ ,e:*/ tw=72 > > " OOo .xcu configuration files and the like > autocmd FileType xml setlocal sw=2 > > " HTML files > autocmd FileType html,css setlocal sw=2 > >endif > >"----- > >" Call appropriate makeprg with Ctrl+K >map <C-K> :call Make()<CR> > >if $SOLARENV == "" > " Normal makeprg, not in OpenOffice.org/StarOffice environment > function Make() > make > endfun >else > " Special dmake, only in OpenOffice.org/StarOffice environment > set makeprg=dmake > function SetMakeprg() > if filereadable( "./prj/d.lst" ) > set makeprg=dmake\ wall=t\ debug=t\ ./$INPATH/slo/%:t:r.obj > elseif filereadable( "../prj/d.lst" ) > set makeprg=dmake\ wall=t\ debug=t\ ../$INPATH/slo/%:t:r.obj > elseif filereadable( "../../prj/d.lst" ) > set makeprg=dmake\ wall=t\ debug=t\ ../../$INPATH/slo/%:t:r.obj > elseif filereadable( "../../../prj/d.lst" ) > set makeprg=dmake\ wall=t\ debug=t\ ../../../$INPATH/slo/%:t:r.obj > elseif filereadable( "../../../../prj/d.lst" ) > set makeprg=dmake\ wall=t\ debug=t\ ../../../../$INPATH/slo/%:t:r.obj > else > set makeprg=dmake\ wall=t\ debug=t > endif > endfun > function Make() > let my_local_path = expand("%:h") > if (my_local_path == "") > let my_local_path = "." > endif > if filereadable( my_local_path . "/makefile.mk" ) > exec 'lcd ' . my_local_path > call SetMakeprg() > make > else > echo "No makefile.mk in " . my_local_path > endif > endfun > function Build() > set makeprg=nice\ perl\ $SRC_ROOT/solenv/bin/build.pl\ -P4 > make > endfun >endif > >"if $SOLARENV == "" >" " Normal makeprg, not in OpenOffice.org/StarOffice environment >" function Make() >" make >" endfun >"else >" " Special dmake, only in OpenOffice.org/StarOffice environment >" set makeprg=dmake >" function SetMakeprg() >" " For a detached gvim we need to source the environment, assuming >" " the current working directory being source/core/tool/ or >" " similar, and having a copy of the setsolar -file environment >" " file as module/../ENV.$INPATH or in $SRC_ROOT set a >" " ln -s LinuxX86Env.Set ENV.$INPATH >" " For terminal vim re-sourcing the environment isn't necessary. >" if has("gui_running") >" if filereadable( "./prj/d.lst" ) >" set makeprg=source\ ../ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t\ ./$INPATH/slo/%:t:r.obj >" elseif filereadable( "../prj/d.lst" ) >" set makeprg=source\ ../../ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t\ ../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../prj/d.lst" ) >" set makeprg=source\ ../../../ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t\ ../../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../../prj/d.lst" ) >" set makeprg=source\ ../../../../ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t\ ../../../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../../../prj/d.lst" ) >" set makeprg=source\ ../../../../../ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t\ ../../../../$INPATH/slo/%:t:r.obj >" else >" set makeprg=source\ ./ENV.$INPATH\ \&\&\ dmake\ wall=t\ debug=t >" endif >" else >" if filereadable( "./prj/d.lst" ) >" set makeprg=dmake\ wall=t\ debug=t\ ./$INPATH/slo/%:t:r.obj >" elseif filereadable( "../prj/d.lst" ) >" set makeprg=dmake\ wall=t\ debug=t\ ../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../prj/d.lst" ) >" set makeprg=dmake\ wall=t\ debug=t\ ../../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../../prj/d.lst" ) >" set makeprg=dmake\ wall=t\ debug=t\ ../../../$INPATH/slo/%:t:r.obj >" elseif filereadable( "../../../../prj/d.lst" ) >" set makeprg=dmake\ wall=t\ debug=t\ ../../../../$INPATH/slo/%:t:r.obj >" else >" set makeprg=dmake\ wall=t\ debug=t >" endif >" endif >" " Just some copy&paste versions: >" " Entire module, edit ENV.... and set BUILD_COMMAND to content of build alias >" "set makeprg=source\ ../../../ENV.$INPATH\ \&\&\ $BUILD_COMMAND >" "set makeprg=source\ ../../../ENV.$INPATH\ \&\&\ dmake\ ../../../$INPATH/slo/%:t:r.obj >" "set makeprg=dmake\ product=full >" " temporary override, no wall, no debug >" "if filereadable( "./prj/d.lst" ) >" " set makeprg=dmake\ ./$INPATH/slo/%:t:r.obj >" "elseif filereadable( "../prj/d.lst" ) >" " set makeprg=dmake\ ../$INPATH/slo/%:t:r.obj >" "elseif filereadable( "../../prj/d.lst" ) >" " set makeprg=dmake\ ../../$INPATH/slo/%:t:r.obj >" "elseif filereadable( "../../../prj/d.lst" ) >" " set makeprg=dmake\ ../../../$INPATH/slo/%:t:r.obj >" "elseif filereadable( "../../../../prj/d.lst" ) >" " set makeprg=dmake\ ../../../../$INPATH/slo/%:t:r.obj >" "else >" " set makeprg=dmake >" "endif >" endfun >" function Make() >" let my_local_path = expand("%:h") >" if (my_local_path == "") >" let my_local_path = "." >" endif >" if filereadable( my_local_path . "/makefile.mk" ) >" exec 'lcd ' . my_local_path >" call SetMakeprg() >" make >" else >" echo "No makefile.mk in " . my_local_path >" endif >" endfun >"endif > >"-------------------------------------------------------------------------- > >set tags=$SRCDIR/tags > >" SOLARINC >fun! PathFromInc() > return substitute( $SOLARINC, " *-I", ",", "g" ) >endfun > >" project local inc >set path=.,../inc,../../inc,../../../inc >let &path .= PathFromInc() >let &path .= "," >let &path .= $SOLARVERSION >let &path .= "/" >let &path .= $INPATH >let &path .= "/inc" >let &path .= $UPDMINOREXT >let &path .= "/offuh" >let &path .= "," >let &path .= $SOLARVERSION >let &path .= "/" >let &path .= $INPATH >let &path .= "/inc" >let &path .= $UPDMINOREXT >let &path .= "/udkapi" >let &path .= "," >let &path .= $SOLARVERSION >let &path .= "/" >let &path .= $INPATH >let &path .= "/inc" >let &path .= $UPDMINOREXT >let &path .= "/offapi" > >fun! Bufdir() >" let bufdir = substitute(bufname(winbufnr(winnr())), "/[^/]*$", "", "") > let bufdir = expand("%:h") > if (bufdir != "") > exec "lcd " . bufdir > endif >" return "lcd " . bufdir >" return bufdir >endfun > >:autocmd BufReadPost * exec Bufdir() >":au BufReadPost * lcd $(Bufdir()) >"if getline(1) =~ "VAR" | call SetVar() | endif > >"-------------------------------------------------------------------------- > >" http://vim.wikia.com/wiki/Display_shell_commands%27_output_on_Vim_window > >command! -complete=shellcmd -nargs=+ Shell call s:RunShellCommand(<q-args>) > >function! s:RunShellCommand(cmdline) > echo a:cmdline > let expanded_cmdline = a:cmdline > for part in split(a:cmdline, ' ') > if part[0] =~ '\v[%#<]' > let expanded_part = fnameescape(expand(part)) > let expanded_cmdline = substitute(expanded_cmdline, part, expanded_part, '') > endif > endfor > botright new > setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nowrap > call setline(1, 'You entered: ' . a:cmdline) > call setline(2, 'Expanded Form: ' .expanded_cmdline) > call setline(3,substitute(getline(2),'.','=','g')) > execute '$read !'. expanded_cmdline > setlocal nomodifiable > 1 >endfunction > >"-------------------------------------------------------------------------- > >" http://cedric.bosdonnat.free.fr/wordpress/?p=243 > >au BufReadCmd *.docx,*.xlsx,*.pptx call zip#Browse(expand("<amatch>")) >au BufReadCmd *.odt,*.ott,*.ods,*.ots,*.odp,*.otp,*.odg,*.otg,*.odb,*.odf,*.odm call zip#Browse(expand("<amatch>")) >au BufReadCmd *.sxw,*.stw,*.sxc,*.stc,*.sxi,*.sti,*.sxd,*.std,*.odb,*.sxm,*.sxg call zip#Browse(expand("<amatch>")) >au BufReadCmd *.bau call zip#Browse(expand("<amatch>")) >au BufReadCmd *.oxt call zip#Browse(expand("<amatch>")) > >"-------------------------------------------------------------------------- > >" http://vim.wikia.com/wiki/Improved_hex_editing > >" ex command for toggling hex mode - define mapping if desired >command -bar Hexmode call ToggleHex() > >" helper function to toggle hex mode >function ToggleHex() > " hex mode should be considered a read-only operation > " save values for modified and read-only for restoration later, > " and clear the read-only flag for now > let l:modified=&mod > let l:oldreadonly=&readonly > let &readonly=0 > let l:oldmodifiable=&modifiable > let &modifiable=1 > if !exists("b:editHex") || !b:editHex > " save old options > let b:oldft=&ft > let b:oldbin=&bin > " set new options > setlocal binary " make sure it overrides any textwidth, etc. > let &ft="xxd" > " set status > let b:editHex=1 > " switch to hex editor > %!xxd > else > " restore old options > let &ft=b:oldft > if !b:oldbin > setlocal nobinary > endif > " set status > let b:editHex=0 > " return to normal editing > %!xxd -r > endif > " restore values for modified and read only state > let &mod=l:modified > let &readonly=l:oldreadonly > let &modifiable=l:oldmodifiable >endfunction > >"--------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 922549
:
711564
|
711565
|
711566
|
711567
|
711568
|
711569
|
711570
|
711571
|
711572
|
711573
| 711574 |
711575