diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-04-01 21:07:58 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-04-01 21:07:58 +0100 |
| commit | d3fdd29ced3c8ae6928c8af8e3671354868806ac (patch) | |
| tree | 248f0468efba88c20037939f12c10c9975db6361 /etc | |
| parent | 7dc6f2816176a7bf0a3ddb6b5b3cd461f940a5b0 (diff) | |
Added my global vi.exrc
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/vi.exrc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/etc/vi.exrc b/etc/vi.exrc new file mode 100644 index 0000000..c89498d --- /dev/null +++ b/etc/vi.exrc @@ -0,0 +1,39 @@ +" Display & Feedback + +" Briefly jump to matching bracket +set showmatch +" Show cursor position (line, column) +set ruler +" Show filename in status line +set showfilename +" Show current mode (INSERT/COMMAND) +set showmode +" Flash screen instead of beeping +set flash + +" Indentation & Formatting + +" Enable auto-indent +set autoindent +" Set left to right ( nowrap ) +set leftright + +" Search + +" Case-insensitive search +set ignorecase +" Smart case (respect uppercase) +set iclower +" Incremental search +set searchincr +" Searches wrap around file +set wrapscan + +" Command Line (Tab completion & history editing) + +" Press Tab on : command-line to edit history +set cedit=\ +" Press Tab to autocomplete filenames +set filec=\ + + |
