New modules

This commit is contained in:
Bartek Stalewski 2016-06-09 11:40:26 +02:00
parent 7d5de17610
commit 8c22db7bba
7 changed files with 33 additions and 8 deletions

15
.gitmodules vendored
View File

@ -13,3 +13,18 @@
[submodule "vim/bundle/vim-airline-themes"] [submodule "vim/bundle/vim-airline-themes"]
path = vim/bundle/vim-airline-themes path = vim/bundle/vim-airline-themes
url = https://github.com/vim-airline/vim-airline-themes url = https://github.com/vim-airline/vim-airline-themes
[submodule "vim/bundle/vim-snippets"]
path = vim/bundle/vim-snippets
url = https://github.com/honza/vim-snippets.git
[submodule "vim/bundle/tlib_vim"]
path = vim/bundle/tlib_vim
url = https://github.com/tomtom/tlib_vim.git
[submodule "vim/bundle/vim-addon-mw-utils"]
path = vim/bundle/vim-addon-mw-utils
url = https://github.com/MarcWeber/vim-addon-mw-utils.git
[submodule "vim/bundle/vim-snipmate"]
path = vim/bundle/vim-snipmate
url = https://github.com/garbas/vim-snipmate.git
[submodule "vim/bundle/tabular"]
path = vim/bundle/tabular
url = https://github.com/godlygeek/tabular.git

1
vim/bundle/tabular Submodule

@ -0,0 +1 @@
Subproject commit 00e1e7fcdbc6d753e0bc8043e0d2546fa81bf367

1
vim/bundle/tlib_vim Submodule

@ -0,0 +1 @@
Subproject commit 34b13299b5da7ad66ea387027d458bd54127687c

@ -0,0 +1 @@
Subproject commit 0c5612fa31ee434ba055e21c76f456244b3b5109

@ -0,0 +1 @@
Subproject commit 0c20e4136a298a73e21047d12cc5049595fb8445

@ -0,0 +1 @@
Subproject commit 5225b549487bf97eb5aa6c5cae91379a1ad9b7ba

View File

@ -18,8 +18,8 @@ set nowritebackup
set title set title
set number set number
set showcmd "show combo command as you type it in the bottom right corner "set showcmd "show combo command as you type it in the bottom right corner
set showmode "show what mode you're in (Insert, Replace, Visual, etc.) set noshowmode "don't show what mode
set ruler laststatus=2 "show rulers for buffers and the status line even if there's only 1 file set ruler laststatus=2 "show rulers for buffers and the status line even if there's only 1 file
set clipboard+=unnamed "the same clipboard is used for Visual mode set clipboard+=unnamed "the same clipboard is used for Visual mode
set ignorecase smartcase "when searching, match case only when at least one char is upper set ignorecase smartcase "when searching, match case only when at least one char is upper
@ -37,7 +37,7 @@ set bs=2
nmap <tab> w nmap <tab> w
nmap  :wq! nmap  :wq!
imap  <BS> nmap  <BS>
map <leader>b <Esc>:set cc=79<CR> map <leader>b <Esc>:set cc=79<CR>
map <leader>nb <Esc>:set cc=0<CR> map <leader>nb <Esc>:set cc=0<CR>
@ -54,12 +54,17 @@ nnoremap n nzzzv
nnoremap N Nzzzv¬ nnoremap N Nzzzv¬
au BufRead,BufNewFile *.pp au BufRead,BufNewFile *.pp
\ set filetype=puppet \ set filetype=puppet
au BufRead,BufNewFile *_spec.rb
\ nmap <F8> :!rspec --color %<CR>
filetype plugin indent on filetype plugin indent on
"====[ Make tabs, trailing whitespace, and non-breaking spaces visible ]======
exec "set listchars=tab:\uBB\uBB,trail:\uB7,nbsp:~" exec "set listchars=tab:\uBB\uBB,trail:\uB7,nbsp:~"
set list set list
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline_theme='powerlineish'
let g:airline#extensions#tabline#left_sep = ''
let g:airline#extensions#tabline#left_alt_sep = ''
let g:airline#extensions#tabline#right_sep = ''
let g:airline#extensions#tabline#right_alt_sep = ''