** New Developers Working Group** ====== Vim Text Editor ====== The vim text editor is built into the [[newdevs:landscape:tools:bash|bash console]] (similar to notepad in Windows). * ''vim'' --> opens vim text editor in command mode * ''vim (filename)'' --> opens file in vim text editor Vim opens in command mode, which allows a variety of functions, but does not allow direct editing. * ''i'' --> puts you into edit mode * ''esc'' --> puts you back into command mode from edit mode * '':q'' --> takes you out of vim * '':w'' --> saves your work * '':wq'' --> saves & closes * '':set number'' --> turns on line numbers * ''?abc'' --> searches for occurrences of 'abc'