Files
ansible-repo/files/.vimrc
hogweed1 bc70cea468
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
well,
2026-11-10 02:11:32 +10:00

50 lines
889 B
VimL

set nocompatible
set path+=**
set wildmenu
set expandtab
set shiftwidth=4
set hlsearch
set nu
set rnu
"Map <leader> key to comma
let mapleader = ','
"map F3 to toggle line-numbers
nmap <F3> :set nu! <CR>
""map <leader>F3 to toggle line-numbers
nmap <leader><F3> :set rnu! <CR>
nmap <F4> :set rnu! <CR>
"map F3 to toggle line-numbers in INSET mode
imap <F3> <ESC> :set nu! <CR>i
""map <leader>F4 to toggle line-numbers in INSERT
imap <F4> <ESC> :set rnu! <CR>i
set t_Co=256
" Enable filetype detection, plugins, and custom indentation
filetype plugin indent on
" Turn on syntax highlighting
syntax enable
" --- New Color Scheme Settings ---
" Enable 24-bit True Color (crucial for modern color schemes)
"if (has("termguicolors"))
" set termguicolors
"endif
" Set the background style (dark or light)
set background=dark
" Load the cloned theme
colorscheme challenger_deep