788 views
owned this note
---
disqus: ncumcl
---
VIM
===
###### tags: `MCL Notebook` `vim`
# 目錄
- 內建功能
- [基本功能](http://hackmd.mcl.math.ncu.edu.tw/eziefvzwTWOKP--WE6NtPg)
- [進階功能](http://hackmd.mcl.math.ncu.edu.tw/ZLB-pAH4TsCJxODr0Uksqg)
- [Plugin](http://hackmd.mcl.math.ncu.edu.tw/JllaKGY6SYGzjOC-u40n0w)
- Coding 相關
- [ctags](http://hackmd.mcl.math.ncu.edu.tw/M2HvpH87SVW0EOt6eAQhAg)
- [cscope](http://hackmd.mcl.math.ncu.edu.tw/m6Wuma22R7moAslobp4cYQ)
- [gtags](http://hackmd.mcl.math.ncu.edu.tw/2mqKg48kR3efSTk9Ab2I_g)
- [taglist](http://hackmd.mcl.math.ncu.edu.tw/JllaKGY6SYGzjOC-u40n0w#taglist)
- [tagbar](http://hackmd.mcl.math.ncu.edu.tw/JllaKGY6SYGzjOC-u40n0w#tagbar)
- [vim-gutentags]()
- Share
- [Yo-Yo's setting](http://hackmd.mcl.math.ncu.edu.tw/K9EQNfugRT6Ybm2nWQpPPQ)
###### from:
- [介紹、指令使用、搭配 vim 使用](http://ju.outofmemory.cn/entry/112383)
- [介紹、Build、網頁瀏覽](https://blog.csdn.net/gatieme/article/details/78819740)
- [install、build、vim-conf](https://medium.com/heynote/use-gtags-gnu-global-with-vim-replace-ctags-and-cscope-15ae03f272e3)
- [vim-conf](https://www.v2ex.com/t/456788)
[from](https://www.jianshu.com/p/310368097c75)
###### from
每個都教一點點,但多少有些不同的資訊
- [簡單教](https://blog.csdn.net/panderang/article/details/54175475)
- [簡單教](https://www.jianshu.com/p/310368097c75)
- [簡單教](http://terrychen.logdown.com/posts/2014/10/18/vim-airline-status-bar-helper)
- [tabline](https://zhuanlan.zhihu.com/p/25571232)
### Link
[別人的設定](http://wen00072.github.io/blog/2018/02/15/vim-setup-for-trace-c-code/#vtr-set-vdplg-al)
[蠻詳細的教學](https://hackmd.io/c/rJKbX1pFZ/https%3A%2F%2Fhackmd.io%2Fs%2FHJv9naEwl)
[感覺還可以的設定](http://terrychen.logdown.com/posts/2014/10/18/vim-airline-status-bar-helper)
[airline官方](https://github.com/vim-airline/vim-airline)
[vim-airline 中 bar 的樣式](https://github.com/vim-airline/vim-airline/wiki/Screenshots)
[整個教學、比較名詞介紹](https://www.dreamxu.com/books/vim/plugin/vim-airline.html)
## Feature requests
### [terryma/vim-multiple-cursors](https://github.com/terryma/vim-multiple-cursors)
![](https://raw.githubusercontent.com/terryma/vim-multiple-cursors/master/assets/example1.gif)
#### Sublime-friendly configures
```
" multicursor
let g:multi_cursor_start_word_key = '<C-d>'
let g:multi_cursor_select_all_word_key = '<S-D>'
let g:multi_cursor_start_key = 'g<C-d>'
let g:multi_cursor_select_all_key = 'g<S-D>'
let g:multi_cursor_next_key = '<C-d>'
let g:multi_cursor_prev_key = '<C-r>'
let g:multi_cursor_skip_key = '<c-x>'
let g:multi_cursor_quit_key = '<Esc>'
```
#### Known bug
多選取模式輸入 `"` 與 `{` 時會與 [Raimondi/delimitMate](https://github.com/Raimondi/delimitMate) 套件衝突:[SpaceVim/SpaceVim/issues/1982](https://github.com/SpaceVim/SpaceVim/issues/1982#issue-345119155)
解法:使用替換套件 [jiangmiao/auto-pairs](https://github.com/jiangmiao/auto-pairs) XDDD