| ACG |
狂赌之渊 |
 |
 |
- 🚀Fatest StartupTime(Plugins Total:63 40-60ms)
- 💎Modular Plugin Config
- ⚒ Easy to use Easy to hack
- 🌟95% plugins lazyload with dein
- ⚡️Centerd on Coc.nvim, Denite auxiliary
- 🎱Autocompletion by lsp which coc.nvim support
- ⚔️ Fully customizable
- 🌈Comfortable theme gruvbox9
- macos or linux
- neovim >= 0.4.0(cause i used floatwindow,this feature support by neovim 0.4.0 above)
- python3 support
- pip3 install --user pynvim
- node and yarn
- NerdFont
1.
git clone --depth=1 https://github.com/taigacute/ThinkVim.git ~/.config/nvim
2. open the nvim ,it will auto install dein and plugins,when the plugins install success,it will install coc extensions.
3. if you see the coc extesions installed success in your vim commandline .Congratulations‼️
- if you need some plugins which not in Thinkvim ,you can add them into the
local_plugins.yaml, the plugins.yamlis thinkvim plugins file.
- i think split the user plugins and thinkvim plugins in two files is good. this way cant break the thinkvim and easy to use.if you dont like
local_plugins.yaml you can delete it .it doesnt effect thinkvim. but my advice is you can use local_plugins.yaml unless you have vimscript skill and you grasp this config
- if plugins config very long you can touch a file which named as plugin name in plugins folder
- The theme is gruvbox9,Works fine with neoclide/vim-jsx-improve,I create a new syntax group which provide the highlight of
jsxEndComponentName in neoclide/vim-jsx-improve,if you wirte js/jsx, you will find the color very similar like vscode-gruvbox
- The Color of other Languages are same as gruvbox,maybe some little change.
- Defx provide more features,The defx is very fatest than nerdtree when you open multifiles.
- Startify can only set the header and footer centerd,you can edit the
core/plugins/startify.vim,changed this numberlet g:startify_padding_left = 40 until the file area centerd on your screen
- Default leader
SPACE localleader; ,The vim keymap in mappings.vim,Plugins keymap in core/plugins/allkey.vim
- Insertkey like emacs
- if you find the keymap doesnt work , Or the keymap doesnt show in this keylist but in
allkey.vim ,you can create
a isse. Welcome PR.
| Keys |
Mode |
Description |
| Ctrl + w |
Insert |
delete the whole word |
| Ctrl + h |
Insert |
delete BackSpace |
| Ctrl + d |
Insert |
delete a single char |
| Ctrl + u |
Insert |
delete to the beginning of the line |
| Ctrl + b |
Insert |
move left |
| Ctrl + f |
Insert |
move rght |
| Ctrl + a |
Insert |
move the head of line |
| Ctrl + e |
Insert |
move the end of line |
| Ctrl + p |
Command |
move up |
| Ctrl + b |
Command |
move left |
| Ctrl + f |
Command |
move right |
| Ctrl + a |
Command |
move the head of line |
| Ctrl + e |
Command |
move the end of line |
| Ctrl + d |
Command |
move the cursors char |
| Ctrl + h |
Command |
delete BackSpace |
| Ctrl + S |
Insert |
save |
| Ctrl + Q |
Insert |
save and exit |
| Ctrl + o |
Insert |
create a new line |
| ] + b |
Normal |
pre buffer |
| [ + b |
Normal |
next buffer |
| Ctrl + x |
Normal |
delte buffer |
| Y |
Normal |
copy utils the end |
| j |
Normal |
gj |
| k |
Normal |
gk |
| j |
Visual |
gj |
| k |
Visual |
gj |
| - |
Noraml |
ChooseWin |
, + Space |
Normal |
Delete trailing spaces |
| [ + a |
Normal |
Ale next |
| ] + a |
Normal |
Ale pre |
| [ + c |
Normal |
coc next |
| ] + c |
Normal |
coc prev |
| ] + ] |
Normal |
jump to prev go func |
| [ + [ |
Normal |
jump to next go func |
| gc |
Normal |
caw.vim comment |
| gcc |
Normal |
caw.vim uncomment |
| ga |
Normal |
EasyAlign |
| ga |
Visual |
EasyAlign |
| sa |
Normal |
operatore-surround prefix |
| sd |
Normal |
operatore-surround prefix |
| sr |
Normal |
operatore-surround prefix |
| saa |
Normal |
operatore-surround textobj-multiblock-i |
| sdd |
Normal |
operatore-surround textobj-multiblock-a |
| srr |
Normal |
operatore-surround textobj-multiblock-a |
| v |
Visual |
vim-expand-region |
| V |
Visual |
vim-expand-region |
| Keys |
Mode |
Description |
| Ctrl + h |
Normal |
move to left window |
| Ctrl + l |
Noraml |
move to right window |
| Ctrl + j |
Normal |
move to down window |
| Ctrl + k |
Normal |
move to up window |
| Ctrl + w [ |
Normal |
the width of window reduce 3 |
| Ctrl + w ] |
Normal |
the width of window increase 3 |
| Ctrl + f |
Normal |
Window scrolling down |
| Ctrl + b |
Normal |
Window scrolling up |
| Ctrl + d |
Normal |
Window scrolls down half a screen |
| Ctrl + u |
Normal |
Window scrolls up half a screen |
| Keys |
Mode |
Description |
<Leader> + tn |
Normal |
create tab |
<Leader> + te |
Normal |
edit tab |
<Leader> + tc |
Normal |
close tab |
<Leader> + tm |
Normal |
move tab |
| Keys |
Mode |
Description |
<Leader> + number |
Normal |
number[0-9] choose buffer |
<Leader> + ca |
Normal |
CocDiagnostics |
<Leader> + cc |
Normal |
CocCommands |
<Leader> + ce |
Normal |
CocExtensions |
<Leader> + cj |
Normal |
Cocnext |
<Leader> + ck |
Normal |
CocPrev |
<Leader> + co |
Normal |
CocOutline |
<Leader> + cr |
Normal |
CocResume |
<Leader> + cs |
Normal |
CocIsymbols |
<Leader> + G |
Normal |
open Goyo |
<Leader> + m |
Normal |
open mundo |
<Leader> + w |
Normal |
save file |
<Leader> + - |
Normal |
ChooseWin |
<Leader> + s |
Normal |
open Startify |
<Leader> + d |
Normal |
open Dash |
<Leader> + p |
Normal |
Edit the file which in plugins folder |
<Leader> + cf |
Normal |
coc Format |
<Leader> + fc |
Normal |
fzf chage vim colorscheme |
<Leader> + ff |
Normal |
fzf find files |
<Leader> + fr |
Normal |
fzf rg search |
<Leader> + b |
Normal |
fzf find buffer |
<Leader> + fw |
Normal |
fzf rg search the cursor word |
<Leader> + fgc |
Normal |
fzf gitcommits |
<Leader> + fbc |
Normal |
fzf gitbcommits |
<Leader> + <Leader> + w |
Normal |
Easymotion jump to donw |
<Leader> + <Leader> + b |
Normal |
Easymotion jump to up |
<Leader> + <Leader> + f |
Normal |
Easymotion search for jump |
<Leader> + gr |
Normal |
vim-go GoRename |
<Leader> + goi |
Normal |
vim-go GoInfo |
<Leader> + god |
Normal |
vim-go GoDoc |
<Leader> + gor |
Normal |
vim-go GoRun |
<Leader> + gob |
Normal |
vim-go GoBuild |
<Leader> + got |
Normal |
vim-go GoTest |
<Leader> + goc |
Normal |
vim-go GoCoverage |
<Leader> + gov |
Normal |
vim-go GoDef |
| Keys |
Mode |
Description |
<LocalLeader> + t |
Normal |
Open Tagbar |
<LocalLeader> + r |
Normal |
QuickRun |
<LocalLeader> + v |
Normal |
Open Vista |
<LocalLeader> + da |
Normal |
TodoAdd Add todo |
<LocalLeader> + ga |
Normal |
Gadd |
<LocalLeader> + gd |
Normal |
Gdiff |
<LocalLeader> + gc |
Normal |
Gcommit |
<LocalLeader> + gb |
Normal |
Gblame |
<LocalLeader> + gB |
Normal |
GBrowse |
<LocalLeader> + gS |
Normal |
GStatus |
<LocalLeader> + gp |
Normal |
Gpush |
<LocalLeader> + gl |
Normal |
Denite show all git log |
<LocalLeader> + gh |
Normal |
Denite show git branch |
| Keys |
Mode |
Description |
<LocalLeader> + m |
Normal |
Denite Menu |
|
Denite |
Doaction |
| i |
Denite |
Open filter buffer |
| d |
Denite |
Delete |
| p |
Denite |
Preview |
| st |
Denite |
tabopen |
| sg |
Denite |
Vsplit |
| sv |
Denite |
Split |
' |
Denite |
QuickMove |
| q |
Denite |
Quit |
| r |
Denite |
RedRaw |
| yy |
Denite |
Yank |
<Esc> |
Denite |
Quit |
<C-u> |
Denite |
Restore Source |
<C-f> |
Denite |
call Defx |
<C-x> |
Denite |
Choose Action |
<Space> |
Denite |
Toggle Select |
<Esc> |
Denite Filter |
Quit |
| q |
Denite Filter |
Quit |
<C-c> |
Denite Filter |
Quit filter |
<kk> |
Denite Filter insert |
move window |
<kk> |
Denite Filter normal |
move window |
<jj> |
Denite Filter insert |
move window |
<jj> |
Denite Filter normal |
move window |
| Keys |
Mode |
Description |
<Leader> + e |
Normal |
open defx |
| N |
Defx |
touch new file |
| K |
Defx |
touch new folder |
<CR> |
Defx |
open file or folder |
l |
Defx |
open file or folder |
| dd |
Defx |
delete |
| r |
Defx |
rename |
| . |
Defx |
show ignore files |
| h |
Defx |
Return to the parent directory |
| q |
Defx |
exit defx |
| s |
Defx |
Open in rightwindow vs |
| i |
Defx |
Open file sp |
| yy |
Defx |
copy the path of file |
| \ |
Defx |
show the path of file |
| c |
Defx |
copy |
| m |
Defx |
move |
| p |
Defx |
paste |
<Space> |
Defx |
multi |
| gf |
Defx |
open in denite |
| gr |
Defx |
search in denite |
| w |
Defx |
increase the width |
| Keys |
Mode |
Description |
| Tab |
Select |
Jump |
| Tab |
Insert |
completion donw |
| Shit + Tab |
Insert |
completion up |
| Ctrl + n |
Insert |
completion down |
| Ctrl + p |
Insert |
completion up |
| Ctrl + Space |
Normal |
Forced trigger completion |
<CR> |
Insert/Select |
Confirm |
| K |
Normal |
Show the function doc |
| gd |
Normal |
jump to defined |
| gy |
Normal |
coc-type-definition |
| gi |
Normal |
coc-implementation |
| gr |
Normal |
coc-references |
[ + g |
Normal |
coc-git-prechunk |
] + g |
Normal |
coc-git-nextchunk |
| gs |
Normal |
git chunkinfo |
| Keys |
Mode |
Description |
| zl |
Normal |
Denite Outline |
| zT |
Normal |
Denite Goroot |
| Keys |
Mode |
Description |
| vif |
Go |
textobject |
| vaf |
Go |
textobject |
| aF |
Python |
textobject |
| iF |
Python |
textobject |
Do you like ThinkVim? keep it alive by donating funds😘!