💾 Archived View for gemini.ctrl-c.club › ~de_alchmst › data › init.vim.txt captured on 2024-08-18 at 19:43:30.
-=-=-=-=-=-=-
set number set tabstop=3 set shiftwidth=3 set expandtab set nowrap set autoindent set timeoutlen=370 set mouse=a set ignorecase set smartcase syntax on autocmd FileType forth set tabstop=2 shiftwidth=2 autocmd BufNewFile,BufRead *.html.template setfiletype html autocmd BufNewFile,BufRead *.gmi.template setfiletype gemtext set colorcolumn=80 set termguicolors set guicursor=i:block colorscheme evening " leader let mapleader = " " " complete inoremap " ""<Esc>i inoremap ( ()<Esc>i " inoremap <TAB> <C-P> " explorer nnoremap ff :Exp<cr> nnoremap fs :Vex<cr><C-w>r nnoremap ft :Texplore<cr> nnoremap <leader>t :tabnew<cr> " remove highlight nnoremap <leader>l :let @/ = ""<cr> " split movement map <C-h> <C-w>h map <C-j> <C-w>j map <C-k> <C-w>k map <C-l> <C-w>l " split resizing map <C-UP> <C-w>+ map <C-DOWN> <C-w>- map <C-RIGHT> 3<C-w>> map <C-LEFT> 3<C-w>< " fixes map :Q :q map :W :w noremap , $ " open config nnoremap <leader>ec :tabedit ~/.config/nvim/init.vim<cr> " move selected lines vnoremap <C-j> :m '>+1<cr>gv=gv vnoremap <C-k> :m '<-2<cr>gv=gv " paste and don't yank xnoremap <leader>p "_dP " delete to void vnoremap <leader>d "_d nnoremap <leader>dd "_dd " soround with () vnoremap ( di()<Esc>hp vnoremap ) di()<Esc>hp " join without space nnoremap <S-x> Jx