edited vimrc

main
Thomas Ba. 10 years ago
parent 8ad0fcbbf7
commit 9455432fcc

@ -1,16 +1,14 @@
" load plugins using vundle
source ~/.vim/vundle.vim source ~/.vim/vundle.vim
syntax on syntax on
filetype plugin on
filetype indent on
filetype plugin on
filetype plugin indent on filetype plugin indent on
set copyindent
" delete always on backspace " delete always on backspace
set backspace=indent,eol,start set backspace=indent,eol,start
" set colorscheme
if &term =~# '^\(screen\|xterm\)$' if &term =~# '^\(screen\|xterm\)$'
set t_Co=256 set t_Co=256
endif endif
@ -47,6 +45,7 @@ set title
set ttyfast set ttyfast
set hlsearch set hlsearch
set spelllang=de_de,en set spelllang=de_de,en
set copyindent
" move by screen lines, not by real lines - great for creative writing " move by screen lines, not by real lines - great for creative writing
nnoremap j gj nnoremap j gj
@ -134,6 +133,9 @@ command! CleanUpObfuscatedCode call CleanUpObfuscatedCode()
let g:Powerline_symbols = 'unicode' let g:Powerline_symbols = 'unicode'
set laststatus=2 set laststatus=2
let mapleader = "-"
let maplocalleader = "\\"
noremap <leader>y "+y noremap <leader>y "+y
noremap <leader>Y "+Y noremap <leader>Y "+Y
noremap <leader>p "+ noremap <leader>p "+
@ -147,6 +149,7 @@ let g:indent_guides_auto_colors = 0
" Hide latex output " Hide latex output
let NERDTreeIgnore=['\~$','\.\(aux\|nav\|out\|snm\|toc\|vrb\|o\)$'] let NERDTreeIgnore=['\~$','\.\(aux\|nav\|out\|snm\|toc\|vrb\|o\)$']
let g:nerdtree_plugin_open_cmd = "xdg-open"
let g:tex_flavor = "latex" let g:tex_flavor = "latex"
@ -156,8 +159,6 @@ let g:LargeFile = 200
" Nooo, dont blink!! " Nooo, dont blink!!
set guicursor=a:blinkon0 set guicursor=a:blinkon0
let g:nerdtree_plugin_open_cmd = "xdg-open"
let g:languagetool_jar = "/usr/share/java/languagetool/languagetool.jar"
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
@ -167,6 +168,7 @@ if has('gui_running')
map! <S-Insert> <MiddleMouse> map! <S-Insert> <MiddleMouse>
endif endif
let g:languagetool_lang = "de" let g:languagetool_lang = "de"
let g:languagetool_jar = "/usr/share/java/languagetool/languagetool.jar"
set statusline+=%#warningmsg# set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%{SyntasticStatuslineFlag()}
@ -181,3 +183,13 @@ let g:syntastic_perl_checkers = ['perl']
let g:syntastic_enable_perl_checker = 1 let g:syntastic_enable_perl_checker = 1
let g:syntastic_python_checkers = ['pylint'] let g:syntastic_python_checkers = ['pylint']
let g:syntastic_php_checkers = ['php'] let g:syntastic_php_checkers = ['php']
" syntastic
let g:syntastic_html_tidy_ignore_errors = ['warning: <div> proprietary attribute "data-role"', '<input> proprietary attribute "required"', '<input> proprietary attribute "pattern"', '<select> proprietary attribute "required"']
" vimux
" Set tmux pane percentage
let g:VimuxHeight = "30"
" Split tmux pane horizontally
let g:VimuxOrientation = "h"
" Prompt for a command to run
noremap <leader>vp :VimuxPromptCommand<CR>

@ -26,7 +26,6 @@ Plugin 'vim-scripts/JSON.vim'
" Files " Files
Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdtree'
"Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
if executable('ag') if executable('ag')
Plugin 'rking/ag.vim' Plugin 'rking/ag.vim'
@ -43,23 +42,26 @@ Plugin 'vim-scripts/LanguageTool'
Plugin 'thinca/vim-localrc' Plugin 'thinca/vim-localrc'
Plugin 'mtth/scratch.vim' Plugin 'mtth/scratch.vim'
Plugin 'scrooloose/syntastic' Plugin 'scrooloose/syntastic'
"Plugin 'jeetsukumaran/vim-buffergator'
Plugin 'ntpeters/vim-airline-colornum' Plugin 'ntpeters/vim-airline-colornum'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'vim-scripts/tComment' Plugin 'vim-scripts/tComment'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
Plugin 'tmhedberg/matchit' Plugin 'tmhedberg/matchit'
Bundle 'chase/vim-ansible-yaml' Plugin 'chase/vim-ansible-yaml'
Plugin 'jamessan/vim-gnupg'
Plugin 'docunext/closetag.vim'
Plugin 'lilydjwg/colorizer'
Plugin 'Townk/vim-autoclose'
" Interact with tmux from vim
Plugin 'benmills/vimux'
" test: " test:
"Plugin 'Yggdroot/indentLine' "Plugin 'Yggdroot/indentLine'
"Plugin 'honza/vim-snippets' "Plugin 'honza/vim-snippets'
Plugin 'lilydjwg/colorizer'
"Plugin 'junegunn/vim-easy-align' "Plugin 'junegunn/vim-easy-align'
"Plugin 'lervag/vimtex' "Plugin 'lervag/vimtex'
"Plugin 'reedes/vim-pencil' "Plugin 'reedes/vim-pencil'
"Plugin 'terryma/vim-multiple-cursors' "Plugin 'terryma/vim-multiple-cursors'
"Plugin 'mbbill/undotree' "Plugin 'mbbill/undotree'
Plugin 'Townk/vim-autoclose'
call vundle#end() call vundle#end()

Loading…
Cancel
Save