Linux_个人学习笔记

来源:互联网 发布:淘宝怎么排名 编辑:程序博客网 时间:2024/06/11 08:37

写在前面:

  • 本人是小白,在此平台上记录,希望能帮到一小部分初学者的忙。

使用vim

vim 配置

"显示行号set nu"启动时隐去援助提示set shortmess=atI"语法高亮syntax on"使用vim的键盘模式"set nocompatible"不需要备份set nobackup"没有保存或文件只读时弹出确认set confirm"鼠标可用set mouse=a"tab缩进set tabstop=4set shiftwidth=4set expandtabset smarttab"文件自动检测外部更改set autoread"c文件自动缩进set cindent"自动对齐set autoindent"智能缩进set smartindent"高亮查找匹配set hlsearch"背景色set background=dark"显示匹配set showmatch"显示标尺,就是在右下角显示光标位置set ruler"去除vi的一致性set nocompatible

粘贴技巧:

通过在编辑器内呼出控制台后

:set paste后粘贴相关代码。
:set nopaste关闭无自动缩进模式。
或者
在.vimrc中加入下面内容:
set pastetoggle=<F3>
使用F3进行转换。

http://blog.chinaunix.net/uid-21202106-id-2406761.html
http://blog.csdn.net/liangsir_l/article/details/50608350

解决挂载

exfat格式

sudo apt-get install exfat-utils

Secret

sudo add-apt-repository ppa:hzwhuang/ss-qt5sudo apt-get updatesudo apt-get install shadowsocks-qt5