My Env
Font -- YaHei Consolas Hybrid
YaHei Consolas
Asume that we put the font file in /usr/share/fonts/myfonts (with accessary > 444)
Then install this font:
sudo mkfontscalesudo mkfontdirsudo fc-cache -fv
Shell -- zsh
sudo apt-get install zshchsh -s /bin/zsh#on my zshwget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
Vim
To make sure our vim have
Themes: solarized
"========"Encodingset guifont=Consolas:h12:cANSIset encoding=utf-8set fileencoding=utf-8set fileencodings=ucs-bom,utf-8,chinese,cp936set termencoding=utf-8"========"Clean workspaceset nobackupset noswapfileset dir=C:/tmp"========"Basic settingsyntax onsyntax enable"========"Make vim looks betterset guifont=YaHei\ Consolas\ Hybrid:h14:b:cDEFAULTset t_Co=256set background=darklet g:solarized_termcolors=256colorscheme solarized"=========="Betterfiletype onfiletype plugin indent on "enable the pluginlet mapleader=";"nmap lb 0nmap le $vnoremap <Leader>y "*ynmap <Leader>p "*pset wildmenuset nocompatibleset backspace=indent,eol,star"=================================set nuset tabstop=4set shiftwidth=4set nowrapset expandtabset autoindentset smartindent "indent when insert a new line"==============="cursorlineset cursorline "high light the current lineset cursorcolumnset ruler "status ruler"================================set ignorecase smartcase "ignore case or there is more than one Bigset nowrapscan "search no loopset incsearch "display when inputset hlsearch "high light the search result"===============================set cmdheight=1set laststatus=2let g:Powerline_colorscheme='solarized256'"set statusline=\ %<%F[%1*%M%*%n%R%H]%=\ %y\ %0(%{&fileformat}\ %{&encoding}\ %l/%L:%c%)\"================================set foldenable "foldset foldmethod=syntaxsetlocal foldlevel=1nnoremap <space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR>"===============================
Vim plugin
"Author-info"Ctags"NerdTree"TListmap <F4> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR><CR>"第一个命令里的分号是必不可少的。这个命令让vim首先在当前目录里寻找tags文件,如果没有tags文件,或者没有找到对应的目标,就到父目录 中查找,一直向上递归。因为tags文件中记录的>路径总是相对于tags文件所在的路径,所以要使用第二个设置项来改变vim的当前目录。set tags=tags;set autochdir"========let g:vimrc_author='DarryO'let g:vimrc_email='lihaodemail@foxmail.com'let g:vimrc_homepage='darryo.github.com'nmap <F1> :AuthorInfoDetect<cr>"========autocmd VimEnter * nmap <F2> :NERDTreeToggle<CR>autocmd VimEnter * imap <F2> <Esc>:NERDTreeToggle<CR>let NERDTreeQuitOnOpen=1let NERDTreeWinSize=20autocmd VimEnter * nmap <F3> :TlistToggle<CR>autocmd VimEnter * imap <F3> <Esc>:TlistToggle<CR>let Tlist_Show_One_File = 1 "不同时显示多个文件的tag,只显示当前文件的let Tlist_Exit_OnlyWindow = 1 "如果taglist窗口是最后一个窗口,则退出vimlet Tlist_Use_Right_Window = 1 "在右侧窗口中显示taglist窗口
Work on Windows
We need Babun . Babun makes me work like in linux.
Some tool.
Here are some tool for Windows, Linux, Android.
Nutstore. In China, Nutstore is a nice substitute for dropbox. It supports Windows, Linux, iOS, Android...
Wiz. It supports Linux, so I choose Wiz instead of Evernote.
附件列表
My Env的更多相关文章
- laravel中如何防止直接访问.env文件
.env文件含有数据库账号密码等敏感数据,在laravel5.2中,在本地访问127.0.0.1/laravel/.env可直接访问到.env. 为避免.env被直接访问,可使用重定向,方法如下: 在 ...
- jni调试3(线程调试env变量问题)
jni层调试线程死机原因 一,导致死机原因: jni层中 线程函数中 只要添加调用env 的函数 ,,就会死机 二,解决方法 第一我们应该理解: ①(独立性) JNIEnv 是一个与线 ...
- 【Junit 报错】No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
Junit报错 log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvi ...
- express+gulp构建项目(四)env环境变量
这里的文件的作用是负责设置env环境变量和日志. index.js try { require('dotenv').load({silent: true}); //dotenv从一个.env文件中读取 ...
- #!/usr/bin/env python与#!/usr/bin/python的区别
[摘自:http://blog.csdn.net/wh_19910525/article/details/8040494] 一般的python文件的开头都有#!/usr/bin/python.这是什么 ...
- java:comp/env/jdbc/ 的两种配置方法
1. 在 META-INF 下建立文件: context.xml <?xml version="1.0" encoding="UTF-8"?> &l ...
- Cannot install NodeJs: /usr/bin/env: node: No such file or directory
安装doxmate时,doxmate地址是:https://github.com/JacksonTian/doxmatenpm install doxmate -g 安装完后把错误:Cannot in ...
- python之fabric(一):环境env
原文:https://my.oschina.net/indestiny/blog/289587 1. fabric有很多可配置的环境,如: user:默认用于ssh登录的本地用户名. password ...
- env,export
这几个命令都是和Linux环境变量相关的 env 查看系统所有的环境变量,个人觉得这里面最重要的就是PATH,我们在终端敲入的命令,其实都是一个个脚本文件,那么Shell去哪找这些文件呢?搜索路径就存 ...
- Linux set env export declare unset
http://www.it165.net/os/html/201405/8390.html env /etc/profile 环境变量 系统提供 可改 set /etc/bashrc及用户自定义的变量 ...
随机推荐
- [超级懒人最简单法]iPhone 6 plus 适配切图方法分享(转载文章)
网络上已经有很多适配教程,可是看了半天总是半懂不懂..最后还是要综合多个教程再动动脑子动动手,最好有程序大哥帮你试一下(这得有多大的福气) 如果有跟我一样情况的: 1. 有人说用sketc ...
- 基础知识:Q&A
1.点乘几何意义? >0,a,b同向,=1时,方向完全相同 =0,垂直 <0,反向,=-1时,方向完全相反 2.叉乘几何意义?叉乘得到的向量的方向怎么确定? aXb ,可以得到 同时垂直于 ...
- 初识genymotion安装遇上的VirtualBox问题
想必做过Android开发的都讨厌那慢如蜗牛的 eclipse原生Android模拟器吧! 光是启动这个模拟器都得花上两三分钟,慢慢的用起来手机来调试,但那毕竟不是长久之计,也确实不方便,后来知道了g ...
- bigint数据类型
尽管int依然是SQL Server 2000中最主要的整数数据类型,但是SQL Server 2000还是新增加了整数数据类型bigint,它应用于整数超过int数据范围的场合. int数据类型所表 ...
- About_PHP_函数
关于验证码的完善: //生成干扰线 $posLineX1 = rand(12,50); $posLineX2 = rand(50,110); $posX = rand(10,50); for($i=0 ...
- 【转】 Camera模仿3D效果的小例子(图片无限旋转)
import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactor ...
- STL之list
list是一个线性链表结构,它的数据由若干个节点构成,每一个节点都包括一个信息块,一个前驱指针和一个后驱指针.它无需分配指定的内存大小且可以任意伸缩,这是因为它存储在非连续的内存空间中,并且由指针将有 ...
- Oracle EBS - AOL
AOL: (Path: /u43/dev6/interface/aol) 1. Goto system administrator response 2. View -> Request (Sa ...
- amCharts图表组件
amCharts提供了JavaScript/HTML5 Charts.Javascript/HTML5 Stock Chart.JavaScript Maps三种图表组件.amCharts图形效果炫丽 ...
- React Native 中 CSS 的使用
首先声明,此文原作者为黎 跃春 React Native中CSS 内联样式 对象样式 使用Stylesheet.Create 样式拼接 导出样式对象 下面的代码是index.ios.js中的代码: / ...