diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-07-12 14:42:59 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-07-12 14:42:59 +0800 |
commit | 7c2f80771d690603445e8289e84945c71774c060 (patch) | |
tree | 88ce2dac2448aeba239f50363da8d95b016648d7 /.vimrc |
Initial dotfiles (fkfd@bandito)
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 58 |
1 files changed, 58 insertions, 0 deletions
@@ -0,0 +1,58 @@ +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() + +Plugin 'VundleVim/Vundle.vim' + +" Keep Plugin commands between vundle#begin/end. +" Plugin 'file:///home/fakefred/.vim/bundle/vim-fugitive' +" Plugin 'file:///home/fakefred/.vim/bundle/indentpython.vim' +" Plugin 'file:///home/fakefred/.vim/bundle/YouCompleteMe' +" Plugin 'file:///home/fakefred/.vim/bundle/vdebug' +Plugin 'file:///home/fakefred/.vim/bundle/vim-airline' +Plugin 'file:///home/fakefred/.vim/bundle/vim-airline-themes' +" Plugin 'file:///home/fakefred/.vim/bundle/vim-multiple-cursors' +" Plugin 'file:///home/fakefred/.vim/bundle/nerdtree' +" Plugin 'file:///home/fakefred/.vim/bundle/nerdtree-git-plugin' +" Plugin 'file:///home/fakefred/.vim/bundle/vim-nerdtree-tabs' +" Plugin 'jedi-vim' + +" All of your Plugins must be added before the following line +call vundle#end() " required +filetype plugin indent on " required + +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal +" +" see :h vundle for more details or wiki for FAQ +" Put your non-Plugin stuff after this line + +set encoding=utf-8 +syntax on +set number +set background=dark +" set mouse=a +" Enable Folding +set foldmethod=indent +set foldlevel=99 +nnoremap <space> za + +" Indentation +" au BufNewFile,BufRead *.py +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +" set textwidth=79 +set expandtab +set autoindent +set fileformat=unix + +" au BufRead,BufNewFile *.py match BadWhitespace /\s\+$/ + +" autocmd vimenter * NERDTree |