From cae0effc5e021381ab9d6b05519500e8365e56b7 Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:24:11 +0800 Subject: [PATCH 01/16] Expand the .vimrc file by default --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 8ee23227e..9ce332603 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,5 @@ " Modeline and Notes { -" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell: +" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=9 foldmethod=marker spell: " " __ _ _____ _ " ___ _ __ / _/ |___ / __ __(_)_ __ ___ From 3f881676abba35fe60bb9233afa4e72261dd694c Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:30:52 +0800 Subject: [PATCH 02/16] Not auto folden code --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 9ce332603..b829eadbe 100644 --- a/.vimrc +++ b/.vimrc @@ -229,7 +229,8 @@ set whichwrap=b,s,h,l,<,>,[,] " Backspace and cursor keys wrap too set scrolljump=5 " Lines to scroll when cursor leaves screen set scrolloff=3 " Minimum lines to keep above and below cursor - set foldenable " Auto fold code + "set foldenable " Auto fold code + set nofoldenable " Not Auto fold code set list set listchars=tab:›\ ,trail:•,extends:#,nbsp:. " Highlight problematic whitespace From 2cabf9dd56e10e7a90549e6c70ff32cbe6232d3b Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:34:23 +0800 Subject: [PATCH 03/16] Use full path name in the statusline(It dosen't seem to work ) --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index b829eadbe..635adea91 100644 --- a/.vimrc +++ b/.vimrc @@ -205,7 +205,7 @@ set laststatus=2 " Broken down into easily includeable segments - set statusline=%<%f\ " Filename + set statusline=%<%F\ " Filename,%f->%F set statusline+=%w%h%m%r " Options if !exists('g:override_spf13_bundles') set statusline+=%{fugitive#statusline()} " Git Hotness From f740299a40044ed77bcb55f4b2b52f004a27f15e Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:35:41 +0800 Subject: [PATCH 04/16] Reopen a file with sudo permission by the W command --- .vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 635adea91..ff7f47a26 100644 --- a/.vimrc +++ b/.vimrc @@ -371,7 +371,11 @@ if !exists('g:spf13_no_keyfixes') if has("user_commands") command! -bang -nargs=* -complete=file E e - command! -bang -nargs=* -complete=file W w + "command! -bang -nargs=* -complete=file W w + " + " Sample command W + " + command W :execute ':silent w !sudo tee % > /dev/null' | :edit! command! -bang -nargs=* -complete=file Wq wq command! -bang -nargs=* -complete=file WQ wq command! -bang Wa wa From b91e488313079c70c48540b559924dcda25366e4 Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:39:02 +0800 Subject: [PATCH 05/16] Not the close nerdtree window when open a new file --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index ff7f47a26..3136a451d 100644 --- a/.vimrc +++ b/.vimrc @@ -586,7 +586,9 @@ let NERDTreeShowBookmarks=1 let NERDTreeIgnore=['\.py[cd]$', '\~$', '\.swo$', '\.swp$', '^\.git$', '^\.hg$', '^\.svn$', '\.bzr$'] let NERDTreeChDirMode=0 - let NERDTreeQuitOnOpen=1 + " Notice: If let it =1, the tree will auto close after the file + " open + let NERDTreeQuitOnOpen=0 let NERDTreeMouseMode=2 let NERDTreeShowHidden=1 let NERDTreeKeepTreeInNewTab=1 From 520337467210beb4b2a997d804ffe680e14b819b Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:41:58 +0800 Subject: [PATCH 06/16] Add the git plug for the nerdtree --- .vimrc.bundles | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc.bundles b/.vimrc.bundles index 997ae9623..e62d6eef7 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -102,6 +102,7 @@ " General { if count(g:spf13_bundle_groups, 'general') Bundle 'scrooloose/nerdtree' + Bundle 'Xuyuanp/nerdtree-git-plugin' Bundle 'altercation/vim-colors-solarized' Bundle 'spf13/vim-colors' Bundle 'tpope/vim-surround' From c47eb5004918d5adb0cbf6c96302832d4700bcba Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:43:12 +0800 Subject: [PATCH 07/16] Comment the vim-nerdtree-tab plug in the bundles config --- .vimrc.bundles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index e62d6eef7..7812bd75a 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -125,7 +125,7 @@ Bundle 'powerline/fonts' Bundle 'bling/vim-bufferline' Bundle 'easymotion/vim-easymotion' - Bundle 'jistr/vim-nerdtree-tabs' + "Bundle 'jistr/vim-nerdtree-tabs' Bundle 'flazz/vim-colorschemes' Bundle 'mbbill/undotree' Bundle 'nathanaelkane/vim-indent-guides' From 8ba140714c21e946ea21e4a2f5eff4a5e497cf53 Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:44:34 +0800 Subject: [PATCH 08/16] Comment the html-auto-close-tag plug --- .vimrc.bundles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index 7812bd75a..be8810dbc 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -245,7 +245,7 @@ " HTML { if count(g:spf13_bundle_groups, 'html') - Bundle 'amirh/HTML-AutoCloseTag' + " Bundle 'amirh/HTML-AutoCloseTag' Bundle 'hail2u/vim-css3-syntax' Bundle 'gorodinskiy/vim-coloresque' Bundle 'tpope/vim-haml' From b73164bda1921b57555d62b64b11e9b175781fca Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:50:45 +0800 Subject: [PATCH 09/16] Use the .vimrc.local in the spf13 for tracking it in the github --- bootstrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 680e3c7fa..c39d82ae8 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -86,6 +86,7 @@ do_backup() { if [ -e "$1" ] || [ -e "$2" ] || [ -e "$3" ]; then msg "Attempting to back up your original vim configuration." today=`date +%Y%m%d_%s` + # remove the current vim config and backup for i in "$1" "$2" "$3"; do [ -e "$i" ] && [ ! -L "$i" ] && mv -v "$i" "$i.$today"; done @@ -124,6 +125,7 @@ create_symlinks() { lnif "$source_path/.vimrc" "$target_path/.vimrc" lnif "$source_path/.vimrc.bundles" "$target_path/.vimrc.bundles" lnif "$source_path/.vimrc.before" "$target_path/.vimrc.before" + lnif "$source_path/.vimrc.local" "$target_path/.vimrc.local" lnif "$source_path/.vim" "$target_path/.vim" if program_exists "nvim"; then @@ -131,7 +133,8 @@ create_symlinks() { lnif "$source_path/.vimrc" "$target_path/.config/nvim/init.vim" fi - touch "$target_path/.vimrc.local" + # Use the file in the spf13-vim-3 project, not create the file in the ~ dir + #touch "$target_path/.vimrc.local" ret="$?" success "Setting up vim symlinks." From 0ed32684e8679f831d511834c683ee562aeb775e Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Wed, 23 Oct 2019 23:52:38 +0800 Subject: [PATCH 10/16] Add .vimrc.local and .vimrc.bundles.local in the spf13 project --- .vimrc.bundles.local | 37 ++++++++++ .vimrc.local | 163 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) create mode 100644 .vimrc.bundles.local create mode 100644 .vimrc.local diff --git a/.vimrc.bundles.local b/.vimrc.bundles.local new file mode 100644 index 000000000..ee068ce7b --- /dev/null +++ b/.vimrc.bundles.local @@ -0,0 +1,37 @@ +" Modeline and Notes { +" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell: +" +" __ _ _____ _ +" ___ _ __ / _/ |___ / __ __(_)_ __ ___ +" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \ +" \__ \ |_) | _| |___) |_____|\ V / | | | | | | | +" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_| +" |_| +" +" This is the personal .vimrc.bundles file of Steve Francia. +" While much of it is beneficial for general use, I would +" recommend picking out the parts you want and understand. +" +" This file imports the various plugins of spf13. If you +" wish to alter which groups are imported, see vimrc.before. +" If you wish to add or remove individual bundles, create +" ~/.vimrc.bundles.local and `Bundle` or `UnBundle` as needed +" from there. +" +" You can find me at http://spf13.com +" } + +Bundle 'file://~/.vim/bundle/cscope_map.vim' +Bundle 'file://~/.vim/bundle/goyo.vim' +"Bundle 'file://~/.vim/bundle/bufexplorer' +"Repeat with the vimrc.bundles +"Bundle 'The-NERD-Commenter' + +" k/K is nice +Bundle 'lfv89/vim-interestingwords' +Bundle 'itchyny/vim-cursorword' + +Bundle 'file://~/.vim/bundle/gutentags_plus' +Bundle 'sainnhe/vim-color-forest-night' +Bundle 'isene/hyperlist.vim' +Bundle 'voldikss/vim-translate-me' diff --git a/.vimrc.local b/.vimrc.local new file mode 100644 index 000000000..8230c7164 --- /dev/null +++ b/.vimrc.local @@ -0,0 +1,163 @@ +" 关闭NERDTree快捷键 +" map t :NERDTreeToggle +" 显示行号 +let NERDTreeShowLineNumbers=1 +let NERDTreeAutoCenter=1 +" 是否显示隐藏文件 +let NERDTreeShowHidden=1 +" 设置宽度 +let NERDTreeWinSize=31 +" 在终端启动vim时,共享NERDTree +let g:nerdtree_tabs_open_on_console_startup=1 +" 忽略一下文件的显示 +let NERDTreeIgnore=['\.pyc','\~$','\.swp'] +" 显示书签列表 +let NERDTreeShowBookmarks=1 + +let g:NERDTreeIndicatorMapCustom = { + \ "Modified" : "?", + \ "Staged" : "?", + \ "Untracked" : "?", + \ "Renamed" : "?", + \ "Unmerged" : "═", + \ "Deleted" : "?", + \ "Dirty" : "?", + \ "Clean" : "??", + \ "Unknown" : "?" + \ } +" Show the line number +set nu +" Enable wrap +set wrap +" Auto open NERDTree when enter vim +" Use vim, not vim ./dir +autocmd vimenter * NERDTree +" NERDTree config +map :NERDTreeToggle +imap :NERDTreeToggle +"Use the pre dir tree +"nmap :NERDTreeToggle :NERDTreeMirror + autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") &&b:NERDTreeType == "primary") | q | endif + + +"安装tagbar插件 +""设置tagbar使用的ctags的插件,必须要设置对 +let g:tagbar_ctags_bin='/usr/bin/ctags' +"设置tagbar的窗口宽度 +"let g:tagbar_width=30 +""设置tagbar的窗口显示的位置,为左边 +let g:tagbar_right=1 +"打开文件自动 打开tagbar +"autocmd BufReadPost *.cpp,*.c,*.h,*.hpp,*.cc,*.cxx call tagbar#autoopen() +let Tlist_Show_One_File=1 +let Tlist_OnlyWindow=1 +let Tlist_Use_Right_Window=1 +let Tlist_Sort_Type='name' +let Tlist_Exit_OnlyWindow=1 +let Tlist_Show_Menu=1 +let Tlist_Max_Submenu_Items=10 +let Tlist_Max_Tag_length=20 +let Tlist_Use_SingleClick=0 +let Tlist_Auto_Open=0 +let Tlist_Close_On_Select=0 +let Tlist_File_Fold_Auto_Close=1 +let Tlist_GainFocus_On_ToggleOpen=1 +let Tlist_Process_File_Always=1 +let Tlist_WinHeight=10 +let Tlist_WinWidth=30 +let Tlist_Use_Horiz_Window=0 +map :TagbarToggle +imap :TagbarToggle +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif +colorschem murphy +"In normal mode, ; is equal to : +nmap ; : + +" Buf explore +nnoremap f :CtrlPMRU + +" airline statusline etc. +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#formatter = 'unique_tail_improved' + + +" Close the current buffer +map bd :Bclose:tabclosegT + +" Close all the buffers +map ba :bufdo bd + +map l :bnext +map h :bprevious + +" Useful mappings for managing tabs +map tn :tabnew +map to :tabonly +map tc :tabclose +map tm :tabmove +map t :tabnext + +" Let 'tl' toggle between this and the last accessed tab +let g:lasttab = 1 +nmap tl :exe "tabn ".g:lasttab +au TabLeave * let g:lasttab = tabpagenr() + +"""""""""""""""""""""""""""""" +" => bufExplorer plugin +"""""""""""""""""""""""""""""" +" Disalbe the bufExplorer, Because it conflict with many other vim plugs +" When enable it often pop the warning as follow: +" Error detected while processing function 49_BEActivateBuffer: +" line 18: +" E684: list index out of range: 2 +" This will disable the bufExplorer +let g:bufexplorer_version = "disabled" +let g:bufExplorerDefaultHelp=0 +let g:bufExplorerShowRelativePath=1 +let g:bufExplorerFindActive=1 +let g:bufExplorerSortBy='name' +"map o :BufExplorer + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Vimroom +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +let g:goyo_width=100 +let g:goyo_margin_top = 2 +let g:goyo_margin_bottom = 2 +nnoremap z :Goyo + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Global copy/paste +" Use the global clipbord by install vim-gnome +" See: https://www.cnblogs.com/songlen/p/6883522.html +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set clipboard=unnamedplus + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => cscope quickfix +"See: +" https://stackoverflow.com/questions/28185067/vim-go-to-next-search-result-across-multiple-files +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Replaced by the gutentags_plus plug@2019-08-02 +" set cscopequickfix=s-,c-,d-,i-,t-,e- + +" view the list of matches with: +" :cw[indow] Open the quickfix window +map :cw +imap :cw +" :ccl[ose] Close the quickfix window +nmap :ccl +map :ccl +imap :ccl +" :[count]cn[ext][!] +nmap :cn +" :[count]cp[revious][!] +nmap :cp + +" Use the new colorscheme plug +colorscheme forest-night +let g:airline_theme = 'forest_night' + + + From f835b867d7a324569715df89354e22af48530f45 Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Thu, 24 Oct 2019 00:11:06 +0800 Subject: [PATCH 11/16] Change the bundle source from local path to github --- .vimrc.bundles.local | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.vimrc.bundles.local b/.vimrc.bundles.local index ee068ce7b..86574aac8 100644 --- a/.vimrc.bundles.local +++ b/.vimrc.bundles.local @@ -21,8 +21,10 @@ " You can find me at http://spf13.com " } -Bundle 'file://~/.vim/bundle/cscope_map.vim' -Bundle 'file://~/.vim/bundle/goyo.vim' +" Bundle 'file://~/.vim/bundle/cscope_map.vim' +" Bundle 'file://~/.vim/bundle/goyo.vim' +Bundle 'junegunn/goyo.vim' +Bundle 'chazy/cscope_maps' "Bundle 'file://~/.vim/bundle/bufexplorer' "Repeat with the vimrc.bundles "Bundle 'The-NERD-Commenter' @@ -31,7 +33,8 @@ Bundle 'file://~/.vim/bundle/goyo.vim' Bundle 'lfv89/vim-interestingwords' Bundle 'itchyny/vim-cursorword' -Bundle 'file://~/.vim/bundle/gutentags_plus' +" Bundle 'file://~/.vim/bundle/gutentags_plus' +Bundle 'yaoyz-yuneec/gutentags_plus' Bundle 'sainnhe/vim-color-forest-night' Bundle 'isene/hyperlist.vim' Bundle 'voldikss/vim-translate-me' From de7db5ae3a32e729d0a54b6e03db1c1c0e381753 Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Thu, 24 Oct 2019 00:45:54 +0800 Subject: [PATCH 12/16] Add a new plug for tags generation --- .vimrc.bundles.local | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 .vimrc.bundles.local diff --git a/.vimrc.bundles.local b/.vimrc.bundles.local old mode 100644 new mode 100755 index 86574aac8..c0c7c67e0 --- a/.vimrc.bundles.local +++ b/.vimrc.bundles.local @@ -35,6 +35,7 @@ Bundle 'itchyny/vim-cursorword' " Bundle 'file://~/.vim/bundle/gutentags_plus' Bundle 'yaoyz-yuneec/gutentags_plus' +Bundle 'ludovicchabant/vim-gutentags' Bundle 'sainnhe/vim-color-forest-night' Bundle 'isene/hyperlist.vim' Bundle 'voldikss/vim-translate-me' From a44f531d818513aeec9d304108d1fe0c8b3112f4 Mon Sep 17 00:00:00 2001 From: Yaoyz Date: Thu, 24 Oct 2019 09:41:17 +0800 Subject: [PATCH 13/16] Add some decriptions and notice --- README2.markdown | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README2.markdown diff --git a/README2.markdown b/README2.markdown new file mode 100644 index 000000000..d23d97f93 --- /dev/null +++ b/README2.markdown @@ -0,0 +1,25 @@ +# Some trip + +# Vim +## Upgrade to 8.0 +``` +sudo add-apt-repository ppa:jonathonf/vim +sudo apt update +sudo apt install vim +``` + + +## Uninstall Vim 8.0: +To uninstall Vim 8.0 and downgrade it to the stock version in Ubuntu repository, run the command below to purge the PPA: + +``` +sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vim +``` + +## +lua + +``` +sudo apt install vim-gtk/nox +``` +It may improve the autocomplete feature + From a258046790960fcb56c3c428d8967cc7d7c3cbad Mon Sep 17 00:00:00 2001 From: Yaoyz Date: Thu, 24 Oct 2019 09:43:22 +0800 Subject: [PATCH 14/16] Add a plug-in about gutentags --- bak_TO_DEL/gutentags_plus.zip | Bin 0 -> 2896 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bak_TO_DEL/gutentags_plus.zip diff --git a/bak_TO_DEL/gutentags_plus.zip b/bak_TO_DEL/gutentags_plus.zip new file mode 100644 index 0000000000000000000000000000000000000000..9a7ccf3677018aecab128dfa3bfdc698939970be GIT binary patch literal 2896 zcma);XHXN^7Jw6~6pge9h9**l(4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++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) mode change 100644 => 100755 README2.markdown diff --git a/README2.markdown b/README2.markdown old mode 100644 new mode 100755 index d23d97f93..9ef6ce3c6 --- a/README2.markdown +++ b/README2.markdown @@ -2,24 +2,24 @@ # Vim ## Upgrade to 8.0 -``` -sudo add-apt-repository ppa:jonathonf/vim -sudo apt update -sudo apt install vim -``` +The vim 8.0 has better support for the spf13 project. +The installation steps are as follows: + + sudo add-apt-repository ppa:jonathonf/vim + sudo apt update + sudo apt install vim + ## Uninstall Vim 8.0: To uninstall Vim 8.0 and downgrade it to the stock version in Ubuntu repository, run the command below to purge the PPA: -``` -sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vim -``` + sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vim + + +## +lua(vim --version) -## +lua + sudo apt install vim-gtk/nox -``` -sudo apt install vim-gtk/nox -``` -It may improve the autocomplete feature +It may improve the autocomplete feature. From cc44975a3c12d781ad8b89656594674dc47eca0f Mon Sep 17 00:00:00 2001 From: yaoyz <15850585114@163.com> Date: Thu, 24 Oct 2019 21:55:19 +0800 Subject: [PATCH 16/16] Fix the url for the html plugin --- .vimrc.bundles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index be8810dbc..c642550c1 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -245,7 +245,7 @@ " HTML { if count(g:spf13_bundle_groups, 'html') - " Bundle 'amirh/HTML-AutoCloseTag' + Bundle 'heracek/HTML-AutoCloseTag' Bundle 'hail2u/vim-css3-syntax' Bundle 'gorodinskiy/vim-coloresque' Bundle 'tpope/vim-haml'