You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You have to tell vim how it should save the file. On most systems it is set to "auto" letting vim decide the saving strategy. Sometimes it writes directly to the file, sometimes it renames the old file and write a new one. The latter one causes watching problems.
To change two vertically split windows to horizonally split
^Wt^WK
Horizontally to vertically:
^Wt^WH
where ^W means "hit Ctrl-W".
Explanations:
^Wt makes the first (topleft) window current
^WK moves the current window to full-width at the very top
^WH moves the current window to full-height at far left
see
:help window-move-cursor
:help window-moving
Reload current file config (.vimrc)
:so %
Setup tab in .vimrc
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
Ctrl+] - go to definition
Ctrl+T - Jump back from the definition.
Ctrl+W Ctrl+] - Open the definition in a horizontal split