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 " ""i inoremap ( ()i " inoremap " explorer nnoremap ff :Exp nnoremap fs :Vexr nnoremap ft :Texplore nnoremap t :tabnew " remove highlight nnoremap l :let @/ = "" " split movement map h map j map k map l " split resizing map + map - map 3> map 3< " fixes map :Q :q map :W :w noremap , $ " open config nnoremap ec :tabedit ~/.config/nvim/init.vim " move selected lines vnoremap :m '>+1gv=gv vnoremap :m '<-2gv=gv " paste and don't yank xnoremap p "_dP " delete to void vnoremap d "_d nnoremap dd "_dd " soround with () vnoremap ( di()hp vnoremap ) di()hp " join without space nnoremap Jx