From 5ec126e4dd3f691ff3066d328d73010b7eca3788 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Fri, 17 Apr 2026 00:35:32 +0200 Subject: update .vimrc --- cfg/.vimrc | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/cfg/.vimrc b/cfg/.vimrc index 02396c5..b30e319 100644 --- a/cfg/.vimrc +++ b/cfg/.vimrc @@ -12,42 +12,49 @@ " ------------------------------------------- " -------- 'a --------- -let g:editorconfig = 0 +" file settings filetype plugin on -" tabs are either 4 or nada filetype indent off +set encoding=utf-8 +set fileencoding=utf-8 +set fileformat=unix +" config stuff +let g:editorconfig = 0 +set exrc secure +" tab sets set tabstop=4 set shiftwidth=4 set expandtab -set exrc secure -set virtualedit=block " layout-ish stuff set splitright splitbelow nnoremap n :vnew -" c-o-l-o-r-s-! -syntax on -" useful (i dont even use this anymore) +" more commodities set +set virtualedit=block set backspace=indent,eol,start +" i dont really do C-S anymore +" but it's here as a fallback +" in case my muscle memory gets +" un-vimmed from idk an incident xd nnoremap :w inoremap :wa +" because fuck C-\ C-n +" i use :term too much lol tnoremap +syntax on + " -------- 'b --------- " i set this while crying because vim on windows sucks so much " kinda useless though nvim suxx so this is still useful " relative line numbers for life set nu rnu cursorline -" i forgor -set encoding=utf-8 -set fileencoding=utf-8 -set fileformat=unix -" disable mouse because who fucking needs that shit +" disable mouse because who fucking needs that shit HAH set mouse= " for firenvim -set guifont=Comic\ Mono:h12 +set guifont=Iosevka:h12 :command! Nobg hi Normal guibg=NONE ctermbg=NONE +" leader let mapleader = "," - " -------- 'c --------- command! Src source ~/.vimrc command! Vimrc edit ~/.vimrc @@ -362,3 +369,4 @@ vim.keymap.set("n", "n", function() toggle = not toggle end, { silent = true }) EOF + -- cgit v1.3.1