From 709ea9556fbba9a02a490a468e665cd8c93c19dd Mon Sep 17 00:00:00 2001 From: ueli Date: Tue, 28 Feb 2023 18:34:19 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.vimrc=E2=80=9C=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vimrc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..c6471af --- /dev/null +++ b/.vimrc @@ -0,0 +1,39 @@ +colorscheme default +set background=dark + +" use spaces rather then tabs, with a width of 2 +set tabstop=2 +set shiftwidth=2 +set expandtab + +" Auto indent after a { +set autoindent +set smartindent + +" Linewidth to endless +set textwidth=0 + +set ignorecase " caseinsensitive searches- +set showmode " always show command or insert mode- +set ruler " show line and column information- +set showmatch " show matching brackets +set formatoptions=tcqor +set whichwrap=b,s,<,>,[,] " cursors will now wrap + +" {{{ tabbing config + +" ctrl-w+n creates a new split, so I've mapped ctrl-w+t+n to create a new tab, and ctrl-w+t+t to move to the next tab +noremap tn :tabnew +noremap tt :tabnext + +" very few schemes have tab highlighting in yet, so lets set this outselves... +hi TabLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white +hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white +hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue + +" always show the tabline... +set showtabline=2 + +" }}} tabbing config + +syntax on