summary refs log tree commit diff
path: root/configs/.vimrc
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-16 04:22:20 +0100
committerMel <einebeere@gmail.com>2024-11-16 04:22:20 +0100
commit7e6bf85c03fa009a3677e008c0f2a563a28f7983 (patch)
tree75e9de4308547985feec107c591374edde0b0867 /configs/.vimrc
parentb620dbdf8747e888c86e25237fbd736e7f443069 (diff)
downloadnetwork-7e6bf85c03fa009a3677e008c0f2a563a28f7983.tar.zst
network-7e6bf85c03fa009a3677e008c0f2a563a28f7983.zip
Bring in advanced Vim configuration from desktop
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configs/.vimrc')
-rw-r--r--configs/.vimrc21
1 files changed, 18 insertions, 3 deletions
diff --git a/configs/.vimrc b/configs/.vimrc
index 79ae89a..18fa910 100644
--- a/configs/.vimrc
+++ b/configs/.vimrc
@@ -1,3 +1,5 @@
+" COMMON VIM SETTINGS, REV. 2
+
 " NECESSITIES:
 
 " disable vi compatability, if still on for some reason
@@ -22,9 +24,6 @@ set nowrap
 " allow backspace over everything, default is dumb
 set backspace=indent,eol,start
 
-" never hide statusbar
-set laststatus=2
-
 " search settings
 set incsearch
 set hlsearch
@@ -36,12 +35,25 @@ nnoremap <silent> <C-L> :noh<C-R><CR><CR><C-L>
 " open windows below and to the right of current (why is the default opposite lol)
 set splitbelow splitright
 
+" bar settings
+" never hide statusbar
+set laststatus=2
 " show unfinished command in the last line (like 4dd)
 set showcmd
+" enable command tab completion
+set wildmenu
+" expand command line history
+set history=250
 
 " show relative numbers and absolute number for current line
 set number relativenumber
 
+" always show at least 2 more lines below or above cursor
+set scrolloff=2
+
+" don't ask for confirm to update file with outside changes
+set autoread
+
 " COLOR:
 
 " temporary default color scheme
@@ -50,6 +62,9 @@ colorscheme habamax
 " dont change default background color
 highlight Normal ctermbg=NONE
 
+" enable bright colors
+set t_Co=16
+
 " CUSTOMIZATION:
 
 " disable arrow keys, use hjkl instead