aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files/vimrc
diff options
context:
space:
mode:
authorTimo Wilken2024-03-09 14:52:56 +0100
committerTimo Wilken2024-03-10 16:19:00 +0100
commitde20fc8d904643ffe6957febfc6a24e57c12b512 (patch)
tree8177459e40786bd432a37c5833f26350fb689356 /tw/home/files/vimrc
parentda5e9d5ee98dfc216eb7e3b1559c09f4bf868bf6 (diff)
Separate home service into PIM, dev env and graphical parts
This means we only instantiate Shepherd and mcron services if we really need them, to avoid annoyance on servers.
Diffstat (limited to 'tw/home/files/vimrc')
-rw-r--r--tw/home/files/vimrc60
1 files changed, 0 insertions, 60 deletions
diff --git a/tw/home/files/vimrc b/tw/home/files/vimrc
deleted file mode 100644
index 9c48346f..00000000
--- a/tw/home/files/vimrc
+++ /dev/null
@@ -1,60 +0,0 @@
-let mapleader = "\<SPACE>"
-let maplocalleader = "\\"
-
-set showcmd " show command as they are typed
-set showmatch " show matching brackets, briefly jump to matching one
-set matchtime=0 " tenths of a sec to jump to matching brackets
-set showmode " show NORMAL/INSERT/VISUAL indicator
-set ruler " show cursor position
-set number " show line numbers
-set cursorline " highlight current line
-set modeline " check for modelines
-set hlsearch " highlight search results
-set ignorecase " case-insensitive searching
-set smartcase " ...unless query has capital letters
-set incsearch " incremental search
-set gdefault " :s/search/replace/ has g by default
-set magic " use extended regexes
-set wildmenu " autocomplete :commands
-set nolazyredraw " redraw during macro execution etc.
-set foldlevelstart=10 " open most folds by default
-set foldmethod=syntax " (or marker, manual, expr, syntax, diff)
-set noequalalways " don't resize all windows when closing/opening another
-set eadirection=both " 'equalalways' applies horizontally and vertically
-
-set expandtab " tabs are actually spaces
-set tabstop=4 " tab width
-set softtabstop=4 " when reading a '\t', it will be this wide
-set shiftwidth=4 " autoindent tab width
-set list " show whitespace with characters in 'listchars'
-" possible chars: eol, tab, space, trail, extends, precedes, conceal, nbsp
-set listchars=tab:>\ ,trail:_ " highlight tabs and trailing spaces specially
-set showbreak=>\ " character to show at start of wrapped lines
-set nojoinspaces " don't add two spaces after [.!?]
-
-set scrolloff=5 " always show these many lines around the current one
-set sidescrolloff=15 " always show these many columns around the current one
-set colorcolumn=80 " highlight 80th column
-set textwidth=79 " break long lines on whitespace when inserted
-set linebreak " wrap by words (affects display only)
-set breakindent " wrapped lines have same virtual indent as first line
-set formatoptions=tcqn2 " preserve textwidth, comments, allow gq, numbered
- " lists, second line indent
-
-set mouse=a " use mouse in terminal; press shift to disable temporarily
-set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50
- \,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor
- \,sm:block-blinkwait175-blinkoff150-blinkon175
-
-" Fix colours in kitty -- see :help xterm-true-color.
-set termguicolors
-let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
-let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
-
-" Enable auto-highlighting and auto-detection of file types and indentation rules.
-filetype on
-filetype plugin on
-filetype indent on
-syntax on
-
-source ~/.vim/catppuccin.vim