diff options
Diffstat (limited to 'vim/min-vim')
-rw-r--r-- | vim/min-vim | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/vim/min-vim b/vim/min-vim new file mode 100644 index 0000000..f9468f6 --- /dev/null +++ b/vim/min-vim @@ -0,0 +1,72 @@ +filetype plugin on +filetype plugin indent on + +"source ~/.vim/grep.vim + +let maplocalleader = "\\" +let mapleader = "," + +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 + + +augroup textfiles + autocmd! + autocmd filetype markdown setlocal spell spelllang=en +augroup end + +set background=dark +colorscheme koehler +syntax on |