Add some more vimrc comments
This commit is contained in:
18
files/.vimrc
18
files/.vimrc
@@ -26,14 +26,14 @@ hi Normal ctermbg=NONE guibg=NONE
|
|||||||
|
|
||||||
" ============================== General
|
" ============================== General
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
set number
|
set number " show line number
|
||||||
set relativenumber
|
set relativenumber " show relative line number
|
||||||
set cursorline
|
set cursorline " highlight current line
|
||||||
set ruler
|
set ruler " show line and row at bottom right
|
||||||
|
|
||||||
set showmatch " highlights paranthesis
|
set showmatch " highlights paranthesis
|
||||||
set hidden " allow moving to a new buffer without saving
|
set hidden " allow moving to a new buffer without saving
|
||||||
set mat=5
|
set mat=5 " idk
|
||||||
set colorcolumn=1337
|
set colorcolumn=1337
|
||||||
set noswapfile " can be problematic on some systems
|
set noswapfile " can be problematic on some systems
|
||||||
set confirm " can't quit without saving
|
set confirm " can't quit without saving
|
||||||
@@ -42,13 +42,13 @@ set noshowcmd " don't show command in status
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set mouse=a " a=on, c=off
|
set mouse=a " a=on, c=off
|
||||||
set undolevels=1337
|
set undolevels=1337
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start " openbsd doesnt let me delete stuff
|
||||||
set wildmenu " autocomplete :e
|
set wildmenu " autocomplete :e
|
||||||
set scrolloff=5 " min lines above or below the cursor
|
set scrolloff=5 " min lines above or below the cursor
|
||||||
|
|
||||||
" ============================== Statusline
|
" ============================== Statusline
|
||||||
set laststatus=0
|
set laststatus=0 " i dont need a statusline
|
||||||
set showtabline=0
|
set showtabline=0 " i dont need tabs
|
||||||
|
|
||||||
"============================== Indents and Whitespaces
|
"============================== Indents and Whitespaces
|
||||||
set list
|
set list
|
||||||
@@ -72,7 +72,7 @@ let &t_SR = "\<Esc>[4 q"
|
|||||||
let &t_EI = "\<Esc>[2 q"
|
let &t_EI = "\<Esc>[2 q"
|
||||||
|
|
||||||
" ============================== netrw
|
" ============================== netrw
|
||||||
let g:netrw_winsize = 25
|
let g:netrw_winsize = 25 " width
|
||||||
let g:netrw_liststyle = 3 " Tree-like structure
|
let g:netrw_liststyle = 3 " Tree-like structure
|
||||||
let g:netrw_banner = 0 " Remove useless banner at the top of netrw
|
let g:netrw_banner = 0 " Remove useless banner at the top of netrw
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user