Ubuntu 版本:ubuntu-18.04.4-desktop-amd64
文章目录
- vim
- 快捷键
- 编辑多个文件
- ctags
- 远程连接虚拟机 ssh
- 如何制作 Ubuntu 启动盘?
- FlowChart
- gedit python/C
- 安装脚本
- References
vim
快捷键
编辑多个文件
横向分屏:vim -o ctest.c pytest.py
Ctrl+w h
Ctrl+w l
竖向分屏:vim -O ctest.c pytest.py
Ctrl+w ⬆
Ctrl+w ⬇
横向分屏(: sp pytest.py)
竖向分屏(: vs pytest.py)
ctags
sudo apt-get install ctags
在需要生成 ctags 的文件中执行 ctags -R *
,将生成的 ctags 文件拷贝到项目目录中即可。
远程连接虚拟机 ssh
# 连接方式:桥接网卡
sudo apt-get install openssh-server
sudo /etc/init.d/ssh start
如何制作 Ubuntu 启动盘?
略。
FlowChart
- 0. 系统语言最好使用英语
- 1. 开始可能会提示软件更新,更新就好
- 2. 在 Software Updater 中更换系统镜像源
- 3. 【百度网盘下载】sougou 输入法、 google chrome、百度云盘
- 4. 【脚本安装】 git、vim(.vimrc)、m4、gcc、g++、typora(han)、
sudo bash xxx.sh && bash xxx.sh
- 5. 配置 VS code C 开发环境
- 6.
- 7. 配置 gedit,C/Python,
- https://cloud.tencent.com/developer/article/1564138
- 8. virtual box、gnome tweaks、
- 9.
- 10.
- 11. sourceInsight
- 12. 截图工具
- 13. proxy
- 14. 共享文件夹
gedit python/C
# run the current document in python3.6
python3.6 $GEDIT_CURRENT_DOCUMENT_PATH
fullname=$GEDIT_CURRENT_DOCUMENT_NAME
name=`echo $fullname | cut -d. -f1`
suffix=`echo $fullname | cut -d. -f2`
gcc $fullname -lpthread -o $name && echo "编译成功!";
dir=$GEDIT_CURRENT_DOCUMENT_DIR
gnome-terminal --hide-menubar --working-directory=$dir -t " 终端-$name" -x bash -c "$dir/$name; read"
安装脚本
shellToolBox
References
Ubuntu18.0.4 仿Mac界面Ubuntu 18.04 美化