diff options
author | Max Christian Pohle | 2018-10-29 18:02:40 +0100 |
---|---|---|
committer | Max Christian Pohle | 2018-10-29 18:02:40 +0100 |
commit | eb2e7959987ebc405c7a03060f259655e13f01d0 (patch) | |
tree | 773e2b638c135fb9861567585f4ce82db252df98 /vimrc-medium | |
parent | 6284983fedcbdc54874d6e657047994b292be480 (diff) | |
download | vim-eb2e7959987ebc405c7a03060f259655e13f01d0.tar.bz2 vim-eb2e7959987ebc405c7a03060f259655e13f01d0.zip |
Further cleaning finally done
Diffstat (limited to 'vimrc-medium')
-rw-r--r-- | vimrc-medium | 108 |
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 @@ | |||
1 | set nocompatible " be iMproved, required | ||
2 | filetype off " required | ||
3 | |||
4 | |||
5 | |||
6 | call plug#begin() | ||
7 | |||
8 | " let Vundle manage Vundle, required | ||
9 | Plug 'VundleVim/Vundle.vim' | ||
10 | |||
11 | Plug 'tpope/vim-sensible' | " a sane and modern default configuration | ||
12 | Plug 'tpope/vim-fugitive' | " the most complete GIT integration plugin | ||
13 | Plug 'tpope/vim-surround' | " plugin makes cs"' inside a line replace " with ' | ||
14 | Plug 'tpope/vim-repeat' | " lets . (dot) repeat plugin macros as well, specifically vim-surround | ||
15 | Plug 'tpope/vim-vinegar' | " Improves :Explore | ||
16 | Plug 'tpope/vim-characterize' | " normal mode: make ga show character names of Unicode chars (ga shows hex and dec values) | ||
17 | |||
18 | Plug 'gregsexton/matchtag' | " highlights closing ML tags like braces | ||
19 | Plug 'loremipsum' | " Sample text generator | ||
20 | Plug 'vim-airline/vim-airline' | " beautification of the mode line | ||
21 | Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme | ||
22 | Plug 'sheerun/vim-polyglot' | ||
23 | |||
24 | Plug 'f-breidenstein/icinga-vim' | ||
25 | Plug '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 | ||
37 | call plug#end() | " all plugins are getting loaded on this line, don't remove! | ||
38 | |||
39 | filetype plugin indent on | " required | ||
40 | |||
41 | " set term=xtermc | " required on solaris | ||
42 | set t_Co=256 | ||
43 | colorscheme industry | ||
44 | set background=light | ||
45 | |||
46 | let g:airline_theme='luna' | ||
47 | let g:airline_powerline_fonts = 1 | ||
48 | " enable airline's fancy headline with all buffers and tabs | ||
49 | let g:airline#extensions#tabline#enabled = 1 | ||
50 | let g:airline#extensions#tabline#show_buffers = 1 | ||
51 | let g:airline#extensions#tabline#show_tabs = 1 | ||
52 | |||
53 | |||
54 | syntax on | ||
55 | |||
56 | |||
57 | set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softtabstop, shiftwidth) | ||
58 | |||
59 | set encoding=utf-8 | " set up vim's cosole encoding (not file encoding, for which there is fileencoding=) | ||
60 | |||
61 | set ignorecase smartcase | " search with ignorecase by default, but use case sensitive search when one captical char is contained | ||
62 | |||
63 | set lazyredraw | ||
64 | set ttyscroll=3 | ||
65 | set ttyfast | ||
66 | set mouse=a | ||
67 | set hidden | ||
68 | set 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 | " | ||
88 | if has("autocmd") | ||
89 | set modeline | " set variables specific to a file, like indentation by adding a comment | ||
90 | endif | ||
91 | |||
92 | " set window title for screen(3) | ||
93 | if &term == "screen" | ||
94 | set t_ts=k | ||
95 | set t_fs=\ | ||
96 | endif | ||
97 | if &term == "screen" || &term == "xterm" | ||
98 | let &titlestring = "%t|".$USER."@".hostname().":%{expand(\"%:~:.:h\")}%=%y" | ||
99 | set title | ||
100 | endif | ||
101 | |||
102 | " let &titlestring = hostname() . "[vim(" . expand("%:t") . ")]" | ||
103 | " automatically remove trailing white spaces on save.. | ||
104 | autocmd BufWritePre * %s/\s\+$//e | ||
105 | |||
106 | nnoremap <Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs | ||
107 | nnoremap <S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab | ||
108 | |||