Last active
June 5, 2025 20:08
-
-
Save easymoney322/713b04083e9ceef89f1a1485d7ca828f to your computer and use it in GitHub Desktop.
basic nvim config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set mouse= | |
set autoindent | |
set smartcase | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set laststatus=2 | |
set number | |
set relativenumber | |
set signcolumn=yes | |
highlight LineNr ctermfg=green | |
highlight LineNrAbove ctermfg=blue | |
highlight LineNrBelow ctermfg=blue | |
" set statuscolumn=%@SignCb@%s%=%T%@NumCb@%l│%T | |
" let &stc='%#NonText#%{&nu?v:lnum:""}' . | |
" '%=%{&rnu&&(v:lnum%2)?"\ ".v:relnum:""}' . | |
" '%#LineNr#%{&rnu&&!(v:lnum%2)?"\ ".v:relnum:""}' | |
" The config file is located at: | |
" Unix ~/.config/nvim/init.vim (or init.lua) | |
" Windows ~/AppData/Local/nvim/init.vim (or init.lua) | |
" $XDG_CONFIG_HOME $XDG_CONFIG_HOME/nvim/init.vim (or init.lua) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment