aboutsummaryrefslogtreecommitdiff
path: root/vimrc-medium
diff options
context:
space:
mode:
authorMax Christian Pohle2018-10-29 18:02:40 +0100
committerMax Christian Pohle2018-10-29 18:02:40 +0100
commiteb2e7959987ebc405c7a03060f259655e13f01d0 (patch)
tree773e2b638c135fb9861567585f4ce82db252df98 /vimrc-medium
parent6284983fedcbdc54874d6e657047994b292be480 (diff)
downloadvim-karlmarks-eb2e7959987ebc405c7a03060f259655e13f01d0.tar.bz2
vim-karlmarks-eb2e7959987ebc405c7a03060f259655e13f01d0.zip
Further cleaning finally done
Diffstat (limited to 'vimrc-medium')
-rw-r--r--vimrc-medium108
1 files changed, 0 insertions, 108 deletions
diff --git a/vimrc-medium b/vimrc-medium
deleted file mode 100644
index 8281ef1..0000000
--- a/vimrc-medium
+++ /dev/null
@@ -1,108 +0,0 @@
1set nocompatible " be iMproved, required
2filetype off " required
3
4
5
6call plug#begin()
7
8" let Vundle manage Vundle, required
9Plug 'VundleVim/Vundle.vim'
10
11Plug 'tpope/vim-sensible' | " a sane and modern default configuration
12Plug 'tpope/vim-fugitive' | " the most complete GIT integration plugin
13Plug 'tpope/vim-surround' | " plugin makes cs"' inside a line replace " with '
14Plug 'tpope/vim-repeat' | " lets . (dot) repeat plugin macros as well, specifically vim-surround
15Plug 'tpope/vim-vinegar' | " Improves :Explore
16Plug 'tpope/vim-characterize' | " normal mode: make ga show character names of Unicode chars (ga shows hex and dec values)
17
18Plug 'gregsexton/matchtag' | " highlights closing ML tags like braces
19Plug 'loremipsum' | " Sample text generator
20Plug 'vim-airline/vim-airline' | " beautification of the mode line
21Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme
22Plug 'sheerun/vim-polyglot'
23
24Plug 'f-breidenstein/icinga-vim'
25Plug 'godlygeek/tabular' | " align code on a sign, like :Tab/=
26
27"# Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript
28"# Plugin 'evanmiller/nginx-vim-syntax'
29
30
31" Plugin 'tpope/vim-vividchalk' | " dark theme
32" Plugin 'nelstrom/vim-mac-classic-theme' | " light theme
33
34
35
36" All of your Plugins must be added before the following line
37call plug#end() | " all plugins are getting loaded on this line, don't remove!
38
39filetype plugin indent on | " required
40
41" set term=xtermc | " required on solaris
42set t_Co=256
43colorscheme industry
44set background=light
45
46let g:airline_theme='luna'
47let g:airline_powerline_fonts = 1
48" enable airline's fancy headline with all buffers and tabs
49let g:airline#extensions#tabline#enabled = 1
50let g:airline#extensions#tabline#show_buffers = 1
51let g:airline#extensions#tabline#show_tabs = 1
52
53
54syntax on
55
56
57set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softtabstop, shiftwidth)
58
59set encoding=utf-8 | " set up vim's cosole encoding (not file encoding, for which there is fileencoding=)
60
61set ignorecase smartcase | " search with ignorecase by default, but use case sensitive search when one captical char is contained
62
63set lazyredraw
64set ttyscroll=3
65set ttyfast
66set mouse=a
67set hidden
68set viminfo+=% | " restore buffer list
69
70
71" set title
72" set t_ts=^[k
73" set t_fs=^[\
74" auto BufEnter * :set title | let &titlestring = 'v:' . expand('%')
75" auto VimLeave * :set t_ts=^[k^[\
76" To ignore plugin indent changes, instead use:
77"filetype plugin on
78"
79" Brief help
80" :PluginList - lists configured plugins
81" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
82" :PluginSearch foo - searches for foo; append `!` to refresh local cache
83" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
84"
85" see :h vundle for more details or wiki for FAQ
86" Put your non-Plugin stuff after this line
87"
88if has("autocmd")
89 set modeline | " set variables specific to a file, like indentation by adding a comment
90endif
91
92" set window title for screen(3)
93if &term == "screen"
94 set t_ts=k
95 set t_fs=\
96endif
97if &term == "screen" || &term == "xterm"
98 let &titlestring = "%t|".$USER."@".hostname().":%{expand(\"%:~:.:h\")}%=%y"
99 set title
100endif
101
102" let &titlestring = hostname() . "[vim(" . expand("%:t") . ")]"
103" automatically remove trailing white spaces on save..
104autocmd BufWritePre * %s/\s\+$//e
105
106nnoremap <Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs
107nnoremap <S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab
108
..