Last active
May 2, 2019 16:35
-
-
Save Erdk/d6874c63e4dee55aa449 to your computer and use it in GitHub Desktop.
Revisions
-
Erdk revised this gist
May 2, 2019 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ " VIM && GVIM config " " setting up Plug set nocompatible filetype off @@ -71,12 +71,12 @@ set foldlevel=1 let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" " highlight trailing whitespaces highlight ExtraWhitespace ctermbg=red guibg=red autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ set background=dark colo one highlight Normal ctermbg=NONE guibg=NONE highlight NonText ctermbg=NONE guibg=NONE @@ -134,15 +134,15 @@ set pastetoggle=<F2> " cscope set cst " example cscope config, to put in .exrc in project dir: " cs add cscope.out " function Refresh_cs() " exec '!find . \( -path "./src/*" -or -path "./test/*" \) -name "*.[cxhsS]" -print > cscope.files' " exec '!cscope -Rbq' " cs reset " echom "CScope refresh done" " endfunction " nmap <C-@>r :call Refresh_cs()<CR><CR><CR><CR><CR> nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR> nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR> -
Erdk revised this gist
May 2, 2019 . 1 changed file with 15 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,7 +48,7 @@ set expandtab set shiftwidth=4 set tabstop=4 set wildmenu set scrolloff=5 set nobackup set nowb set noswapfile @@ -72,9 +72,12 @@ let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" set background=dark " highlight trailing whitespaces highlight ExtraWhitespace ctermbg=red guibg=red autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ " /highlight colo one highlight Normal ctermbg=NONE guibg=NONE highlight NonText ctermbg=NONE guibg=NONE set termguicolors @@ -118,6 +121,7 @@ map <C-n> :NERDTreeToggle<cr> autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif " git set signcolumn=yes nmap <F7> :GitGutterLineHighlightsToggle<cr> set updatetime=500 @@ -130,13 +134,15 @@ set pastetoggle=<F2> " cscope set cst " example cscope refresh function, to put in .exrc: " cs add cscope.out " function Refresh_cs() " exec '!find . \( -path "./src/*" -or -path "./test/*" \) -name "*.[cxhsS]" -print > cscope.files' " exec '!cscope -Rbq' " cs reset " echom "CScope refresh done" " endfunction " nmap <C-@>r :call Refresh_cs()<CR><CR><CR><CR> nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR> nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR> -
Erdk revised this gist
Sep 18, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -90,7 +90,7 @@ set showtabline=2 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#show_buffers = 0 let g:airline_powerline_fonts = 1 let g:airline_theme='badcat' " rainbow brackets let g:rainbow_active = 1 -
Erdk revised this gist
Aug 20, 2018 . 1 changed file with 124 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,36 +5,54 @@ " setting up Vundle set nocompatible filetype off if empty(glob("~/.vim/autoload/plug.vim")) " Ensure all needed directories exist (Thanks @kapadiamush) execute '!mkdir -p ~/.vim/plugged' execute '!mkdir -p ~/.vim/autoload' " Download the actual plugin manager execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim' endif call plug#begin('~/.vim/plugged') Plug 'airblade/vim-gitgutter' Plug 'flazz/vim-colorschemes' Plug 'rakr/vim-one' Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' } "Plug 'scrooloose/syntastic' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'luochen1990/rainbow' Plug 'mbbill/undotree' Plug 'fatih/vim-go', { 'for' : 'go' } Plug 'tpope/vim-markdown', { 'for': 'markdown' } Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'sophacles/vim-processing', { 'for': 'processing' } call plug#end() " mouse support set mouse=a set ttymouse=xterm2 " for local vimrc set exrc set secure " tab & backspace set bs=2 set expandtab set shiftwidth=4 set tabstop=4 set wildmenu "set scrolloff=5 set nobackup set nowb set noswapfile set showmatch " indent set autoindent @@ -50,24 +68,36 @@ set nofoldenable set foldlevel=1 " visuals let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" set background=dark colo one highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ highlight Normal ctermbg=NONE guibg=NONE highlight NonText ctermbg=NONE guibg=NONE set termguicolors set number set colorcolumn=120 highlight clear SignColumn highlight clear LineNr " airline options set laststatus=2 set showtabline=2 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#show_buffers = 0 let g:airline_powerline_fonts = 1 let g:airline_theme='one' " rainbow brackets let g:rainbow_active = 1 if has('gui_running') set guioptions=gi set guifont=Droid\ Sans\ Mono\ Dotted\ for\ Powerline\ 12 endif " set spell @@ -81,14 +111,78 @@ map <F10> :tabprev<cr> map <F11> :tabnext<cr> map <leader>tc :tabclose<cr> map <leader>tm :tabmove " NERDTree map <C-n> :NERDTreeToggle<cr> " close vim if only window is NERDTree autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif " git nmap <F7> :GitGutterLineHighlightsToggle<cr> set updatetime=500 " clipboard nnoremap <Leader>y "+y nnoremap <Leader>Y "+Y nnoremap <Leader>p "+p nnoremap <Leader>P "+P set pastetoggle=<F2> " cscope set cst " example cscope refresh function, to put in .exrc "function Refresh_cs() " exec '!find . \( -path "./src/*" -or -path "./test/*" \) -name "*.[cxhsS]" -print > cscope.files' " exec '!cscope -Rbq' " cs reset " echom "CScope refresh done" "endfunction nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR> nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR> nmap <C-@>c :cs find c <C-R>=expand("<cword>")<CR><CR> nmap <C-@>t :cs find t <C-R>=expand("<cword>")<CR><CR> nmap <C-@>e :cs find e <C-R>=expand("<cword>")<CR><CR> nmap <C-@>f :cs find f <C-R>=expand("<cfile>")<CR><CR> nmap <C-@>i :cs find i ^<C-R>=expand("<cfile>")<CR>$<CR> nmap <C-@>d :cs find d <C-R>=expand("<cword>")<CR><CR> nmap <C-@>a :cs find a <C-R>=expand("<cword>")<CR><CR> " Using 'CTRL-spacebar' then a search type makes the vim window " split horizontally, with search result displayed in " the new window. nmap <C-@><C-@>s :scs find s <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>g :scs find g <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>c :scs find c <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>t :scs find t <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>e :scs find e <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>f :scs find f <C-R>=expand("<cfile>")<CR><CR> nmap <C-@><C-@>i :scs find i ^<C-R>=expand("<cfile>")<CR>$<CR> nmap <C-@><C-@>d :scs find d <C-R>=expand("<cword>")<CR><CR> nmap <C-@><C-@>a :scs find a <C-R>=expand("<cword>")<CR><CR> " Hitting CTRL-space *twice* before the search type does a vertical " split instead of a horizontal one "nmap <C-Space><C-Space>s " \:vert scs find s <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>g " \:vert scs find g <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>c " \:vert scs find c <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>t " \:vert scs find t <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>e " \:vert scs find e <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>i " \:vert scs find i ^<C-R>=expand("<cfile>")<CR>$<CR> "nmap <C-Space><C-Space>d " \:vert scs find d <C-R>=expand("<cword>")<CR><CR> "nmap <C-Space><C-Space>a " \:vert scs find a <C-R>=expand("<cword>")<CR><CR> " " lang specific " go @@ -99,6 +193,7 @@ let g:go_highlight_types = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 let g:go_fmt_command = "goimports" let g:syntastic_mode_go_checkers = ['golint', 'govet', 'errcheck'] " rust let g:tagbar_type_rust = { @@ -113,4 +208,4 @@ let g:tagbar_type_rust = { \'t:traits,traits', \'i:impls,trait implementations', \] \} -
Erdk revised this gist
Nov 7, 2016 . 1 changed file with 1 addition and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -87,10 +87,6 @@ map <C-n> :NERDTreeToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> " clipboard set pastetoggle=<F2> " lang specific @@ -104,8 +100,6 @@ let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 let g:go_fmt_command = "goimports" " rust let g:tagbar_type_rust = { \ 'ctagstype' : 'rust', @@ -119,5 +113,4 @@ let g:tagbar_type_rust = { \'t:traits,traits', \'i:impls,trait implementations', \] \} -
Erdk revised this gist
Oct 13, 2016 . 1 changed file with 39 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,8 +16,12 @@ Plugin 'flazz/vim-colorschemes' Plugin 'majutsushi/tagbar' Plugin 'scrooloose/nerdtree' Plugin 'fatih/vim-go' Plugin 'VimClojure' Plugin 'rust-lang/rust.vim' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'xero/blaquemagick.vim' Plugin 'ryanpcmcquen/true-monochrome_vim' call vundle#end() @@ -30,6 +34,7 @@ set bs=2 set expandtab set shiftwidth=2 set tabstop=2 set wildmenu " indent set autoindent @@ -42,11 +47,11 @@ let c_space_errors=1 set foldmethod=indent set foldnestmax=10 set nofoldenable set foldlevel=1 " visuals set t_Co=256 colo monochrome set number set colorcolumn=80 highligh clear SignColumn @@ -55,18 +60,9 @@ highligh clear SignColumn set laststatus=2 set showtabline=2 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#show_buffers = 0 let g:airline_powerline_fonts = 1 let g:airline_theme='jellybeans' " gvim specific ops if has('gui_running') @@ -95,4 +91,33 @@ nnoremap <Leader>y "+y nnoremap <Leader>Y "+Y nnoremap <Leader>p "+p nnoremap <Leader>P "+P set pastetoggle=<F2> " lang specific " go let g:go_highlight_functions = 1 let g:go_highlight_methods = 1 let g:go_highlight_fields = 1 let g:go_highlight_types = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 let g:go_fmt_command = "goimports" " rust let g:tagbar_type_rust = { \ 'ctagstype' : 'rust', \ 'kinds' : [ \'T:types,type definitions', \'f:functions,function definitions', \'g:enum,enumeration names', \'s:structure names', \'m:modules,module names', \'c:consts,static constants', \'t:traits,traits', \'i:impls,trait implementations', \] \} -
Erdk revised this gist
Jul 6, 2016 . 1 changed file with 23 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,8 @@ " " VIM && GVIM config " " setting up Vundle set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim @@ -16,45 +21,45 @@ Plugin 'vim-airline/vim-airline-themes' call vundle#end() " mouse support set mouse=a set ttymouse=xterm2 " tab & backspace set bs=2 set expandtab set shiftwidth=2 set tabstop=2 " indent set autoindent set smartindent syntax on filetype plugin on let c_space_errors=1 " folding set foldmethod=indent set foldnestmax=10 set nofoldenable set foldlevel=2 " visuals set t_Co=256 colo zenburn set number set colorcolumn=80 highligh clear SignColumn " airline options set laststatus=2 set showtabline=2 let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:airline_theme='zenburn' " vim-go specific config set wildmenu let g:go_highlight_functions = 1 let g:go_highlight_methods = 1 let g:go_highlight_fields = 1 @@ -63,24 +68,26 @@ let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 let g:go_fmt_command = "goimports" " gvim specific ops if has('gui_running') set guioptions=gi set guifont=Droid\ Sans\ Mono\ Dotted\ for\ Powerline\ 11 endif " set spell set spell spelllang=en_us set nospell " key bindings for managing tabs & windows nmap <F8> :TagbarToggle<cr> map <F9> :tabnew<cr> map <F10> :tabprev<cr> map <F11> :tabnext<cr> map <leader>tc :tabclose<cr> map <leader>tm :tabmove map <C-n> :NERDTreeToggle<cr> " git nmap <F7> :GitGutterLineHighlightsToggle<cr> " clipboard -
Erdk revised this gist
Jul 6, 2016 . 1 changed file with 15 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,6 @@ set wildmenu set t_Co=256 colo zenburn highligh clear SignColumn @@ -55,6 +54,15 @@ let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:airline_theme='zenburn' " Go-specific config let g:go_highlight_functions = 1 let g:go_highlight_methods = 1 let g:go_highlight_fields = 1 let g:go_highlight_types = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 let g:go_fmt_command = "goimports" if has('gui_running') set guioptions=gi set guifont=Droid\ Sans\ Mono\ Dotted\ for\ Powerline\ 11 @@ -75,9 +83,9 @@ map <C-n> :NERDTreeToggle<cr> nmap <F8> :TagbarToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> " clipboard nnoremap <Leader>y "+y nnoremap <Leader>Y "+Y nnoremap <Leader>p "+p nnoremap <Leader>P "+P set pastetoggle=<F2> -
Erdk revised this gist
Jul 5, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,6 @@ Plugin 'scrooloose/nerdtree' Plugin 'fatih/vim-go' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' call vundle#end() -
Erdk revised this gist
Jul 5, 2016 . 1 changed file with 16 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,29 +5,30 @@ set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'tpope/vim-markdown' Plugin 'airblade/vim-gitgutter' Plugin 'flazz/vim-colorschemes' Plugin 'majutsushi/tagbar' Plugin 'scrooloose/nerdtree' Plugin 'fatih/vim-go' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'altercation/vim-colors-solarized' call vundle#end() set mouse=a set ttymouse=xterm2 set number set expandtab set shiftwidth=2 set tabstop=2 set modeline set modelines=2 set autoindent set smartindent syntax on filetype plugin on @@ -45,14 +46,18 @@ set showtabline=2 set wildmenu set t_Co=256 colo zenburn "colo Chasing_Logic highligh clear SignColumn set laststatus=2 let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:airline_theme='zenburn' if has('gui_running') set guioptions=gi set guifont=Droid\ Sans\ Mono\ Dotted\ for\ Powerline\ 11 endif set stal=0 @@ -64,15 +69,15 @@ map <F9> :tabnew<cr> map <F10> :tabprev<cr> map <F11> :tabnext<cr> map <leader>tc :tabclose<cr> map <leader>tm :tabmove map <C-n> :NERDTreeToggle<cr> "tagbar & git nmap <F8> :TagbarToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> ":highlight ExtraWhitespace ctermbg=red guibg=red ":match ExtraWhitespace /\t\|\s\+$\|[^ ] [^ #]/ set pastetoggle=<F2> "autocmd vimenter * NERDTree -
Erdk revised this gist
Nov 24, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,6 +71,9 @@ map <C-n> :NERDTreeToggle<cr> nmap <F8> :TagbarToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> :highlight ExtraWhitespace ctermbg=red guibg=red :match ExtraWhitespace /\t\|\s\+$\|[^ ] [^ #]/ set pastetoggle=<F2> "autocmd vimenter * NERDTree autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif -
Erdk revised this gist
Aug 24, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Plugin 'fatih/vim-go' call vundle#end() set mouse=a set number set expandtab set shiftwidth=4 -
Erdk revised this gist
Aug 6, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Plugin 'flazz/vim-colorschemes' Plugin 'majutsushi/tagbar' Plugin 'scrooloose/nerdtree' Plugin 'bling/vim-airline' Plugin 'fatih/vim-go' call vundle#end() @@ -50,12 +51,12 @@ let g:airline_powerline_fonts = 1 if has('gui_running') set guioptions=aegim set guifont=Droid\ Sans\ Mono\ Dotted\ for\ Powerline\ 11 endif set stal=0 set spell spelllang=en_us set nospell "key bindings map <F9> :tabnew<cr> map <F10> :tabprev<cr> @@ -69,4 +70,5 @@ nmap <F8> :TagbarToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> set pastetoggle=<F2> "autocmd vimenter * NERDTree autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif -
Erdk revised this gist
Jul 22, 2015 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,17 @@ set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'Valloric/YouCompleteMe' Plugin 'tpope/vim-markdown' Plugin 'airblade/vim-gitgutter' Plugin 'flazz/vim-colorschemes' Plugin 'majutsushi/tagbar' Plugin 'scrooloose/nerdtree' Plugin 'bling/vim-airline' call vundle#end() @@ -42,23 +45,28 @@ set t_Co=256 colo Chasing_Logic highligh clear SignColumn let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 if has('gui_running') set guioptions=aegim endif set stal=0 set spell spelllang=en_us set nospell autocmd vimenter * NERDTree "key bindings map <F9> :tabnew<cr> map <F10> :tabprev<cr> map <F11> :tabnext<cr> map <leader>tc :tabclose<cr> map <leader>tm :tabmove map <C-n> :NERDTreeToggle<cr> "tagbar & git nmap <F8> :TagbarToggle<cr> nmap <F7> :GitGutterLineHighlightsToggle<cr> set pastetoggle=<F2> autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif -
Erdk revised this gist
Apr 21, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Plugin 'Valloric/YouCompleteMe' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-markdown' Plugin 'majutsushi/tagbar' Plugin 'flazz/vim-colorschemes' call vundle#end() @@ -38,6 +39,7 @@ set showtabline=2 set wildmenu set t_Co=256 colo Chasing_Logic highligh clear SignColumn if has('gui_running') -
Erdk revised this gist
Apr 13, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Plugin 'gmarik/Vundle.vim' Plugin 'Valloric/YouCompleteMe' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-markdown' Plugin 'majutsushi/tagbar' call vundle#end() -
Erdk created this gist
Apr 9, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'Valloric/YouCompleteMe' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-markdown' call vundle#end() set number set expandtab set shiftwidth=4 set tabstop=4 set modeline set modelines=2 set autoindent set cindent set smartindent syntax on filetype plugin on let c_space_errors=1 set foldmethod=indent set foldnestmax=10 set nofoldenable set foldlevel=2 set colorcolumn=80 set bs=2 set showtabline=2 set wildmenu set t_Co=256 highligh clear SignColumn if has('gui_running') set guioptions=aegitm endif set spell spelllang=en_us set nospell " key bindings map <F9> :tabnew<cr> map <F10> :tabprev<cr> map <F11> :tabnext<cr> map <leader>tc :tabclose<cr> map <leader>tm :tabmove "tagbar & git nmap <F8> :TagbarToggle<CR> nmap <F7> :GitGutterLineHighlightsToggle<CR> set pastetoggle=<F2>