All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
53 lines
968 B
VimL
53 lines
968 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
|
|
"let g:gruvbox_contrast_dark = 'hard'
|
|
"colorscheme gruvbox
|
|
colorscheme challenger_deep
|
|
"colorscheme dogrun |