vim-stuff
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vim-stuff [2019/10/06 17:51] – [.vimrc] baumi | vim-stuff [2021/09/17 08:55] (current) – baumi | ||
---|---|---|---|
Line 6: | Line 6: | ||
CTRL-W <arrow left / arrow right> switch window | CTRL-W <arrow left / arrow right> switch window | ||
+ | Open files in windows: | ||
+ | |||
+ | < | ||
+ | $ vim -o file1 file2 # horizontal split | ||
+ | $ vim -O file1 file2 # vertical split | ||
+ | </ | ||
===== Tabs ===== | ===== Tabs ===== | ||
< | < | ||
Line 42: | Line 48: | ||
set listchars=tab:> | set listchars=tab:> | ||
</ | </ | ||
+ | ===== Modelines ===== | ||
+ | ==== python ==== | ||
+ | <code python> | ||
+ | # vim: | ||
+ | </ | ||
{{tag>kb vim}} | {{tag>kb vim}} | ||
vim-stuff.1570377112.txt.gz · Last modified: 2019/10/06 17:51 by baumi