vico是一个模式编辑器,意味着没用过vi之类编辑器的童鞋用起来肯定觉得很不习惯。

模式切换

i:切至编辑模式,在光标前插入

a:切至编辑模式,在在光标后插入

I:类似于i,不过在行首插入

esc键:返回普通模式

o:在当前行下方新插入一行,并切至编辑模式

O:在当前行上方新插入一行,并切至编辑模式

移动命令

hjkl键:左下上右键

w:移动到下一个word开始处

W:移动到下一个非word开始处

b:移动到前一个word

B:移动到前一个非word

e:移动到下一个word结尾处

E:

3w:移动下3个word开始处

H,M,L:移动到屏幕的上方,中间和最下方

{,}:按块上下移动

gg:移动到开头

G:移动到结尾

ctrl-o,ctrl-i:返回上一个位置,前进到下一个位置

ctrl-f,ctrl-b:page down,page up

ctrl-d,ctrl-u:page down half,page up half

搜索

/,?:正向,反向查找

n,N:下一个匹配,上一个匹配

删除

x:删除当前字符,10x删除当前10个字符

X:删除字符到行尾

操作命令

. : 重复上一个操作

shfit-> ,shift-<:当前行向右移动,向左移动

=+上下左右:缩进选中行

Ex指令

:! — filter lines through shell command

:b[uffer] — switch current view to another document

:bd[elete] — close the current document, opens an untitled file if last document closed

:cd — change current working directory

:close — close the current view

:copy address — copy the affected line range to the target line address

:delete — delete affected line range, or current line by default

:edit — edit a new file

:eval — evaluate the affected lines (or the current line) as a Nu expression

:export var=[value] — export an environment variable

:move address — move the affected line range to the target line address

:new — edit a new file in a new horizontal split

:pwd — show the current working directory

:quit — close the current document, closes the window if last document closed

:s /RE/replacement/[g] — replace lines matching RE with replacement

:sbuffer — split view horizontally and edit another open document

:set option[=value] — set an option

:setfiletype — change the language syntax of the document

:split [filename] — split the current view horizontally, and optionally edit another file

:t address — alias for :copy

:tabedit — edit another file in a new tab

:tabnew — edit a new file in a new tab

:tbuffer — switch to a tab showing , or open a new tab

:vbuffer — split view vertically and edit another open document

:vnew — edit a new file in a new vertical split

:vsplit [filename] — split the current view vertically, and optionally edit another file

:w[rite] [new filename] — save the document, optionally with a new name

:wq — write the document and close it

:x[it] — write the document and close it

文件管理器

⌘E:打开文件管理器

符号列表

⌘Y:打开符号列表

To jump to a symbol, select the symbol and press enter, s, v or o to open it in a tab,

a split view, a vertical split, or replace the current document, respectively.

Here is a list of all key mappings in the symbol list:



h — move up the tree hierarchy, closing documents

l — move down the tree hierarchy, opening documents

j — move down

k — move up

<ctrl-b> — scroll up one screen

<ctrl-f> — scroll down one screen

<ctrl-e> — scroll down one line

<ctrl-y> — scroll up one line

G — move to the last line (or a specific line with a count)

gg — move to the first line (or a specific line with a count)

H — move to top line ("High")

M — move to middle line

L — move to bottom line ("Low")

/ — search

<esc> — cancel and go back

<ctrl-c> — cancel and go back, or reset the search filter

o — open the selected symbol in the current view

s — open the selected symbol in a split view

v — open the selected symbol in a vertical split view

t — open the selected symbol in a tab

操作分割视图

Vico can show the same or different documents side by side in split views. Views can be split either horizontally or vertically. There is no limit on the number of splits you can create, but more
than a couple in the same tab tends to be hard to manage.



Most keys that manages split views begin with <ctrl-w>. To split the current view, use the <ctrl-w>s command, ie first press <ctrl-w> and then press the s key. If you use v instead, you get a vertical split.



If you want to move a split view to a new tab, use <ctrl-w>T.



To navigate between split views, use <ctrl-w> followed by a vi motion key (hjkl) or one of the arrow keys. The <ctrl-w>w command moves to the next split view. The <ctrl-w>W moves to the previous split view. Use <ctrl-w>p to toggle between the last focused split
view.

vicoapp使用备忘的更多相关文章

  1. GIS部分理论知识备忘随笔

    文章版权由作者李晓晖和博客园共有,若转载请于明显处标明出处:http://www.cnblogs.com/naaoveGIS/ 1.高斯克吕格投影带换算 某坐标的经度为112度,其投影的6度带和3度带 ...

  2. python序列,字典备忘

    初识python备忘: 序列:列表,字符串,元组len(d),d[id],del d[id],data in d函数:cmp(x,y),len(seq),list(seq)根据字符串创建列表,max( ...

  3. Vi命令备忘

    备忘 Ctrl+u:向文件首翻半屏: Ctrl+d:向文件尾翻半屏: Ctrl+f:向文件尾翻一屏: Ctrl+b:向文件首翻一屏: Esc:从编辑模式切换到命令模式: ZZ:命令模式下保存当前文件所 ...

  4. ExtJs4常用配置方法备忘

    viewport布局常用属性 new Ext.Viewport({ layout: "border", renderTo: Ext.getBody(), defaults: { b ...

  5. [备忘] Automatically reset Windows Update components

    这两天遇到Windows 10的更新问题,官方有一个小工具,可以用来修复Windows Update的问题,备忘如下 https://support.microsoft.com/en-us/kb/97 ...

  6. ECMAScript 5(ES5)中bind方法简介备忘

    一直以来对和this有关的东西模糊不清,譬如call.apply等等.这次看到一个和bind有关的笔试题,故记此文以备忘. bind和call以及apply一样,都是可以改变上下文的this指向的.不 ...

  7. MFC通过txt查找文件并进行复制-备忘

    MFC基于对话框的Demo txt中每行一个23位的卡号. 文件夹中包含以卡号命名的图像文件.(fpt或者bmp文件) 要求遍历文件夹,找到txt中卡号所对应的图像文件,并复制出来. VC6.0写的. ...

  8. php 相关模块备忘

    在安装php的时候,不管是编译安装: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc -- ...

  9. 『备忘』HttpWebRequest 在 POST 提交时, 标头(Headers)丢失原因

    近来研究 HttpWebRequest —— 辅助类完成时,POST JSON数据 总会 丢失标头(Headers). HttpWebRequest POST JSON数据,分如下几步: > 将 ...

随机推荐

  1. 15 ActionBar 总结

    ActionBar 一, 说明 是一个动作栏 是窗口特性 提供给用户动作 导航模式 可以适配不同的屏幕 二, ActionBar 提供的功能 1. 显示菜单项 always:总是展示到ActionBa ...

  2. javascript之页面打印

    WebBrowser组件是IE内置的浏览器控件,使用时,首先要在<body>标签的下面用<object>...</object>标记声明WebBrowser组件,代 ...

  3. Android Demo---如何敲出圆角的Button+圆角头像

    经常玩儿App的小伙伴都知道,APP上面有很多按钮都是圆角的,圆形给人感觉饱满,富有张力,不知道设计圆角按钮的小伙伴是不是和小编有着相同的想法`(*∩_∩*)′,听小编公司开发IOS的小伙伴说,他们里 ...

  4. 贪婪算法(Greedy algorithm)-算法学习之旅(一)

    我研一下学期选修了网络管理,因为是限选课所以我没有认真上课,今天因为快结课考试了,我才去,然后我发现了一个大秘密...... 原来老师从第三节课已经开始讲算法导论的知识了,我是不是错过了什么... 废 ...

  5. JAVA之旅(三十一)——JAVA的图形化界面,GUI布局,Frame,GUI事件监听机制,Action事件,鼠标事件

    JAVA之旅(三十一)--JAVA的图形化界面,GUI布局,Frame,GUI事件监听机制,Action事件,鼠标事件 有段时间没有更新JAVA了,我们今天来说一下JAVA中的图形化界面,也就是GUI ...

  6. Android的自动完成文本框-android学习之旅(二十六)

    AutoComplicatedTextView简介 AutoComplicatedTextView是从EditText派生出来的,可以使用EditText的所有的属性.当用户输入一定的内容后,会有提示 ...

  7. BFS与DFS总结

    最近一直在看DFS和BFS,感觉要晕的GJ. DFS思想: 一直往深处走,直到找到解或者走不下去为止 DFS框架: DFS(dep,-)  //dep代表目前DFS的深度 {       if (找到 ...

  8. 就这么 来ADO.net类操作数据库

    使用ADO.net操作数据库其实也是很简单,而且使用频率蛮高的一种方式.话不多说,上代码才更容易理解. 首先,先要引入数据库操作相关的命名空间,这样才能使用下面的代码 //数据库连接引用的命名空间 u ...

  9. 修改GDAL库支持RPC像方改正模型

    最近在做基于RPC的像方改正模型,方便对数据进行测试,修改了GDAL库中的RPC纠正模型,使之可以支持RPC像方改正参数. 下面是RPC模型的公式,rn,cn为归一化之后的图像行列号坐标,PLH为归一 ...

  10. Linux C 下的大文件操作

    这里说的大文件指大小超过4G的文件. 在32位环境下,linux默认打开.读.写超过4G的文件会返回错误.定义如下宏可以突破这个限制,对read/write和fread/fwrite同时有效. 注意它 ...