mirror of
https://github.com/vbrandl/dotfiles
synced 2024-11-22 16:03:50 +01:00
Update vimrc
This commit is contained in:
parent
7e4c8e9d7a
commit
b062a1c03f
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,7 +1,3 @@
|
||||
[submodule "editors/vim/bundle/Vundle.vim"]
|
||||
path = editors/vim/bundle/Vundle.vim
|
||||
url = https://github.com/VundleVim/Vundle.vim.git
|
||||
branch = master
|
||||
[submodule "terminals/colors/base16-shell"]
|
||||
path = terminals/colors/base16-shell
|
||||
url = https://github.com/chriskempson/base16-shell.git
|
||||
|
2450
editors/vim/autoload/plug.vim
Normal file
2450
editors/vim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
Subproject commit 6497e37694cd2134ccc3e2526818447ee8f20f92
|
@ -1,61 +1,51 @@
|
||||
call vundle#begin()
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
" vundle needs to handle itself
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plug 'vim-airline/vim-airline' | Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
" colorschemes
|
||||
" Plug 'dracula/vim'
|
||||
Plugin 'joshdick/onedark.vim'
|
||||
Plug 'joshdick/onedark.vim'
|
||||
|
||||
Plugin 'editorconfig/editorconfig-vim'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
|
||||
" Notetaking
|
||||
Plugin 'xolox/vim-misc'
|
||||
Plugin 'xolox/vim-notes'
|
||||
Plug 'xolox/vim-misc'
|
||||
Plug 'xolox/vim-notes'
|
||||
|
||||
" reStructuredText
|
||||
Plugin 'Rykka/riv.vim'
|
||||
Plugin 'Rykka/InstantRst' " instant preview
|
||||
Plug 'Rykka/riv.vim', { 'for': 'rst' } " reStructuredText
|
||||
|
||||
Plugin 'cespare/vim-toml' " toml highlighting
|
||||
Plug 'cespare/vim-toml', { 'for': 'toml' } " toml highlighting
|
||||
|
||||
" Plugin 'w0rp/ale' " syntax checking
|
||||
Plugin 'ervandew/supertab'
|
||||
Plugin 'tpope/vim-commentary'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'tpope/vim-repeat' " make plugin commands repeatable
|
||||
Plugin 'tpope/vim-dispatch' " dispatch into tmux panes
|
||||
Plugin 'vim-scripts/ReplaceWithRegister'
|
||||
Plugin 'mattn/vim-maketable' " create tables from selection
|
||||
Plugin 'dhruvasagar/vim-table-mode' " handle tables
|
||||
Plugin 'mattn/webapi-vim' " web api
|
||||
Plugin 'mattn/gist-vim' " create gist from within vim
|
||||
Plugin 'michaeljsmith/vim-indent-object' " indent as textobject
|
||||
Plugin 'Raimondi/delimitMate' " autoclose quotes and brackets
|
||||
"Plugin 'SirVer/ultisnips' " snippets
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } | Plugin 'Xuyuanp/nerdtree-git-plugin' | Plugin 'ryanoasis/vim-devicons'
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'neomake/neomake'
|
||||
Plugin 'benmills/vimux'
|
||||
Plugin 'AndrewRadev/splitjoin.vim'
|
||||
Plugin 'tpope/vim-sleuth' " autodetect indent style (tabs vs. spaces)
|
||||
Plugin 'sickill/vim-pasta' " context aware pasting
|
||||
Plugin 'elzr/vim-json' " JSON support
|
||||
Plugin 'davidhalter/jedi-vim' " python autocomplete
|
||||
Plugin 'junegunn/goyo.vim' " distraction free writing
|
||||
Plug 'ervandew/supertab' " simple autocomplete
|
||||
Plug 'tpope/vim-commentary' " (un)comment
|
||||
Plug 'tpope/vim-surround' " handle surroundings
|
||||
Plug 'tpope/vim-repeat' " make plugin commands repeatable
|
||||
Plug 'tpope/vim-dispatch' " dispatch into tmux panes
|
||||
Plug 'vim-scripts/ReplaceWithRegister'
|
||||
Plug 'mattn/gist-vim' | Plug 'mattn/webapi-vim' " create gist from within vim
|
||||
Plug 'Raimondi/delimitMate' " autoclose quotes and brackets
|
||||
Plug 'tpope/vim-fugitive' " awesome git plugin
|
||||
Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] }
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] }
|
||||
Plug 'ryanoasis/vim-devicons' " icons
|
||||
Plug 'ctrlpvim/ctrlp.vim' " fuzzy file finder
|
||||
Plug 'neomake/neomake' " async linting and making
|
||||
Plug 'benmills/vimux' " tmux support
|
||||
Plug 'sickill/vim-pasta' " context aware pasting
|
||||
Plug 'junegunn/goyo.vim' " distraction free writing
|
||||
|
||||
Plug 'elzr/vim-json', { 'for': 'json' } " better JSON support
|
||||
|
||||
" Python
|
||||
Plug 'davidhalter/jedi-vim', { 'for': 'python' } " python autocomplete
|
||||
|
||||
" Rust plugins
|
||||
Plugin 'racer-rust/vim-racer' " rust autocomplete
|
||||
Plugin 'rust-lang/rust.vim' " rust syntax, error checking, etc
|
||||
Plugin 'jtdowney/vimux-cargo' " run cargo in tmux using vimux
|
||||
Plug 'racer-rust/vim-racer', { 'for': 'rust' } " rust autocomplete
|
||||
Plug 'rust-lang/rust.vim', { 'for': 'rust' } " rust syntax, error checking, etc
|
||||
Plug 'jtdowney/vimux-cargo', { 'for': 'rust' } " run cargo in tmux using vimux
|
||||
|
||||
" LaTeX
|
||||
Plugin 'lervag/vimtex'
|
||||
|
||||
call vundle#end()
|
||||
Plug 'lervag/vimtex', { 'for': ['tex', 'plaintex'] }
|
||||
|
||||
call plug#end()
|
||||
" vim: set filetype=vim ts=4 sw=4 tw=120 noet :
|
||||
|
@ -1,13 +1,10 @@
|
||||
" vundle
|
||||
" set vIM mode
|
||||
set nocompatible
|
||||
filetype off
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
filetype plugin indent on
|
||||
|
||||
source ~/.vim/plugins.vim
|
||||
|
||||
filetype plugin indent on
|
||||
|
||||
" Get the defaults that most users want.
|
||||
source $VIMRUNTIME/defaults.vim
|
||||
|
||||
@ -85,6 +82,8 @@ set fileencoding=utf-8
|
||||
" break at last word instead of last char
|
||||
set linebreak
|
||||
|
||||
set autoread " autoload file changes
|
||||
|
||||
" tab control
|
||||
set noexpandtab " insert tabs
|
||||
set smarttab
|
||||
|
Loading…
Reference in New Issue
Block a user