yehuohan's recent timeline updates
yehuohan's repos on GitHub
Lua · 22 watchers
popc
Pop Out Panel inside Custom user mode
Lua · 20 watchers
cmp-im
Input Method source for nvim-cmp
Lua · 11 watchers
blink-cmp-im
Input Method source for blink.cmp
Lua · 9 watchers
hop.nvim
Fork & rewrite of hop.nvim (Neovim motions on speed!)
Lua · 5 watchers
cmp-im-zh
zh tables for cmp-im and blink-cmp-im
Lua · 4 watchers
dotfiles
dotfiles
Vim Script · 4 watchers
popset
Pop selections for operation.
Shell · 3 watchers
bootfiles
USB Boot Files
C · 3 watchers
ln-asr
Automatic Speech Recognition
Vim Script · 3 watchers
popc-floaterm
popc plugin for vim-floaterm
Vim Script · 3 watchers
vim-ctrlspace
Vim Space Controller
Lua · 2 watchers
cmp-path
nvim-cmp source for path
Rust · 2 watchers
erender
Learn graphics renderer with Rust
HTML · 2 watchers
yehuohan.github.io
Lua · 1 watchers
cmp-cmdline
nvim-cmp source for vim's cmdline
C++ · 1 watchers
evktor
A simple Vulkan renderer
1 watchers
graphics-assets
C · 1 watchers
ln-dsa
Data Struct and Algorithm learning
C++ · 1 watchers
ln-misc
misc of ln
Rust · 1 watchers
ln-os
Operating system
Python · 1 watchers
ln-ss
Signal and system
Python · 1 watchers
pwshare
create wifi share with python
Vim script · 0 watchers
lightline.vim
A light and configurable statusline/tabline plugin for Vim
0 watchers
ln-net
Python · 0 watchers
maple-font
Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font for IDE and terminal, fine-grained customization options. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1,细粒度的自定义选项
Lua · 0 watchers
marks.nvim
A better user experience for viewing and interacting with Vim marks.
Vim script · 0 watchers
vim-easymotion
Vim motions on speed!
yehuohan

yehuohan

V2EX member #255688, joined on 2017-09-21 21:33:47 +08:00
yehuohan's recent replies
@halmstad 确实,syntax off 后就好多了
@henices 我感觉是 ycm,特别是写 python 时,开的 ycm 补全,卡得比较快,c/c++还好点
@svenFeng 内存够了,还有 4 个多 G,但是 ycmd 只用到了 100 来 mb
@tamlok 用的是 gvim
@knightdf
@582033
你们开着 ycm 吗?
Sep 28, 2017
Replied to a topic by tracyone Vim 把你自己写的觉得不错的 vim 脚本贴出来
还有一个,用一个 tab 实现 ZoomWin 功能,不过是使用 tab,所以界面就没 ZoomWin 插件的那样好看了,要是装了 ariline 或不显示 tabline 还好。还有就是因为 ToggleWindowZoom 使用 tab 模拟 ZoomWin,所以退出时,也要用 ToggleWindowZoom 来退出,不然会关错 tab。
let s:is_max = 0
function! ToggleWindowZoom()
if s:is_max
let s:is_max = 0
execute "normal! " . s:last_tab . "gt"
execute "noautocmd " . s:last_winnr . "wincmd w"
silent! execute "tabclose " . s:this_tab
else
let s:is_max = 1
let s:last_winnr = winnr()
let s:last_tab = tabpagenr()
execute "tabedit " . expand("%")
let s:this_tab = tabpagenr()
endif
endfunction
@quinoa42 这是这个
Sep 23, 2017
Replied to a topic by tracyone Vim 把你自己写的觉得不错的 vim 脚本贴出来
@tracyone
我用于 使用 vimgrep 全局搜索时,输入多个特定文件
Sep 23, 2017
Replied to a topic by tracyone Vim 把你自己写的觉得不错的 vim 脚本贴出来
@tracyone

:<Func> Des<tab>top Dow<tab>loads

<Func> 使用 GetMultiFilesCompletion 作为自动补全
<tab> 按 Tab 的地方,补全完 Desktop 后,Downloads 能继续补全
Sep 22, 2017
Replied to a topic by tracyone Vim 把你自己写的觉得不错的 vim 脚本贴出来
" 多目录、文件补全(输入一个文件 /目录后,按空格,可以接着补全第二个文件 /目录)
" FUNCTION: GetMultiFilesCompletion(arglead, cmdline, cursorpos) {{{
function! GetMultiFilesCompletion(arglead, cmdline, cursorpos)
let l:complete = []
let l:arglead_list = [""]
let l:arglead_first = ""
let l:arglead_glob = ""
let l:files_list = []

" process glob path-string
if !empty(a:arglead)
let l:arglead_list = split(a:arglead, " ")
let l:arglead_first = join(l:arglead_list[0:-2], " ")
let l:arglead_glob = l:arglead_list[-1]
endif

" glob hidden and not hidden files
let l:files_list = split(glob(l:arglead_glob . "*") . "\n" . glob(l:arglead_glob . "\.[^.]*"), "\n")
if len(l:arglead_list) == 1
let l:complete = l:files_list
else
for item in l:files_list
call add(l:complete, l:arglead_first . " " . item)
endfor
endif
return l:complete
endfunction
" }}}
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2206 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 16:11 · PVG 00:11 · LAX 09:11 · JFK 12:11
♥ Do have faith in what you're doing.