vim-stuff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vim-stuff [2019/10/06 17:51] – [.vimrc] baumivim-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:
 +
 +<code>
 +$ vim -o file1 file2    # horizontal split
 +$ vim -O file1 file2    # vertical split
 +</code>
 ===== Tabs ===== ===== Tabs =====
 <code> <code>
Line 42: Line 48:
 set listchars=tab:>- set listchars=tab:>-
 </file> </file>
 +===== Modelines =====
 +==== python ====
 +<code python>
 +# vim:ft=python:ts=4:sts=4:sw=4:et:fileencoding=utf8
 +</code>
  
 {{tag>kb vim}} {{tag>kb vim}}
  
  
vim-stuff.1570377112.txt.gz · Last modified: 2019/10/06 17:51 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki