Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
home_server:home_server_setup:other_services:vim [2023-08-26 Sat wk34 11:55] – [Requires More Research] baumkp | home_server:home_server_setup:other_services:vim [2024-03-24 Sun wk12 11:04] – [VIM Customisation] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
=====VIM Customisation===== | =====VIM Customisation===== | ||
+ | ++++~/ | ||
+ | <code bash>: | ||
+ | :set nocompatible | ||
+ | syntax on | ||
+ | :set number relativenumber | ||
+ | set autoindent expandtab tabstop=2 shiftwidth=2 | ||
+ | filetype plugin on | ||
+ | filetype indent on | ||
+ | set cursorline | ||
+ | set cursorcolumn | ||
+ | set shiftwidth=2 | ||
+ | set tabstop=2 | ||
+ | set expandtab</ | ||
+ | ++++ | ||
====vim color scheme==== | ====vim color scheme==== | ||
I use the VI (or VIM) editor. It comes standard on most Linux and UNIX distributions, | I use the VI (or VIM) editor. It comes standard on most Linux and UNIX distributions, | ||
Line 67: | Line 80: | ||
| Ctrl + o | Move backward through the jump history | | Ctrl + o | Move backward through the jump history | ||
| Ctrl + i | Move forward through the jump history | | Ctrl + i | Move forward through the jump history | ||
+ | | gg | Move to top of file | | ||
+ | | Shift + g | move to end of file | | ||
| w | Move to next word | | | w | Move to next word | | ||
| W | Move to next blank delimited word | | | W | Move to next blank delimited word | | ||
Line 357: | Line 372: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
+ | *[[https:// | ||
====Requires More Research==== | ====Requires More Research==== | ||
Line 368: | Line 383: | ||
*[[https:// | *[[https:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[https:// | *[[https:// | ||
- | *[[https:// | + | *[[https:// |
---- | ---- |