上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页
摘要: ~/.vim/my_configs.vim " Usefull setting set thesaurus+=~/js-functions.txt set thesaurus+=~/js-lodash.txt " Useful mappings " vnoremap <leader>. gv:wri 阅读全文
posted @ 2023-02-14 11:36 箫笛 阅读(37) 评论(0) 推荐(0)
摘要: ~/.bashrc # change cursor alias cl='echo -ne "\e[6 q"' alias cb='echo -ne "\e[2 q"' # set bash command line as vi mode # set -o vi # set CDPATH enviro 阅读全文
posted @ 2023-02-14 11:05 箫笛 阅读(40) 评论(0) 推荐(0)
摘要: Start run project when run script start-work.sh #!/usr/bin/bash # start work . ~/utils.sh # jump to work directory uiProject=/c/project/path/ if [ -d 阅读全文
posted @ 2023-02-13 15:30 箫笛 阅读(19) 评论(0) 推荐(0)
摘要: ** use grep command to find selected words ** `vim-grep/` - `plugin/` `grep.vim` ``` function! s:GrepOperator(type) let l:saved_unnamed_register = @@ 阅读全文
posted @ 2023-02-08 20:15 箫笛 阅读(28) 评论(0) 推荐(0)
摘要: # test.vim test.vim is to test vimscript, and as an sample for developing the vundle plugin. 开发并安装一个本地 vundle 插件 第一步:按照 vundle 插件要求的目录结构,创建插件的目录结构 vim 阅读全文
posted @ 2023-02-08 20:05 箫笛 阅读(140) 评论(0) 推荐(0)
摘要: ###1. Intro This plugin can help you quikly convert the nls copy to nls key, such as "this is a nls", can convert to below keys list as you wanto. "F_ 阅读全文
posted @ 2023-02-08 20:01 箫笛 阅读(25) 评论(0) 推荐(0)
摘要: 1. Introduction This is a simple tool for convert a long english sentence format to a nls key. 2. Install $ ./install.sh Open the git bash under the t 阅读全文
posted @ 2023-02-08 19:24 箫笛 阅读(23) 评论(0) 推荐(0)
摘要: 1. Chrome 扩展的结构组成 Chrome扩展的文件结构 - extension-smaple/ - manifest.json - service-worker.js - scripts/ - content-script.js - popup/ - popup.css - popup.js 阅读全文
posted @ 2023-01-30 19:15 箫笛 阅读(146) 评论(0) 推荐(0)
摘要: 1. 引擎的类型 传统型NFA POSIX NFA DFA (不支持忽略优先量词,捕获组和回朔) Javascript测试代码: 首先测试是否是传统型NFA /** 如果匹配结果是nfa则为传统型NFA **/ const reg = /nfa|nfa not/; const matches = r 阅读全文
posted @ 2022-12-05 17:24 箫笛 阅读(74) 评论(0) 推荐(0)
摘要: 1. match str.match(reg) 参数: 一个正则表达式对象,如果reg不是正则表达式对象,则会利用new RegExp(reg) 隐式转换。 返回值: 1. 正则表达式中如果有g标志,则将返回与完整正则表达式匹配的所有结果,但不会返回捕获组。 2. 正则表达式中如果没有使用g标志,则 阅读全文
posted @ 2022-11-29 17:03 箫笛 阅读(51) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页