The vim-notes plug-in for the [Vim text editor]vimmakes it easy to manage your notes in Vim: Starting a new note:Execute the:Notecommand to create a new buffer and load the appropriate file type and syntax You can also start a note with Vim commands like:edit,:tabeditand:splitby sta...
Macnote.vim是一个 vim 小插件,用于方便自己做笔记管理以及 blog 编写等工作,它使用了 applescript 支持 Chrome 同步预览,所以叫 Macnote。 起因 原来一直使用一个叫做vim-notes的插件, 这个插件功能很多,但是对我来说有些问题: 它自己有一套语法,但是我更青睐于使用 Markdown 来写,因为比较通用,另外也方便发布...
Navigating within notes:The vim-notes syntax uses atx-style headers just likeMarkdown(one to six#marks at the start of the line) and supports text folding based on these headers. This allows easy navigation within notes that contain large (and possibly nested) sections of text separated by he...
dd - 会把删除的整行放在Vim寄存器里,p则会把它放在光标的下一行 rx - 把光标下的字符replace成x c[motion] - change,差不多是d[motion] + {insert}的组合 <C-g> show your location in a file and the file status. G - go to a line in the file gg - go to the first line in the file...
*NIX工具使用(1) Vim notes ///很简单的一些基本功能 滚屏 CTRL-U 使文本向下滚动半屏。 CTRL-D 使文本向下滚动半屏。 CTRL-F 使文本向前滚动一整屏。(实际上是整屏去两行) CTRL-B 使文本向后滚动一整屏。 CTRL-E 使文本向上滚动一行。 CTRL-F 使文本向下滚动一行。(如果在使用windows兼容的映射键,它...
Notes on Vim 整理了一下Vim方面的笔记,在某些方面填补了国内空白——就是有关tab和space的说明(背景音:脸皮好厚,大家扔西红柿)。 1,打开水平滚动条 a,set guioptions+=b #(bottom scrollbar) b,set nowrap 2,滚屏 a,一行[向下:ctrl+e, 向上:ctrl+y(Win32+p)]...
log #显示 notes.log 文件的开头 5 行,请输入以下命令: head -n 5 runoob_notes.log #显示文件前 20 个字节: head -c 20 runoob_notes.log cat cat(英文全拼:concatenate)命令用于连接文件并打印到标准输出设备上。 # 使用权限: 所有使用者 # 语法格式: cat [-AbeEnstTuv] [--help] [--version]...
Vim Notes Management 查找 Vim有着强大的查找、搜索功能,所以对于纯文本的Markdown来说,完全可以拿过来用。这里就不多啰嗦了,比如:vimgrep ,ggreer/the_silver_searcher等。 结语 折腾下来,Vim下编辑Markdown笔记完全是没有任何问题的,特别是语法高亮和Conceal特性,可以尽可能地减小Markdown与生俱来的割裂感。
使用Vim 中的 snippet 使得书写 LaTeX 不再那么头疼,反而成为一种享受。与实时拼写检查结合之后,记数学笔记变得非常舒服。后续博文将讨论数字绘图及将图嵌入 LaTex 文本等内容。虽然前期学习成本会有一些,但熟悉后板书推导就能飞一般地记载。 原文链接:https://castel.dev/post/lecture-notes-1/...
列出/notes/cloud/ 目录下所有以 .txt 结尾的文件 ls /notes/cloud/*.txt 注: 通配符:使用特殊符号 *、? 表示不确定的名称 表示当前目录 —— . 表示当前目录 —— .. 5、复制 cp 被复制的文档A 目标文档B cp -rp 被复制的目录及文档... 目标文件夹 6、删除 rmdir 目录名(删除目录) rm 文件名(删...