newdevs:landscape:tools:vim
New Developers Working Group
Vim Text Editor
The vim text editor is built into the bash console (similar to notepad in Windows).
vim
–> opens vim text editor in command modevim (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 modeesc
–> 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'
newdevs/landscape/tools/vim.txt · Last modified: 2024/08/27 21:41 by sleary