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及用户自定义的变量 ...
随机推荐
- Multiple annotations found at this line
Multiple annotations found at this line 在使用MyEclipse的时候,通过MVN导入项目时候,webapp下面的JSP页面报了如下的错误: 这种情况通常的原因 ...
- [LintCode] Min Stack 最小栈
Implement a stack with min() function, which will return the smallest number in the stack. It should ...
- java并发编程(七)synchronized详解
Java语言的关键字,当它用来修饰一个方法或者一个代码块的时候,能够保证在同一时刻最多只有一个线程执行该段代码. 一.当两个并发线程访问同一个对象object中的这个synchronized( ...
- bzoj1057: [ZJOI2007]棋盘制作--最大子矩阵
既然要求最大01子矩阵,那么把应该为0的位置上的数取反,这样就变成求最大子矩阵 最大子矩阵可以用单调栈 #include<stdio.h> #include<string.h> ...
- Unity学习疑问记录之触摸点坐标
Vector3 pos=Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); 类似的鼠标点击Camera.main.ScreenToW ...
- 神奇的VIM~转IBM
% 地址范围符号,代表文件中的所有行,作用等同于地址范围 1,$ . 与任意单字符(换行符除外)匹配,例如 y.s 可以匹配 yas y.s 或 y s 等等. * 与前一字符的0次或多次出现匹配,例 ...
- BZOJ 1003 物流运输【最短路】【动态规划】
这道题数据太小啦!先枚举i,j表示从第i天到第j天不更改航线的费用. 然后直接跑最短路算法(我用的是Q版男朋友算法) 动归方程显然是f[i] = min(f[i], f[j] + cost[j+1][ ...
- ubuntu-vnc
Centos 中文gnome: 全新以最小化包安装了64位的CentOS6.3系统,作为本地的Web服务器使用,现记录全过程: 1.先安装X Window yum groupinstall " ...
- Java中Map常用方法总结以及遍历方式的汇总
一.整理: 看到array,就要想到角标. 看到link,就要想到first,last. 看到hash,就要想到hashCode,equals. 看到tree,就要想到两个接口.Comparable, ...
- HTML中添加背景音乐
<audio controls="controls" height="100" width="100"> <source ...