" We use a vim "colorscheme default python3 << EOL pass EOL "source /etc/vimrc set nu set nocompatible let mapleader="," " " Colo(u)red or not colo(u)red " If you want color you should set this to true " let color = "true" filetype plugin indent on filetype plugin on " if has("syntax") if color == "true" " This will switch colors ON so ${VIMRUNTIME}/syntax/syntax.vim else " this switches colors OFF syntax off set t_Co=0 endif endif if has('gui_running') set t_Co=256 endif if &t_Co != 256 hi Folded guifg=yellow guibg=NONE ctermfg=yellow ctermbg=NONE hi Search ctermfg=white ctermbg=red guifg=white guibg=Red hi Folded guifg=orange guibg=black hi SpellBad ctermbg=yellow endif set guifont=Inconsolata\ 11 if &t_Co == 256 let g:inkpot_black_background = 1 " colo my_inkpot colo my_out endif "set cindent set shiftwidth=4 set smartindent " Disable spelling checks for the preview window func PreviewSpell() if &previewwindow set nospell endif if bufname('%') == '-MiniBufExplorer-' || bufname('%') == 'TreeExplorer' || bufname('%') == '__Tag_List__' || bufname('%') == '' || bufname('%') == '[YankRing]' set nospell endif endfun fun AddCppSyntax() syn match cppSTD "\-,trail:- set viminfo='1000,<1000,:1000,@1000,/1000,f1 set ignorecase smartcase set path+=~/include set path+=./include set path+=libs set path+=./libs set path+=../libs set path+=. set path+=.. set path+=../ set path+=./../include set path+=externals set path+=./externals set path+=../externals set path+=externals/INCLUDE set path+=./externals/INCLUDE set path+=../externals/INCLUDE set path+=externals/LIBRARY set path+=./externals/LIBRARY set path+=../externals/LIBRARY set path+=../../externals set path+=../../externals/INCLUDE set path+=../../externals/LIBRARY set path+=../../INCLUDE set path+=../../LIBRARY set path+=../INCLUDE set path+=../LIBRARY set tags+=~/.vim/systags set infercase set so=2 set autoindent set ai set si set smarttab set foldopen+=search set ruler set spellsuggest=10 set wim=longest:full set wildmenu set visualbell set ts=8 set title "set titleold="..." set hidden set shortmess=atIoOT set shiftround set wildignore=.svn,CVS,.git,*.o,*.a,*.class,*.mo,*.la,*.so,*.obj,*.swp,*.jpg,*.png,*.xpm,*.gif set cino=N-s,g0,t0,+0 set foldlevel=42 set foldlevelstart=42 " set inex as a workaround for vim not correctly searching for files that " consist of a multiple level path "set inex=substitute(v:fname,'^','../','g') command DiffOrig let ftype=&filetype | vert new | set bt=nofile |call setbufvar('%','&filetype',ftype)| r # | 0d_ | diffthis | wincmd p | diffthis command DO DiffOrig command RELOAD bfirst | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e | bnext | :e let perl_extended_vars=1 let php_extended_vars=1 let g:patchreview_tmpdir="/tmp" let Tlist_Exit_OnlyWindow=1 let Tlist_Inc_WinWidth=0 let treeExplVertical=1 "let OmniCpp_ShowScopeInAbbr = 1 "let OmniCpp_ShowPrototypeInAbbr = 1 "let OmniCpp_GlobalScopeSearch = 0 "let OmniCpp_NamespaceSearch = 2 "let OmniCpp_SelectFirstItem = 2 "let OmniCpp_LocalSearchDecl = 1 "let OmniCpp_MayCompleteDot = 0 "let OmniCpp_MayCompleteArrow = 0 "let g:SuperTabDefaultCompletionType = 'context' "let g:SuperTabMappingForward = '¬' "let g:SuperTabMappingForward = '' "let g:SuperTabMappingTabLiteral = '' "autocmd CursorMovedI * if pumvisible() == 0|pclose|endif "autocmd InsertLeave * if pumvisible() == 0|pclose|endif let g:miniBufExplVSplit = 30 " column width in chars "map :TMiniBufExplorer map :MBEToggle:MBEFocus: nmap nmap nmap nmap tmap tmap tmap tmap nmap :set syntax=offebi/*ea*/:set syntax=on "vmap `lla*/ vmap :s@\%V.*\%V.@/*&*/`< nmap :TC vmap :TC let g:FTCOperateOnFirstColumnOnly = 2 "nmap dx d/\ze[A-Z_] :nohl nmap dx :let dxp=histget("/",-1) d/\ze[A-Z_] :call histadd("/",dxp) :let @/=histget("/",-1) nmap :nohl :redraw! set autoread au InsertEnter * checktime nmap :YRShow "set fileencodings=latin9,ucs-bom,utf-8,default,latin1 "let g:miniBufExplorerDebugMode = 2 " Errors will show up in "let g:miniBufExplorerDebugLevel = 10 " MBE reports everything let g:miniBufExplBuffersNeeded = 0 let g:miniBufExplorerAutoStart = 0 "map :tabp map :tabnew map :cp map :cn nnoremap :NERDTreeToggle "nnoremap :TlistToggle nnoremap :TagbarToggle nnoremap :TagbarOpen f map :!ctags -R --links=no --c++-kinds=+p --fields=+iaS --extra=+q --languages=c++ --exclude=externals/boost . au FileType qf set nospell au FileType dot set nospell au FileType cpp set spell func OpenFullQuicklist() for x in getqflist() " echo x.bufnr " echo x.lnum " echo x.col " echo x.vcol " echo x.nr " echo x.pattern " echo x.text " echo x.type " echo x.valid if( x.valid == 1) :copen break endif endfor " sleep 10 endfun function HtmlEscape() silent s/&/\&/eg silent s/"/\"/eg silent s//\>/eg endfunction command -range HESC :,call HtmlEscape() set spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+ let g:DoxygenToolkit_briefTag_pre="" let g:DoxygenToolkit_returnTag="@returns " let g:DoxygenToolkit_compactDoc="yes" au QuickFixCmdPost make call OpenFullQuicklist() command Make :make -j 16 CC=distcc CXX="distcc g++" "map :call ToggleBufferExplorer() map :FilesystemExplorer map r let SVNAutoCommitDiff='1' "let SVNCommandSplit='vertical' "let SVNCommandDiffSplit='vertical' let SVNCommandEnableBufferSetup='1' let SVNCommandEdit='split' let SVNCommandNameResultBuffers='1' let g:UltiSnipsExpandTrigger="" "let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" "let g:UltiSnipsJumpBackwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" let g:UltiSnipsDoHash=1 let g:UltiSnipsEditSplit="vertical" set completeopt=menuone,menu "let g:clang_complete_auto=0 "let g:clang_snippets=1 "let g:clang_conceal_snippets=1 "let g:clang_snippets_engine='ultisnips' "let g:clang_auto_select=1 "let g:clang_use_library=1 "let g:clang_library_path='/home/plasmahh/opt/clang/lib/' "let g:clang_library_path='/usr/lib64/' "let g:clang_user_options="-stdlib=libc++ -isystem /home/plasmahh/svn/libcxx/include" "let g:clang_user_options="-x c++ -std=gnu++11 -I.. -I../.. -Iexternals -Iexternals/xerces-c/xerces_3_1_1/include -Iexternals/boost/boost_1_51_0/include/" "-stdlib=libstdc++ -isystem /home/plasmahh/opt/gcc472/include/c++/4.7.2/ -isystem /home/plasmahh/opt/gcc472/include/c++/4.7.2/x86_64-unknown-linux-gnu -isystem /home/plasmahh/opt/gcc472/lib64/gcc/x86_64-unknown-linux-gnu/4.7.2/include/" "let g:clang_sort_algo='alpha' "let g:clang_complete_macros=1 "let g:clang_periodic_quickfix = 1 "let g:clang_complete_copen = 1 "setlocal completefunc=ClangComplete "setlocal omnifunc=ClangComplete "command CE call g:ClangUpdateQuickFix() let g:clang_debug = 1 let g:Imap_UsePlaceHolders=0 fun Autoconst() :normal! yy :s /autoconst\s*//g :normal! p :s /autoconst/const/g endfun command Ac call Autoconst() fun Seq() let ret = g:i let g:i = g:i + 1 return ret endfun func Ocsearch(sval) " :let @/ = a:0 :let @/ = a:sval :normal! /a:sval :normal! n :Occur endfun command -nargs=1 Oc call Ocsearch('') "map :execute "noautocmd vimgrep /" . expand("") . "/j " . expand("*.c *.cc *.cxx *.cpp *.h *.hpp *.pl *.py") cw map :execute "Grep " . expand("") . " *.c *.cc *.cxx *.cpp *.h *.hpp *.pl *.py" cw set laststatus=1 "function! InsertStatuslineColor(mode) " if a:mode == 'i' " hi StatusLine term=bold,reverse cterm=bold ctermfg=237 ctermbg=157 gui=bold guifg=#3a3a3a guibg=#afffaf " elseif a:mode == 'r' " hi statusline guibg=blue " hi StatusLine term=bold,reverse cterm=bold ctermfg=237 ctermbg=153 gui=bold guifg=#3a3a3a guibg=#afafff " else " hi statusline guibg=red " hi StatusLine term=bold,reverse cterm=bold ctermfg=237 ctermbg=223 gui=bold guifg=#3a3a3a guibg=#ffafaf " endif "endfunction " "au InsertEnter * call InsertStatuslineColor(v:insertmode) "au InsertLeave * hi StatusLine term=bold,reverse cterm=bold ctermfg=237 ctermbg=15 gui=bold guifg=#3a3a3a guibg=#ffffff "hi StatusLine term=bold,reverse cterm=bold ctermfg=237 ctermbg=15 gui=bold guifg=#3a3a3a guibg=#ffffff let g:xml_syntax_folding=1 au FileType xml setlocal foldmethod=syntax " find a way to make this be not so super incredibly slow. It was faster in " 7.1, but somewhere the someone put in some security patch which made " everything go like melassis func Re_fold() :setlocal nofen :setlocal fdm=syntax :normal! zx :setlocal fdm=manual :setlocal fen endfun "set fdm=syntax command Refold call Re_fold() perl << EOF sub Perl_Re_Place{ local $f=VIM::Eval('a:from'); local $t=VIM::Eval('a:to'); s/($f)/$1 ^ uc $1 ^ $t/gei } EOF func Re_Place(from,to) perl Perl_Re_Place endfun command -nargs=* Replace call Re_Place() "nnoremap match(expand(''), '[-+]\?\d\+') == -1 ? ":call Toggle()" : ":normal! \\" "nnoremap match(expand(''), '[-+]\?\d\+') == -1 ? ":call Toggle()" : ":normal! \\" "nnoremap ":normal! \" let g:speeddating_no_mappings = 1 function! Sincrement() let save_pos = getcurpos() :execute "normal! " . v:count . "\\" call setpos(".",save_pos) endfunction function! Sdecrement() let save_pos = getcurpos() :execute "normal! " . v:count . "\\" call setpos(".",save_pos) endfunction nmap SwapItFallbackIncrement SpeedDatingUp nmap SwapItFallbackDecrement SpeedDatingDown "nmap SpeedDatingFallbackUp :normal! nmap SpeedDatingFallbackUp :call Sincrement() nmap SpeedDatingFallbackDown :call Sdecrement() "nmap SpeedDatingFallbackDown :normal! "autocmd InsertEnter * if !exists('w:last_fdm') | let w:last_fdm=&foldmethod | setlocal foldmethod=manual | endif "autocmd InsertLeave,WinLeave * if exists('w:last_fdm') | let &l:foldmethod=w:last_fdm | unlet w:last_fdm | endif "autocmd Syntax *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h *.cxx,*.cpp call Re_fold() autocmd BufWritePost *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h call Re_fold() autocmd BufEnter *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h call Re_fold() "autocmd InsertLeave *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h call Re_fold() "autocmd InsertEnter *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h call Re_fold() "autocmd BufEnter *.cxx,*.cpp,*.cc,*.c,*.hpp,*.hh,*.h call UltiSnips_FileTypeChanged() au BufEnter svn-commit*.tmp :1 au BufEnter *.idl set comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// au BufEnter *.idl set formatoptions=croql let g:indent_guides_auto_colors = 0 let g:indent_guides_enable_on_vim_startup = 1 hi IndentGuidesOdd ctermbg=232 ctermfg=234 hi IndentGuidesEven ctermbg=233 ctermfg=234 call pathogen#infect() " removed / from default let g:yankring_zap_keys = 'f F t T ? @' "let g:yankring_min_element_length = 2 set colorcolumn=80,120 set textwidth=120 "set textwidth=0 nnoremap sp '`[' . strpart(getregtype(), 0, 1) . '`]' set fileformats=unix,dos,mac set nojoinspaces let g:sparkupExecuteMapping = '' "g:sparkupExecuteMapping (Default: '') - "Mapping used to execute sparkup. let g:sparkupNextMapping = '' "g:sparkupNextMapping (Default: '') - "Mapping used to jump to the next empty tag/attribute. let g:gundo_prefer_python3 = 1 nnoremap :GundoToggle let b:txtfmtNested=1 let b:txtfmtConceal=1 au BufNewFile,BufNew,BufRead *.otl set ft=vo_base.txtfmt au BufNewFile,BufNew,BufRead *.otl colorscheme vo_dark au BufNewFile,BufNew,BufRead *.html let g:ycm_auto_trigger=0 au BufNewFile,BufNew,BufRead *.html imap au BufNewFile,BufNew,BufRead *.html imap let g:alternateNoDefaultAlternate = 1 let g:ycm_global_ycm_extra_conf = '~/.vim/.ycm_extra_conf.py' let g:ycm_seed_identifiers_with_syntax = 1 let g:ycm_key_list_select_completion = [''] let g:ycm_key_list_previous_completion = [''] let g:ycm_show_diagnostics_ui = 0 let g:ycm_enable_diagnostic_signs = 0 let g:ycm_enable_diagnostic_highlighting = 0 let g:ycm_echo_current_diagnostic = 0 let g:ycm_add_preview_to_completeopt = 0 let g:ycm_complete_in_comments = 1 let g:ycm_confirm_extra_conf = 1 let g:ycm_server_python_interpreter = "/usr/bin/python3" let g:ycm_ultisnips_completer = 1 let g:ycm_use_ultisnips_completer = 1 let g:ycm_max_num_candidates = 10 let g:ycm_max_num_identifier_candidates = 10 nmap f :YcmCompleter FixIt "inoremap call s:InvokeCompletion() "let g:ycm_server_log_level = 'debug' "let g:ycm_server_keep_logfiles = 1 set undodir=~/.vimundo/ set undofile " A function to clear the undo history function! ForgetUndo() let old_undolevels = &undolevels set undolevels=-1 " exe "normal a \\" edit! " exe "normal m-1" let &undolevels = old_undolevels unlet old_undolevels edit! endfunction command -nargs=0 ClearUndo call ForgetUndo() nnoremap 4 nnoremap 4 xnoremap DO :diffget xnoremap DP :diffput vmap (EasyAlign) nmap a (EasyAlign) let g:easy_align_delimiters = {} let g:easy_align_delimiters['d'] = { \ 'pattern': ' \(\S\+\s*[;=]\)\@=', \ 'left_margin': 0, 'right_margin': 0 \ } let g:c_no_cformat=1 let g:netrw_liststyle=3 let g:netrw_banner = 0 let g:netrw_altv = 1 let g:vimfiler_as_default_explorer = 1 let g:vimfiler_time_format = "%Y.%m.%d %H:%M:%S" :nnoremap set ttymouse=sgr let g:airline_powerline_fonts = 1 let g:csv_delim = ';' let g:csv_delim_test = ';,|' let g:csv = '%1*%{&ft=~"csv" ? CSV_WCol("Name") . " " . CSV_WCol() : ""}%*' let g:airline#extensions#csv#column_display = "Name" let g:airline#extensions#whitespace#enabled = 1 let g:airline#extensions#whitespace#checks = [ 'indent' ] let g:airline#extensions#ycm#enabled = 1 let g:csv_no_conceal = 1 "function! VisualSelectionSize() " if mode() == "v" " " Exit and re-enter visual mode, because the marks " " ('< and '>) have not been updated yet. " exe "normal \gv" " if line("'<") != line("'>") " return (line("'>") - line("'<") + 1) " . ' lines' " else " return (col("'>") - col("'<") + 1) " . ' chars' " endif " elseif mode() == "V" " exe "normal \gv" " return (line("'>") - line("'<") + 1) " . ' lines' " elseif mode() == "\" "" exe "normal \gv" " return (line("'>") - line("'<") + 1) . 'x' . (abs(col("'>") - col("'<")) + 1) " . ' block' " else " return '' " endif "endfunction " "function! AirlineInit() " let spc = g:airline_symbols.space "" call airline#parts#define_raw('linenr', '%l') "" call airline#parts#define_accent('linenr', 'bold') "" let g:airline_section_z = airline#section#create(['%3p%%', g:airline_symbols.linenr, 'linenr', ':%c']) "" call airline#parts#define('linenr', { 'raw': '%{g:airline_symbols.linenr}%4l', 'accent': 'bold'}) " call airline#parts#define('linenr', { 'raw': '%{g:airline_symbols.linenr}%{VisualSelectionSize()}%4l', 'accent': 'bold'}) " if winwidth(0) > 80 " let g:airline_section_z = airline#section#create(['windowswap', 'obsession', '%3p%%'.spc, 'linenr', 'maxlinenr', '%5(%c%V%)']) " else " let g:airline_section_z = airline#section#create(['%3p%%'.spc, 'linenr', 'S:%3v']) " endif " "" let g:airline_section_z = "%3p%% %#__accent_bold#%{g:airline_symbols.linenr}%4l%#__restore__#%#__accent_bold#/%L%{g:airline_symbols.maxlinenr}%#__restore__# X:%3v" " call airline#update_statusline() "endfunction " "autocmd VimEnter * call AirlineInit() function! VisualSelectionSize() let spc = g:airline_symbols.space if mode() ==# "\" return (abs(line('v') - line('.')) + 1) . 'x' . (abs(virtcol('v') - virtcol('.')) + 1) . spc . (airline#util#winwidth() > 79 ? 'block' . spc : '') elseif mode() ==# 'V' || line('v') != line('.') return (abs(line('v') - line('.')) + 1) . spc . (airline#util#winwidth() > 79 ? 'lines' . spc : '') else return (abs(virtcol('v') - virtcol('.')) + 1) . spc . (airline#util#winwidth() > 79 ? 'chars' . spc : '') endif endfunction function! MyColumnFuncLong() return col('.') . (virtcol('.')==col('.') ? '' : '-' . virtcol('.')) endfunction function! MyColumnFuncShort() return virtcol('.') endfunction function! AirlineInit() let spc = g:airline_symbols.space call airline#parts#define_function('MyVisualSelection','VisualSelectionSize') call airline#parts#define_condition('MyVisualSelection', 'mode() =~? "v" || mode() ==# "\"') call airline#parts#define_function('MyColumnLong','MyColumnFuncLong') call airline#parts#define_condition('MyColumnLong','airline#util#winwidth() > 79') call airline#parts#define_minwidth('MyColumnLong',5) call airline#parts#define_function('MyColumnShortNum','MyColumnFuncShort') call airline#parts#define_condition('MyColumnShortNum','airline#util#winwidth() <= 79') call airline#parts#define_minwidth('MyColumnShortNum',3) call airline#parts#define_text('MyColumnShortText','S:') call airline#parts#define_condition('MyColumnShortText','airline#util#winwidth() <= 79') let g:airline_section_z = airline#section#create(['MyVisualSelection']) . split(g:airline_section_z,'%v')[0] . airline#section#create(['MyColumnLong','MyColumnShortText','MyColumnShortNum']) :AirlineRefresh endfun augroup AirlineCustomization au! au User AirlineAfterInit ++once call AirlineInit() augroup END let g:airline_mode_map = { \ '__' : '--', \ 'c' : 'C', \ 'i' : 'I', \ 'ic' : 'IC', \ 'ix' : 'IX', \ 'n' : 'N', \ 'ni' : 'NI)', \ 'no' : 'NO', \ 'R' : 'R', \ 'Rv' : 'Rv', \ 's' : 'S', \ 'S' : 'SL', \ '' : 'SB', \ 't' : 'T', \ 'v' : 'V', \ 'V' : 'VL', \ '' : 'VB', \ } let g:airline_symbols = { 'spell' : 'S', 'colnr' : ' N:' } let g:airline#extensions#whitespace#mixed_indent_format = 'mixed[%s]' let g:airline#extensions#whitespace#mixed_indent_algo = 1 function! WindowNumber(...) let builder = a:1 let context = a:2 call builder.add_section('airline_b', '%{tabpagewinnr(tabpagenr())}') return 0 endfunction call airline#add_statusline_func('WindowNumber') call airline#add_inactive_statusline_func('WindowNumber') let g:VM_mouse_mappings = 1 let g:VM_default_mappings = 0 let g:VM_no_meta_mappings = 0 let g:committia_hooks = {} function! g:committia_hooks.edit_open(info) " Additional settings setlocal spell " If no commit message, start with insert mode if a:info.vcs ==# 'git' && getline(1) ==# '' startinsert endif " Scroll the diff window from insert mode " Map and imap (committia-scroll-diff-down-half) imap (committia-scroll-diff-up-half) endfunction set rtp+=~/.fzf let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors set formatoptions-=r set formatoptions-=t let g:vmt_include_headings_before = 1 map (easymotion-prefix) " f{char} to move to {char} map f (easymotion-bd-f) nmap f (easymotion-overwin-f) " s{char}{char} to move to {char}{char} map s (easymotion-overwin-f2) nmap s (easymotion-overwin-f2) " Move to line map L (easymotion-bd-jk) nmap L (easymotion-overwin-line) " Move to word map w (easymotion-bd-w) nmap w (easymotion-overwin-w) map / (easymotion-sn) omap / (easymotion-tn) hi link EasyMotionIncSearch Search hi link StartifyBracket Repeat hi link StartifyFooter Repeat hi link StartifyHeader Constant hi link StartifyNumber Typedef hi link StartifyPath cppSTD hi link StartifySlash cppSTD hi link StartifySpecial Title hi link StartifyFile TabLineSel hi link StartifySection Structure hi link StartifySelect Define hi link StartifyVar Repeat let g:startify_session_autoload = 1 let g:startify_session_sort = 1 let g:startify_session_persistence = 1 let g:tagbar_width = 42 let g:webdevicons_enable_vimfiler = 1 let g:webdevicons_enable = 1 let g:WebDevIconsUnicodeDecorateFileNodesDefaultSymbol = '📓' let g:WebDevIconsUnicodeDecorateFolderNodesDefaultSymbol = '📁' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {} " needed let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['mp3'] = ' ♫' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['mp4'] = '🎬' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['zip'] = 'xx' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['ini'] = '🔧' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['cfg'] = '🔧' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['conf'] = '🔧' let g:WebDevIconsUnicodeDecorateFileNodesExactSymbols = { } let g:WebDevIconsUnicodeDecorateFileNodesExactSymbols['.vimrc'] = '🔧' let g:WebDevIconsUnicodeDecorateFileNodesPatternSymbols = { } let g:WebDevIconsUnicodeDecorateFileNodesPatternSymbols['.*.vimrc$'] = '🔧' let g:startify_fortune_use_unicode = 1 let g:startify_custom_header = map( startify#fortune#boxed(), '" ".v:val') let g:startify_change_to_vcs_root = 1 let g:startify_session_before_save = [ 'silent! tabdo NERDTreeClose' ] "let g:startify_use_env = 1 let g:NERDTreeGitStatusConcealBrackets = 1 let NERDTreeHijackNetrw = 0 let g:NERDTreeGitStatusUseNerdFonts = 0 "let g:NERDTreeGitStatusConcealBrackets = 0 "let g:NERDTreeLimitedSyntax = 0 "let g:NERDTreeHighlightCursorline = 1 let g:NERDTreeSyntaxDisableDefaultExtensions = 1 "let g:NERDTreeDisableExactMatchHighlight = 1 let g:NERDTreeDisablePatternMatchHighlight = 1 let g:NERDTreeSyntaxDisableDefaultExactMatches = 1 let g:NERDTreeSyntaxDisableDefaultPatternMatches = 1 let g:NERDTreeSyntaxEnabledExtensions = ['c', 'h', "c++", "cxx", "hpp", "tcc", "py", "md", "txt", "ini", "png", "jpg", "dot", 'cpp', 'php', 'rb', 'js', 'css', 'html',"cfg", "bmp", "vim", "java","xml"] let g:NERDTreeSyntaxEnabledExactMatches = [ "Makefile", "makefile", "Makefile.definition"] "map n (easymotion-next) "map N (easymotion-prev) "inoremap ( complete_parameter#pre_complete("()") "nmap (complete_parameter#goto_next_parameter) "smap (complete_parameter#goto_next_parameter) "imap (complete_parameter#goto_next_parameter) "nmap (complete_parameter#goto_previous_parameter) "smap (complete_parameter#goto_previous_parameter) "imap (complete_parameter#goto_previous_parameter) "let g:complete_parameter_use_ultisnips_mapping = 1 "autocmd FuncUndefined * exe 'runtime autoload/' . expand('') . '.vim' " ~/.vimrc ends here