07 2023 档案

摘要:alt+vv 切换famevim或常规模式 alt+v1 触发user command1 :xxx 命中ex command mapping的正则, 触发ex command mapping配置的命令 阅读全文
posted @ 2023-07-27 11:36 马肯尼煤牙巴骨 阅读(28) 评论(0) 推荐(0) 编辑
摘要:```c++ #include #include #include using namespace std; //预置 constexpr static inline unsigned const_hash(char const* input) { return *input ? static_ca 阅读全文
posted @ 2023-07-27 10:39 马肯尼煤牙巴骨 阅读(10) 评论(0) 推荐(0) 编辑
摘要:生成tag ```bash ctags -R --c++-kinds=+p-d --fields=+iaSK --extra=+qf --sort=foldcase --tag-relative . ``` vimrc set tags=tags,./../tags,.... set path += 阅读全文
posted @ 2023-07-22 11:11 马肯尼煤牙巴骨 阅读(73) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1251880/202307/1251880-20230718121953878-330552713.png) 阅读全文
posted @ 2023-07-18 12:20 马肯尼煤牙巴骨 阅读(5) 评论(0) 推荐(0) 编辑
摘要:git clone vcpkg的repos下来后,按github readme 上操作,安装一下vcpkg 之后还需要用brew 安装一下pkg-config 设置默认的triplet 和install path ```zsh export VCPKG_DEFAULT_TRIPLET=x64-osx 阅读全文
posted @ 2023-07-08 10:21 马肯尼煤牙巴骨 阅读(417) 评论(0) 推荐(0) 编辑
摘要:```bash sudo apt-get install zsh zsh --version sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 阅读全文
posted @ 2023-07-06 11:26 马肯尼煤牙巴骨 阅读(24) 评论(0) 推荐(0) 编辑
摘要:```c++ #include #include inline std::string utf8_to_gbk(const std::string& str) { std::wstring_convert> conv; std::wstring tmp_wstr = conv.from_bytes( 阅读全文
posted @ 2023-07-04 10:56 马肯尼煤牙巴骨 阅读(140) 评论(0) 推荐(0) 编辑
摘要:修改~/.zshrc 加入这一段 ```bash function parse_git_branch() { git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/[\1] /p' } COLOR_DEF=$'%f' COLOR_USR=$'%F{243 阅读全文
posted @ 2023-07-02 14:02 马肯尼煤牙巴骨 阅读(325) 评论(0) 推荐(0) 编辑
摘要:昨天在mcs上拉下一个我的git 库 在设置git hook时遇到一个问题, 明明已经给了hook文件所有的权限了,但仍然显示无权操作 ```bash hbb@huangbinbindeMacBook-Air hooks % ll total 128 -rwxr-xr-x 1 hbb staff 4 阅读全文
posted @ 2023-07-02 13:24 马肯尼煤牙巴骨 阅读(122) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示