ajout troll config
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
" ~/.vimrc
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
" alternatively, pass a path where Vundle should install plugins
|
||||
"call vundle#begin('~/some/path/here')
|
||||
|
||||
" let Vundle manage Vundle, required
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
" https://github.com/tpope/vim-sensible
|
||||
Plugin 'tpope/vim-sensible'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
" To ignore plugin indent changes, instead use:
|
||||
"filetype plugin on
|
||||
|
||||
runtime! plugin/sensible.vim
|
||||
|
||||
"colorscheme darkblue
|
||||
colorscheme quiet
|
||||
set encoding=utf-8 fileencodings=
|
||||
syntax on
|
||||
|
||||
set number
|
||||
set cc=80
|
||||
|
||||
autocmd Filetype make setlocal noexpandtab
|
||||
|
||||
set list listchars=tab:»·,trail:·
|
||||
|
||||
|
||||
" per .git vim configs
|
||||
" just `git config vim.settings "expandtab sw=4 sts=4"` in a git repository
|
||||
" change syntax settings for this repository
|
||||
let git_settings = system("git config --get vim.settings")
|
||||
if strlen(git_settings)
|
||||
exe "set" git_settings
|
||||
endif
|
||||
Reference in New Issue
Block a user