- 浏览: 13640046 次
- 性别:
- 来自: 洛杉矶
文章分类
- 全部博客 (1994)
- Php / Pear / Mysql / Node.js (378)
- Javascript /Jquery / Bootstrap / Web (435)
- Phone / IOS / Objective-C / Swift (137)
- Ubuntu / Mac / Github / Aptana / Nginx / Shell / Linux (335)
- Perl / Koha / Ruby / Markdown (8)
- Java / Jsp (12)
- Python 2 / Wxpython (25)
- Codeigniter / CakePHP (32)
- Div / Css / XML / HTML5 (179)
- WP / Joomla! / Magento / Shopify / Drupal / Moodle / Zimbra (275)
- Apache / VPN / Software (31)
- AS3.0/2.0 / Flex / Flash (45)
- Smarty (6)
- SEO (24)
- Google / Facebook / Pinterest / SNS (80)
- Tools (22)
最新评论
-
1455975567:
xuezhongyu01 写道wocan23 写道我想问下那个 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
xuezhongyu01:
wocan23 写道我想问下那个111.1是怎么得来的我也看不 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
18335864773:
试试 pageoffice 在线打开 PDF 文件吧. pag ...
jquery在线预览PDF文件,打开PDF文件 -
青春依旧:
opacity: 0.5; 个人喜欢这种方式!关于其他css特 ...
css透明度的设置 (兼容所有浏览器) -
July01:
推荐用StratoIO打印控件,浏览器和系统的兼容性都很好,而 ...
搞定网页打印自动分页问题
/etc/vim/vimrc
set nocompatible " use vim defaults set backspace=2 "make backspace like most other apps set ls=2 " allways show status line set tabstop=5 " numbers of spaces of tab character set shiftwidth=5 " numbers of spaces to (auto)indent set scrolloff=5 " keep 3 lines when scrolling set showcmd " display incomplete commands set hlsearch " highlight searches set incsearch " do incremental searching set ruler " show the cursor position all the time set visualbell t_vb= " turn off error beep/flash set novisualbell " turn off visual bell set nobackup " do not keep a backup file set number " show line numbers set ignorecase " ignore case when searching "set noignorecase " don't ignore case set title " show title in console title bar set ttyfast " smoother changes "set ttyscroll=0 " turn off scrolling, didn't work well with PuTTY set modeline " last lines in document sets vim mode set modelines=3 " number lines checked for modelines set shortmess=atI " Abbreviate messages set nostartofline " don't jump to first character when paging set whichwrap=b,s,h,l,<,>,[,] " move freely between files "set viminfo='20,<50,s10,h set mouse=a set fileencodings=utf-8,gb2312,gbk,gb18030 set termencoding=utf-8 set encoding=prc colorscheme desert set autoindent " always set autoindenting on set smartindent " smart indent set cindent " cindent "set noautoindent "set nosmartindent "set nocindent "set autowrite " auto saves changes when quitting and swiching buffer "set expandtab " tabs are converted to spaces, use only when required "set sm " show matching braces, somewhat annoying... "set nowrap " don't wrap lines highlight Normal guibg=grey90 highlight Cursor guibg=Green guifg=NONE highlight NonText guibg=grey80 highlight Constant gui=NONE guibg=grey95 highlight Special gui=NONE guibg=grey95 " Color settings for the cursor (different colors for insert mode) " Modified for black "highlight Cursor guifg=white guibg=black "highlight Cursor guifg=red guibg=lightgreen highlight Cursor guifg=white guibg=black highlight iCursor guifg=white guibg=black " Cursor shape (insert => vertical line) set guicursor=n-v-c:block-Cursor "set guicursor+=i:ver30-iCursor " Gui background color " highlight Normal guibg=lightblue " highlight Normal guibg=lightyellow " highlight Normal guibg=#fffddd " highlight Normal guibg=#99cccc " highlight Normal guibg=lightmagenta " highlight Normal guibg=lightgreen " Modified for black highlight Normal guibg=#eeeeee highlight Normal guibg=white guifg=darkblue highlight Normal guibg=black guifg=white highlight Visual guibg=black " highlight Visual guibg=lightmagenta :highlight Normal ctermfg=grey ctermbg=black syntax on " syntax highlighing if has("gui_running") " See ~/.gvimrc set guifont=Monospace\ 10 " use this font set lines=50 " height = 50 lines set columns=100 " width = 100 columns set background=light " adapt colors for background set selectmode=mouse,key,cmd " set keymodel= else " colorscheme elflord " use this color scheme set background=dark " adapt colors for background endif if has("autocmd") " Restore cursor position au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif " Filetypes (au = autocmd) au FileType helpfile set nonumber " no line numbers when viewing help au FileType helpfile nnoremap <buffer><cr> <c-]> " Enter selects subject au FileType helpfile nnoremap <buffer><bs> <c-T> " Backspace to go back " When using mutt, text width=72 au FileType mail,tex set textwidth=72 au FileType cpp,c,java,sh,pl,php,asp set autoindent au FileType cpp,c,java,sh,pl,php,asp set smartindent au FileType cpp,c,java,sh,pl,php,asp set cindent "au BufRead mutt*[0-9] set tw=72 " Automatically chmod +x Shell and Perl scripts "au BufWritePost *.sh !chmod +x % "au BufWritePost *.pl !chmod +x % " File formats au BufNewFile,BufRead *.pls set syntax=dosini au BufNewFile,BufRead modprobe.conf set syntax=modconf endif
others
" use extended function of vim (no compatible with vi) set nocompatible " specify encoding set encoding=euc-jp " specify file encoding set fileencodings=iso-2022-jp,sjis " specify file formats set fileformats=unix,dos " take backup " if not, specify [ set nobackup ] set backup " specify backup directory set backupdir=~/backup " take 50 search histories set history=50 " ignore Case set ignorecase " distinct Capital if you mix it in search words set smartcase " highlights matched words " if not, specify [ set nohlsearch ] set hlsearch " use incremental search " if not, specify [ set noincsearch ] set incsearch " show line number " if not, specify [ set nonumber ] set number " Visualize break ( $ ) or tab ( ^I ) set list " highlights parentheses set showmatch " show color display " if not, specify [ syntax off ] syntax on " change colors for comments if it's set [ syntax on ] highlight Comment ctermfg=LightCyan " wrap lines " if not, specify [ set nowrap ] set wrap
发表评论
-
如何直接在github上预览html网页效果
2016-08-30 02:20 12637在github上托管的项目, 经常会存放一些demo的htm ... -
如何备份及恢复 Linux 文件权限
2016-08-26 02:29 969你可能听说或碰到过这样的事情:一个系统管理员菜鸟不小心输入” ... -
Linux: 近100个常用命令大全
2016-08-17 11:37 18301.ls [选项] [目录名 | 列出相关目录下的所有目录和 ... -
Linux: terminal 终端生存指南
2016-08-17 11:32 3475完全利用Linux终端处理日常工作并非易事,但其可行性却是不 ... -
Linux: 利用 Alpine 在命令行里访问 Gmail
2016-08-17 11:30 1388假如你是一个命令行爱好者,我很确信你会使用这个强大的工作环境 ... -
Linux: chmod 和 chown用法小结
2016-08-16 05:38 885chmod chmod指令是更 ... -
Linux: 系统文件权限总结
2016-08-16 05:39 750在 Linux 中最基本的 ... -
Linux: 系统结构详解
2016-08-16 05:38 823Linux系统一般有4个 ... -
开启Windows或者Mac OSX 本地服务器 (非安装第三方服务器软件)
2016-07-21 01:52 2131因为安全的原因,无法直接在浏览器中打开工程目录下的index ... -
Ubuntu: 安装 Sublime Text 2 或者 3 How to Install Sublime Text 2 or 3 in Ubuntu 15.0
2016-07-20 13:44 1020Sublime Text is a cross- ... -
用Vim编程——配置与技巧
2016-06-25 06:59 2082本文介绍如何用强大的文本编辑器 Vim编程。只要配置得当,效 ... -
无插件Vim编程技巧
2016-06-14 05:42 937相信大家看过《简明Vim教程》也玩了《Vim大冒险》 的游戏 ... -
Vimrc设置教程:A Good Vimrc (英文)
2016-06-14 05:33 1123How To Vimrc There is just o ... -
Linux Shell脚本入门教程系列之(十六) Shell输入输出重定向
2016-06-14 05:21 990本文是Linux Shell系列教程的第(十六)篇,更多 ... -
Linux Shell脚本入门教程系列之(十五) Shell函数简介
2016-06-14 05:19 982本文是Linux Shell脚本系列教程的第(十五)篇, ... -
Linux Shell脚本入门教程系列之(十四) Shell Select教程
2016-06-10 02:28 1062本文是Linux Shell脚本系列教程的第(十四)篇, ... -
Linux Shell脚本入门教程系列之(十三)Shell分支语句case … esac教程
2016-06-10 02:28 1913本文是Linux Shell脚本 ... -
Linux Shell脚本入门教程系列之(十二)Shell until循环
2016-06-10 02:26 1018本文是Linux Shell脚本系列教程的第(十二)篇, ... -
Linux Shell脚本入门教程系列之(十一)Shell while循环
2016-06-10 02:24 1136本文是Linux Shell脚本系列教程的第(十一)篇, ... -
Linux Shell脚本入门教程系列之(十)Shell for循环
2016-06-10 02:22 733本文是Linux Shell脚本系列教程的第(十)篇,更 ...
相关推荐
vim setting in windows
:改善 vim 对 js 的高亮和语法支持。 :直接拷贝的,并修改、添加了对 self 的支持。 :语法检查。 :检查python代码是否符合 pep8规范。 :插件管理。 : indent improved : zen coding in vim, a tutorial is here ...
vim myvimrepo(old vim setting)相关设定说明$\vim\vimrc Your personal vimrc. $\vim\viminfo Dynamic info for 'viminfo'. 记录你编辑过的档案$\vim\vimfiles\ftplugin*.vim 'Filetype plugins 你要加入的套件' $\...
这是我自己一直使用VIM 的一些设置, 仅供参考
7. Setting up connection information |dbext-connect| 7.1 Connection Parameters |dbext-connect-parameters| 7.2 Prompting for Parameters |dbext-connect-prompting| 7.3 Connection profiles |dbext-...
NULL 博文链接:https://anonymousstone.iteye.com/blog/1120809
vim配置相关 .vimrc coc-settings 各种插件
" --fold setting --- set foldmethod=syntax "用语法高亮来定义折叠 set foldlevel=100 "启动vim时不要自动折叠代码 set foldcolumn=5 "设置折叠栏宽度 常用命令: za 打开/关闭在光标下的折叠 zA 循环地打开/关闭...
Monokai 主题从 Textmate 到 Vim。
设置: 在您的主目录中添加文件夹“ vim”,文件夹“ tags”,文件“ vimrc”,文件“ ycm_extra_conf.py”(cd〜) 将名称“ vim”,“标签”,“ vimrc”,“ ycm_extra_conf.py”修改为“ .vim”,“标签”,....
Sublime-Like-Vim 这个存储库使 Sublime-Text-like-Vim 环境...下载此存储库并执行 vim-setting.py。 如果它返回“Completed Sublime-Like-Vim 安装没有错误”。 留言,都搞定了。 您可以在安装后删除下载的文件。
- 在 vscode-vim 插件的 setting.json 中设置 ``` "vim.useSystemClipboard": true, "vim.autoSwitchInputMethod.enable": true, "vim.autoSwitchInputMethod.defaultIM": "1033", "vim....
服务器规范片段 这是vim 片段。 从上 。 要求 安装 文德尔 设置包管理器 为设置包 ... " setting example let g: neosnippet #snippets_directory = [ \' ~/.vim/snippets', \' ~/.vim/bundle/
vimplugin-cli 用于管理vim插件的CLI 支持: 用法: Usage: vimplugin [options] [command] Options: -V, --version output the version number ... customize [plugin] Open/Edit a plugin setting help [cmd
vim有编辑器之神的称谓,本资源就是设置脚本,插件安装管理
BoxSetting:我的编辑器设置-Vim,Tmux和ITERM:confetti_ball::party_popper:
布尔cVimrc设置通过命令'set' + <SETTING>启用,并通过命令'set' + no<SETTING>禁用(例如, set regexp和set noregexp ) 布尔cVimrc设置可以通过添加“!”来求逆。到最后 其他设置使用=定义,用作分隔符,并以let...
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' 设置Python3路径 export PYTHON...
Pycharm使用记录新建文件模板的使用新建测试文件新建Python脚步文件时点击下面的下拉框即可与vim快捷键冲突设置在File->Setting->Vim