V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  iloveyou  ›  全部回复第 52 页 / 共 80 页
回复总数  1596
1 ... 48  49  50  51  52  53  54  55  56  57 ... 80  
@ahu
@HowardMei

悲催的郑州,没有科技氛围,以小商品、炒房为支柱产业。。。
不大会wp
悲催的,没人
@feiandxs 多些你的讲解,感谢送到
@enj0y 您是何方高人,能否透露一二


@okidogi 1主机商说的 2某个时刻突然大量流量 3分析log,有的ip点击达上前次
@andyliu 试了几个方法,都不行:1、换linode vps 2、安装防ddos模块 3、配置iptable
2012-10-18 12:26:26 +08:00
回复了 iloveyou 创建的主题 Vim vim能把esc改成别的键吗?还是我想得太多?手指短的哭比路过
好吧 我发现了ctrl+[
2012-10-18 12:20:37 +08:00
回复了 iloveyou 创建的主题 Vim vim能把esc改成别的键吗?还是我想得太多?手指短的哭比路过
@wwwjfy jj不是向下吗
@humiaozuzu 对了 我还装了snipmate
" disable VI's compatible mode..

set nocompatible

" set encoding=utf-8

set fileencodings=ucs-bom,utf-8,gbk,default,latin1

" use chinese help

set helplang=cn
" autoload _vimrc
autocmd! bufwritepost _vimrc source %

" Enable syntax highlight

syntax enable
syntax on

filetype indent on
filetype plugin on
filetype plugin indent on
set autoindent
colo murphy

" Show line number

set nu

" show matching bracets

set showmatch



" Basic editing options

set expandtab

set shiftwidth=2

set guifont=Monaco:h15

au FileType html,python,vim,javascript setl shiftwidth=2

au FileType html,python,vim,javascript setl tabstop=2

au FileType java,php setl shiftwidth=4

au FileType java,php setl tabstop=4

set cursorline

set smarttab

set lbr

set tw=0



"Auto indent

set ai



" Smart indet

set si



" C-style indeting

set cindent



" Wrap lines

set wrap
" Sets how many lines of history VIM har to remember

set history=400



" Set to auto read when a file is changed from the outside

set autoread



" Have the mouse enabled all the time:

set mouse=a



" Do not redraw, when running macros.. lazyredraw

set lz



" set 7 lines to the curors - when moving vertical..

set so=7



" The commandbar is 2 high

set cmdheight=2



" Change buffer - without saving

set hid



" Ignore case when searching

" set ignorecase

set incsearch



" Set magic on

set magic



" No sound on errors.

set noerrorbells

set novisualbell

set t_vb=



" How many tenths of a second to blink

set mat=4



" Highlight search things

set hlsearch



" Turn backup off

set nobackup

set nowb

set noswapfile

set smartindent

" smart backspace

set backspace=start,indent,eol

set runtimepath^=~/.vim/bundle/ctrlp.vim
set runtimepath^=~/.vim/bundle/zencoding-vim
" switch buffers with Tab

let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:user_zen_expandabbr_key = '<c-m>' "设置为commend+e展开
let g:use_zen_complete_tag = 1
map <C-Tab> :bn<CR>

map <S-Tab> :bp<CR>
" NERDTree

map <F8> :NERDTreeToggle<CR>
autocmd BufNewFile,BufRead *.html.erb set filetype=html.eruby

@alexzhou
@humiaozuzu
我前几天也被ddos攻击,我英文站
把网站做成静态会好点,不过如果是app就没办法了,
2012-10-12 14:49:05 +08:00
回复了 leastchou 创建的主题 随想 关于大家对莫言的诺贝尔奖的偏见
在中国价值判断很简单:敌人支持的就反对。而且这个法则总是应验。因为目前中国最大的矛盾是阶级矛盾,无法阶级和解只能阶级斗争。而且无法和解的原因总是强势阶级不肯让渡一部分权利和利益,你吃肉别人喝汤都不行,别人饿急只能把饭碗都砸了,与汝皆亡。
2012-10-12 14:45:02 +08:00
回复了 leastchou 创建的主题 随想 关于大家对莫言的诺贝尔奖的偏见
2012-10-07 22:17:13 +08:00
回复了 lingyired 创建的主题 问与答 Sublime Text for Linux 的BUG,总会多一个<
报告楼主,我在mac一样有这个问题,不过我装了zencoding,直接title然后tab就行了
2012-09-30 15:00:13 +08:00
回复了 iloveyou 创建的主题 Vim 请问vim如何移动当前行向上或向下?不用选中
@DeepBlue 哈 我就是在st2中使用vim模式,你这个就行了,感谢送到
2012-09-30 14:36:42 +08:00
回复了 iloveyou 创建的主题 Vim 请问vim如何移动当前行向上或向下?不用选中
@NemoAlex 这个我知道,就是嫌麻烦啊

@funagi 这个也太麻烦

我总感觉移动行的操作很常见,应该有快捷键的
2012-09-30 14:35:15 +08:00
回复了 iloveyou 创建的主题 问与答 为什么便宜的空间能抗住ddos攻击,linode的vps却不能
@ninjai 感觉说的有道理
@zava 如果nginx有足够的优势,我不介意多学一种
1 ... 48  49  50  51  52  53  54  55  56  57 ... 80  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5167 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 55ms · UTC 06:36 · PVG 14:36 · LAX 23:36 · JFK 02:36
Developed with CodeLauncher
♥ Do have faith in what you're doing.