aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/vimrc130
-rw-r--r--home/zshenv1
2 files changed, 0 insertions, 131 deletions
diff --git a/home/vimrc b/home/vimrc
deleted file mode 100644
index 6ec5b1c..0000000
--- a/home/vimrc
+++ /dev/null
@@ -1,130 +0,0 @@
-"
-" vim-plug
-"
-
-call plug#begin('~/.vim/plugged')
-
-Plug 'tpope/vim-sensible'
-Plug 'justinmk/vim-dirvish'
-Plug 'vim-scripts/bufexplorer.zip'
-Plug 'ctrlpvim/ctrlp.vim'
-Plug 'airblade/vim-gitgutter'
-Plug 'vim-airline/vim-airline'
-Plug 'tpope/vim-eunuch'
-Plug 'dense-analysis/ale'
-Plug 'https://gitlab.com/protesilaos/tempus-themes-vim.git'
-
-call plug#end()
-
-"
-" behavior
-"
-
-set nocompatible " use vim, not vi settings
-set wildignore=*.pyc,.git " ignore from autocomplete
-set showcmd " display incomplete commands
-set ignorecase " ignore case in search
-set smartcase " respect case in search if uppercase is used
-set nowrap " do not wrap lines
-set vb t_vb= " no beeping
-
-"
-" formatting
-"
-
-set tabstop=2
-set softtabstop=2
-set shiftwidth=2
-set expandtab
-set shiftround
-set listchars=tab:»·,trail:·
-set list
-
-"
-" filetype-specific
-"
-
-if has("autocmd")
- au!
-
- " plain text
- au FileType text setlocal tw=80
- au FileType markdown setlocal tw=80
-
- " python
- au FileType python setlocal ts=4 sw=4 sts=4
-
- " When editing a file, always jump to the last known cursor position.
- " Don't do it when the position is invalid or when inside an event handler
- au BufReadPost *
- \ if line("'\"") > 0 && line("'\"") <= line("$") |
- \ exe "normal g`\"" |
- \ endif
-endif
-
-"
-" bindings
-"
-
-let mapleader = ","
-
-" convenience
-nnoremap <leader>x :source ~/.vimrc<Enter>
-nnoremap <leader><leader> <c-^>
-nnoremap <c-j> <c-w>j
-nnoremap <c-k> <c-w>k
-nnoremap <c-h> <c-w>h
-nnoremap <c-l> <c-w>l
-
-" dirvish
-nnoremap <leader>e :Dirvish<Enter>
-
-" bufexplore
-nnoremap <leader>fe :BufExplorer<Enter>
-nnoremap <leader>fs :BufExplorerHorizontalSplit<Enter>
-nnoremap <leader>fv :BufExplorerVerticalSplit<Enter>
-
-" ctrlp
-let g:ctrlp_map ='<leader>a'
-
-" ale
-nnoremap <leader>r :ALEDetail<Enter>
-let g:ale_linters_ignore = {'python': ['mypy']} " mypy is too slow and doesn't support dmypy
-
-"
-" visual
-"
-
-set background=light
-silent! colo tempus_totus
-let g:airline_theme='tempus'
-set hlsearch
-syntax enable
-
-" don't mess up gutter highlight with gitgutter
-highlight clear SignColumn
-hi! link SignColumn Background
-
-" Highlight non-ascii characters as the theme highlights errors
-hi clear nonascii
-hi link nonascii Error
-if has("autocmd")
- au BufReadPost * syntax match nonascii /[^\d0-\d127]/
-endif
-
-" highlight trailing space and tab as the theme highlights errors
-hi clear SpecialKey
-hi link SpecialKey Error
-
-let g:airline_powerline_fonts = 1
-let g:airline_left_sep=""
-let g:airline_right_sep = ""
-let g:airline_skip_empty_sections = 1
-
-"
-" local additions
-"
-
-if filereadable($HOME."/.vimrc-local")
- source ~/.vimrc-local
-endif
diff --git a/home/zshenv b/home/zshenv
deleted file mode 100644
index a573065..0000000
--- a/home/zshenv
+++ /dev/null
@@ -1 +0,0 @@
-export ZDOTDIR="${XDG_CONFIG_HOME:-${HOME}/.config}/zsh"