my first emacs custom key binding】的更多相关文章

(defun comment-this-level ()  (interactive)  (move-beginning-of-line 1)  (set-mark-command nil)  (forward-sexp nil)  (comment-dwim nil)) (global-set-key (kbd "C-;") 'comment-this-level) ;;I feels good!…
今天学习了一下这个工具.很轻便,很好用的. 无序列表:输入-之后输入空格 有序列表:输入数字+“.”之后输入空格 任务列表:-[空格]空格 文字 标题:ctrl+数字 表格:ctrl+t 生成目录:[TOC]按回车 选中一整行:ctrl+l 选中单词:ctrl+d 选中相同格式的文字:ctrl+e 跳转到文章开头:ctrl+home 跳转到文章结尾:ctrl+end 搜索:ctrl+f 替换:ctrl+h 引用:输入>之后输入空格 代码块:ctrl+alt+f 加粗:ctrl+b 倾斜:ctrl…
前言 typora是一款非常方便的书写markdown文本的编辑器.官网:https://www.typora.io/ 对于字体强迫症患者来说,不把字体改成微软雅黑+Consolas,那是相当难受.本文教大家一个简单粗暴的方法修改typora字体. 本人环境:win10 + typora 0.9.48 对于高手一句话总结,只需修改如下两个文件. C:\Users\sheng7k\AppData\Roaming\Typora\conf\conf.user.json C:\Users\sheng7k…
目录 Typora 配置说明 贴图功能 自定义快捷键 快捷键使用 Linux下安装typora Typora 配置说明 为了更好的使用markdown,解决markdown中不如Word的不便之处,对markdown编辑器Typora进行配置 贴图功能 进入File 进入Preference 找到Images Insert 勾选use relative path if posiible 勾选Allow copy image to given folder 进入edit 进入Image Tools…
让 typora和word一样好用  :https://github.com/itcastWsy/typora_copy_images typora是一款支持实时预览的markdown编辑器,作者在使用过其他几款的编辑器里面,发现typora的确实简单使用,而且功能强大.尤其是经过一些简单设置后,可以做到像word一样简单使用. 即时贴图功能 使用markdown做笔记的人应该知道,很多编辑器是不提供将粘贴图 贴到markdown中的.因为这个体验,所以很多人在处理一些带图片的文档的时候,还是宁…
Typora标题自动编号 提示:要了解将这些CSS片段放在哪里,请参阅添加自定义CSS. 打开Typora偏好设置,打开主题文件夹,在主题文件夹中创建base.user.css文件,放置以下内容,则Typora自带的几个主题都会生效. 文章中的自动编号 此方法自动将编号添加到文章中的所有标题,如下所示: 为此,请将以下内容添加到主题文件夹中的base.user.css或[theme] .user.css中. /** initialize css counter */ #write { count…
/******************************************************************************************************************************************/  原创作品,转载时请务必以超链接形式标明文章原始出处:http://blog.csdn.net/gqb_driver/article/details/29407717,作者:gqb666  /*************…
windows ~/.emacs (when (>= emacs-major-version 24) (require 'package) (add-to-list 'package-archives ;; '("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable '("melpa" . "http://m…
自定义Binding A base class for custom WPF binding markup extensions BindingDecoratorBase Code: public class LookupExtension : BindingDecoratorBase { //A property that can be set in XAML public string LookupKey { get; set; } public override object Provid…
WCF LOB Adapter SDK surfaces an adapter as a custom WCF Binding.  A WCF Bindingcorresponds to the “How” of the WCF Message transfer from one Endpoint to another Endpoint.   It produces a set of binding elements that correspond to particular design se…
开启vi mode后,可以使用很多的VI快捷方式,所以我的sublime已经不是单纯的st了,st的VI模式不完全支持所有的快捷键.我们来看一段官网的key bindings示例: { "keys": ["j", "j"], "command": "exit_insert_mode", "context": [ { "key": "setting.comma…
通过help(sorted)查看sorted的帮助文档,显示如下: Help on built-in function sorted in module builtins: sorted(iterable, /, *, key=None, reverse=False) Return a new list containing all items from the iterable in ascending order. A custom key function can be supplied…
x.sort和sorted函数中参数key的使用 介绍 python中,列表自带了排序函数sort >>> l = [1, 3, 2] >>> l.sort() >>> l [1, 2, 3] 对于其他字典.元组.集合容器,可以使用内置方法sort来做排序,注意返回的结果是列表结构, 字典容器,默认是key进行排序的. >>> # tuple sort >>> t = (1, 3, 2) >>> s…
man tmux可以看到最详细的tmux介绍,本文翻译自tmux手册. tmux全名叫"terminal multiplexer",终端多路复用器. tmux的命令格式为: tmux [-2CluvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]] tmux命令的命令行参数 tmux是一个终端多路复用工具:它可以让用户通过一个屏幕来创建.访问多个终端.tmux可以在终端关…
User manual and reference guide      version 5.41.1 用户手册和参考指南 CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons, auto-completion, or other IDE functio…
Horst Rutter edited this page 7 days ago · 529 revisions Indexes and search engines These sites provide indexes and search engines for Go packages: awesome-go - A community curated list of high-quality resources. Awesome Go @LibHunt - Your go-to Go T…
contentEl 指定一个已存在的HTML元素, 或者一个已存在HTML元素的 id , 它们将被用作当前组件的内容. 此配置选项被用来将一个已存在的HTML元素 插入到一个新组件(在组件渲染之后它简单地移动DOM元素) 的layout元素中, 使它成为该组件的内容. 首先在html文件的body里写一个div块,设置其ID为'contentEl_id': <div id="contentEl_id"> <table border="0">…
Golang优秀开源项目汇总(持续更新...)我把这个汇总放在github上了, 后面更新也会在github上更新. https://github.com/hackstoic/golang-open-source-projects  . 欢迎fork, star , watch, 提issue. 资料参考来源:http://studygolang.com/projects 监控系统 序号 名称 项目地址 简介 1 OpenFalcon http://github.com/open-falcon/…
http://www.gnu.org/software/screen/manual/screen.html Screen User's Manual Next: Overview, Previous: (dir), Up: (dir) Overview: Preliminary information. Getting Started: An introduction to screen. Invoking Screen: Command line options for screen. Cus…
目录 终端复用工具--Tmux 一.为什么要用Tmux? 二.tmux是什么? 三.Tmux基本概念 四.Tmux使用规则 1.安装Tmux 2.基本使用 3.自定义配置文件 五.补充 1.tmux man手册 终端复用工具--Tmux 一.为什么要用Tmux? tmux是linux下的管理窗口的程序,那什么是管理窗口?众所周知,linux系统支持远程终端(terminal)连接,(使用终端通过ssh 命令去远程连接服务器,并执行各种命令),看看一下场景: 我们通过终端连接到远程服务器,去执行t…
Bash Reference Manual a.summary-letter { text-decoration: none } blockquote.indentedblock { margin-right: 0 } blockquote.smallindentedblock { margin-right: 0; font-size: smaller } blockquote.smallquotation { font-size: smaller } div.display { margin-…
Indexes and search engines These sites provide indexes and search engines for Go packages: godoc.org gowalker gosearch Sourcegraph Contributing To edit this page you must be a contributor to the go-wiki project. To get contributor access, send mail t…
//插入到key binding user 里面,浏览器安装路径修改成自己的路径 1[ //firefox测试快捷键 { "keys":["f3"], "command":"side_bar_files_open_with", "args":{ "paths":[], "application":"E:\\DevelopSoftware\\WebDevelo…
Final Version 1.1 Date Issued:            13 March 2012 Latest version:         http://www.imsglobal.org/lti/ IPR and Distribution Notices Recipients of this document are requested to submit, with their comments, notification of any relevant patent c…
[转]linux中强大的screen命令 http://pythonorg.diandian.com/post/2012-01-05/40027464147 今天用SCREEN用点生了,有几个功能不知道怎么用,上网搜了一下,有位哥们写的挺细的,向这哥们致敬,我这里就转走了,备查用.因为还有好几个有用实用好用的功能文章都没有描述到.我将在转载的最后给预补充.以下转载开始 转载地址:http://hi.baidu.com/nkhzj/blog/item/9de2cdfdddf0db42d7887d4…
yasnippet可以把我们常用的代码段或文本储存起来,到使用的时候只需键入几个字母就会自动带出. 比如我们在写python代码时,常常会在文件的第一行写下: #!/usr/bin/env python,经常这么手工键入是不是很没有效率,用yasnippet来帮你! 方法: 一.新建snippet 使用命令 M-x yas-new-snippet 打开一个新buffer,或者直接新建一个文件,输入内容后保存到你指定的位置即可. 用M-x yas-new-snippet 打开的buffer内容默认…
Qt中的每个类,都有一个对应的同名头文件,其中包含其类定义.例如要使用QApplication类,则需要在程序中添加" #include <QApplication>"   QApplication类用于管理应用程序范围内的资源.其构造函数需要main函数的argc和argv作为参数.   widget被创建时都是不可见的(always created hidden).widget中可容纳其它widget.   Qt中的widget在有用户行为或状态改变时会emit sig…
转http://www.open-open.com/lib/view/open1396063913278.html内容目录Astronomy构建工具缓存云计算命令行选项解析器命令行工具压缩配置文件解析器控制台用户界面加密数据处理数据结构数据库和存储开发工具分布式/网格计算文档编辑器Encodings and Character SetsGamesGISGo ImplementationsGraphics and AudioGUIs and Widget ToolkitsHardwareLangu…
Package Control Messages Markdown Preview: Sublime Text 2/3 Markdown Preview ================================= Preview and build your markdown files quickly in your web browser from sublime text 2/3. You can use builtin python-markdown parser or use…
内容目录 Astronomy 构建工具 缓存 云计算 命令行选项解析器 命令行工具 压缩 配置文件解析器 控制台用户界面 加密 数据处理 数据结构 数据库和存储 开发工具 分布式/网格计算 文档 编辑器 Encodings and Character Sets Games GIS Go Implementations Graphics and Audio GUIs and Widget Toolkits Hardware Language and Linguistics 日志 机器学习 Math…