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:52] – [.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 45: | Line 51: | ||
| ==== python ==== | ==== python ==== | ||
| <code python> | <code python> | ||
| - | # vim: tabstop=4 shiftwidth=4 softtabstop=4 expandtab | + | # vim:ft=python: |
| </ | </ | ||
vim-stuff.1570377172.txt.gz · Last modified: by baumi
