summaryrefslogtreecommitdiffstats
path: root/vim/min-vim
blob: 8fd1d671b0ad58b915444f68ec480b51c7f337fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
filetype plugin on
filetype plugin indent on

"source ~/.vim/grep.vim

let maplocalleader = "\\"
let mapleader = ","

syntax on
set autoread
set foldmethod=manual
set autowrite
set backspace=indent,eol,start
"set colorcolumn=80
"set cursorline
set completeopt=menuone,longest
set display=truncate
set equalalways
set fileformat=unix
set grepprg=git\ grep\ -n\ $*
set hidden
set history=1000
set ignorecase
set incsearch
set infercase
set laststatus=2
"set list
set listchars=nbsp:%,tab:▸\ ,trail:_,eol:¬,precedes:←,extends:→
set matchtime=8
set nobackup
set nocompatible
set nohlsearch
set nojoinspaces
set nomodeline
set noshelltemp
set noswapfile
set noundofile
set nowritebackup
set path+=**
set report=0
set ruler
set scrolloff=5
set shell=bash
set shortmess+=c
set showcmd
set showmatch
set showmode
set signcolumn=number
set splitright
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
set ttimeout
set ttimeoutlen=100
"set viminfo=
set wildmenu
set wildoptions=pum
set wildmode=full
set wildignore=**/__pycache*/**
set wrap
packadd! matchit

nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $HOME/.vim/vimrc<cr>

command! W w

call plug#begin()
Plug 'tpope/vim-commentary'
Plug 'SirVer/UltiSnips'
Plug 'preservim/vim-markdown'
Plug 'honza/vim-snippets'
Plug 'mhinz/vim-signify'
Plug 'vim-test/vim-test'
Plug 'dense-analysis/ale'
call plug#end()


augroup textfiles
  autocmd!
  autocmd filetype markdown setlocal spell spelllang=en
augroup end

set background=dark
colorscheme industry