wip
This commit is contained in:
parent
76c2741a9c
commit
16579be0fc
1 changed files with 8 additions and 18 deletions
22
.vimrc
22
.vimrc
|
@ -33,10 +33,7 @@ set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
" Download plug-ins to the ~/.vim/plugged/ directory
|
" Download plug-ins to the ~/.vim/plugged/ directory
|
||||||
call vundle#begin('~/.vim/plugged')
|
call vundle#begin('~/.vim/plugged')
|
||||||
" Let Vundle manage Vundle
|
" Let Vundle manage Vundle
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim' "muss immer der erste eintrag sein
|
||||||
"Plugin 'vim-airline/vim-airline'
|
|
||||||
"Plugin 'vim-airline/vim-airline-themes'
|
|
||||||
"Plugin 'matze/vim-move'
|
|
||||||
Plugin 'sheerun/vim-polyglot'
|
Plugin 'sheerun/vim-polyglot'
|
||||||
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
||||||
Plugin 'jeetsukumaran/vim-buffergator'
|
Plugin 'jeetsukumaran/vim-buffergator'
|
||||||
|
@ -45,7 +42,6 @@ Plugin 'ctrlpvim/ctrlp.vim'
|
||||||
Plugin 'lifepillar/vim-solarized8'
|
Plugin 'lifepillar/vim-solarized8'
|
||||||
Plugin 'Yggdroot/indentLine'
|
Plugin 'Yggdroot/indentLine'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
"Plugin 'ryanoasis/vim-devicons'
|
|
||||||
Plugin 'jiangmiao/auto-pairs'
|
Plugin 'jiangmiao/auto-pairs'
|
||||||
Plugin 'preservim/nerdtree'
|
Plugin 'preservim/nerdtree'
|
||||||
Plugin 'unkiwii/vim-nerdtree-sync'
|
Plugin 'unkiwii/vim-nerdtree-sync'
|
||||||
|
@ -89,7 +85,7 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr
|
||||||
" " This is almost a must if you wish to use buffers in this way.
|
" " This is almost a must if you wish to use buffers in this way.
|
||||||
set hidden
|
set hidden
|
||||||
"
|
"
|
||||||
"" To open a new empty buffer
|
" To open a new empty buffer
|
||||||
" This replaces :tabnew which I used to bind to this mapping
|
" This replaces :tabnew which I used to bind to this mapping
|
||||||
nmap <C-t> :enew<cr>
|
nmap <C-t> :enew<cr>
|
||||||
"
|
"
|
||||||
|
@ -99,18 +95,14 @@ nmap <C-l> :bnext<CR>
|
||||||
" Move to the previous buffer
|
" Move to the previous buffer
|
||||||
nmap <C-h> :bprevious<CR>
|
nmap <C-h> :bprevious<CR>
|
||||||
"
|
"
|
||||||
"" Close the current buffer and move to the previous one
|
" Close the current buffer and move to the previous one
|
||||||
" This replicates the idea of closing a tab
|
" This replicates the idea of closing a tab
|
||||||
nmap <C>bq :bp <BAR> bd #<CR>
|
nmap <C-w> :bp <BAR> bd #<CR>
|
||||||
"
|
"
|
||||||
"" Show all open buffers and their status
|
"" Show all open buffers and their status
|
||||||
nmap <C>bl :ls<CR>"
|
nmap <C-b> :BuffergatorToggle<CR>"
|
||||||
" "
|
|
||||||
" "
|
|
||||||
" "
|
|
||||||
" "
|
|
||||||
"
|
"
|
||||||
"" nerdtree-git-plugin
|
" nerdtree-git-plugin
|
||||||
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
||||||
\ 'Modified' :'*',
|
\ 'Modified' :'*',
|
||||||
\ 'Staged' :'+',
|
\ 'Staged' :'+',
|
||||||
|
@ -174,8 +166,6 @@ let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
|
||||||
" https://github.com/ctrlpvim/ctrlp.vim
|
" https://github.com/ctrlpvim/ctrlp.vim
|
||||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
||||||
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
|
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
|
||||||
" airline
|
|
||||||
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue