This commit is contained in:
53
files/.vimrc
Normal file
53
files/.vimrc
Normal file
@@ -0,0 +1,53 @@
|
||||
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
|
||||
Reference in New Issue
Block a user