enter :version
enter :echo $VIM
enter :echo $HOME
- Put the cursor on foo.
- Press * to search for the next occurrence.
- Type ciw (change inner word) then bar then press Escape.
- Press n (move to next occurrence) then . (repeat change).
- Repeat last step.
* -> ciw -> n -> .
find->replace->next occurance -> repeat action
- press
ESC
- press
ctr+v
(visual block mode) - up/down arrow to select lines
shit+i
- insert
#
- press
ESC
ESC
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
:%s/\<foo\>/bar/gc
//settings
{
"ignored_packages":[],
"vintage_ctrl_keys": true
}
//key-binds
{
"keys": ["command+c"], "command": "exit_insert_mode",
"context":[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }]
}
//settings
"vim.insertModeKeyBindings": [{
"before":["j","j"],
"after":["<Esc>","l"]
}].