Whole fucking mess of shit
This commit is contained in:
parent
f8d0166333
commit
db10f2d1a5
10 changed files with 70 additions and 70 deletions
2
.antigen
2
.antigen
|
@ -1 +1 @@
|
|||
Subproject commit 1359b9966689e5afb666c2c31f5ca177006ce710
|
||||
Subproject commit 1fd76ad4385daee7e7c5793254649d2cbd85935c
|
|
@ -1 +1 @@
|
|||
Subproject commit 1697e9585b50ca8b9f5452d94f5385c967f0efd4
|
||||
Subproject commit 0aec943cfe8f7f7574b9d06df50cd968c5f61216
|
2
.vundle
2
.vundle
|
@ -1 +1 @@
|
|||
Subproject commit 4984767509e3d05ca051e253c8a8b37de784be45
|
||||
Subproject commit fef1c2f31862c44cf5295ef86c086efba4af20a9
|
|
@ -84,4 +84,13 @@
|
|||
KeyCode::VK_OPEN_URL_APP_Slack
|
||||
</autogen>
|
||||
</item>
|
||||
<item>
|
||||
<name>[fn +] F12 => Launch Developer Console</name>
|
||||
<identifier>fnF12</identifier>
|
||||
<autogen>
|
||||
--KeyToKey--
|
||||
KeyCode::I, ModifierFlag::COMMAND_R,
|
||||
KeyCode::OPTION_L, KeyCode::COMMAND_L, KeyCode::I
|
||||
</autogen>
|
||||
</item>
|
||||
</root>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
highlight ExtraWhitespace ctermbg=red guibg=red
|
2
vim/after/colors/solarized.vim
Normal file
2
vim/after/colors/solarized.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
highlight ExtraWhitespace ctermbg=red ctermfg=white
|
||||
|
|
@ -1 +0,0 @@
|
|||
"Goyo
|
|
@ -1,3 +0,0 @@
|
|||
setlocal shiftwidth=4
|
||||
setlocal softtabstop=4
|
||||
setlocal tabstop=4
|
|
@ -1 +0,0 @@
|
|||
"Goyo
|
117
vim/vimrc
117
vim/vimrc
|
@ -2,10 +2,6 @@ filetype detect
|
|||
filetype plugin on
|
||||
filetype indent on
|
||||
|
||||
" Sets up our filetypes
|
||||
autocmd BufNewFile,BufRead *.less set filetype=less
|
||||
autocmd BufRead,BufNewFile nginx.conf set filetype=nginx
|
||||
|
||||
" All those configuration variables
|
||||
set autoindent
|
||||
set autoread
|
||||
|
@ -39,13 +35,24 @@ set softtabstop=2
|
|||
set t_Co=256
|
||||
set tabstop=2
|
||||
set title
|
||||
set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)
|
||||
"set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)
|
||||
set tm=500
|
||||
set ttyfast
|
||||
set undolevels=1000
|
||||
set wildmenu
|
||||
set wildmode=list:longest
|
||||
|
||||
" Sets up our filetypes
|
||||
autocmd BufNewFile,BufRead *.dust,*.dustjs,*.tl set filetype=dustjs
|
||||
autocmd BufNewFile,BufRead *.less set filetype=less
|
||||
autocmd BufNewFile,BufRead nginx.conf set filetype=nginx
|
||||
|
||||
autocmd BufNewFile,BufRead *.mustache,*.hogan,*.hulk,*.hjs set filetype=html.mustache syntax=mustache
|
||||
autocmd BufNewFile,BufRead *.handlebars,*.hbs set filetype=html.handlebars syntax=mustache
|
||||
|
||||
autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 softtabstop=2
|
||||
autocmd FileType php setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
||||
|
||||
" Automatically wraps markdown and text to 80 columns
|
||||
if &filetype == 'markdown' || &filetype == 'text'
|
||||
set textwidth=80
|
||||
|
@ -62,79 +69,70 @@ endif
|
|||
"
|
||||
call vundle#rc()
|
||||
|
||||
Bundle 'gmarik/vundle'
|
||||
Bundle 'AfterColors.vim'
|
||||
Bundle 'altercation/vim-colors-solarized'
|
||||
Bundle 'bling/vim-airline'
|
||||
Bundle 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Bundle 'bling/vim-bufferline'
|
||||
Bundle 'cakebaker/scss-syntax.vim'
|
||||
Bundle 'ervandew/supertab'
|
||||
"Bundle 'garbas/vim-snipmate'
|
||||
Bundle 'groenewege/vim-less'
|
||||
Bundle 'joshtronic/php.vim'
|
||||
"Bundle 'jQuery'
|
||||
Bundle 'junegunn/goyo.vim'
|
||||
Bundle 'hail2u/vim-css3-syntax'
|
||||
"Bundle 'majutsushi/tagbar'
|
||||
"Bundle 'MarcWeber/vim-addon-mw-utils'
|
||||
Bundle 'mustache/vim-mustache-handlebars'
|
||||
"Bundle 'nathanaelkane/vim-indent-guides'
|
||||
"Bundle 'nginx.vim'
|
||||
"Bundle 'othree/html5.vim'
|
||||
Bundle 'pangloss/vim-javascript.git'
|
||||
"Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
|
||||
"Bundle 'skammer/vim-css-color'
|
||||
Bundle 'scrooloose/syntastic'
|
||||
Bundle 'shawncplus/phpcomplete.vim'
|
||||
"Bundle 'SearchComplete'
|
||||
Plugin 'gmarik/vundle'
|
||||
|
||||
Plugin 'AfterColors.vim'
|
||||
Plugin 'altercation/vim-colors-solarized'
|
||||
Plugin 'bling/vim-airline'
|
||||
Plugin 'bling/vim-bufferline'
|
||||
Plugin 'cakebaker/scss-syntax.vim'
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'ervandew/supertab'
|
||||
Plugin 'groenewege/vim-less'
|
||||
Plugin 'hail2u/vim-css3-syntax'
|
||||
Plugin 'jimmyhchan/dustjs.vim'
|
||||
Plugin 'joshtronic/php.vim'
|
||||
Plugin 'mustache/vim-mustache-handlebars'
|
||||
Plugin 'nathanaelkane/vim-indent-guides'
|
||||
Plugin 'pangloss/vim-javascript.git'
|
||||
Plugin 'scrooloose/syntastic'
|
||||
Plugin 'shawncplus/phpcomplete.vim'
|
||||
Plugin 'tmux-plugins/vim-tmux'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
|
||||
syntax enable
|
||||
set background=dark
|
||||
silent! colorscheme solarized
|
||||
|
||||
autocmd BufEnter * match ExtraWhitespace /\s\+$/
|
||||
autocmd BufEnter * match ExtraWhitespace /\s\+$/
|
||||
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
||||
autocmd InsertLeave * match ExtraWhiteSpace /\s\+$/
|
||||
|
||||
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||
highlight LineTooLong ctermbg=red guibg=red
|
||||
highlight LineTooLong ctermbg=red guibg=red
|
||||
|
||||
match LineTooLong /\%121v.\+/
|
||||
|
||||
" autocmd FileType css set omnifunc=csscomplete#CompleteCSS
|
||||
" autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
|
||||
" autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
|
||||
" autocmd FileType php set omnifunc=phpcomplete#CompletePHP
|
||||
" autocmd FileType python set omnifunc=pythoncomplete#Complete
|
||||
" autocmd FileType svn,*commit*,*issue* setlocal spell
|
||||
" autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
|
||||
|
||||
" highlight Conditional ctermfg=2
|
||||
" highlight Constant cterm=NONE ctermfg=2
|
||||
" highlight Function cterm=NONE ctermfg=2
|
||||
" highlight link javaScriptBraces NONE
|
||||
" highlight NonText ctermfg=237 guifg=#303030
|
||||
" highlight Number cterm=NONE ctermfg=darkred
|
||||
" highlight Search cterm=NONE ctermfg=NONE
|
||||
" highlight SpecialKey ctermfg=red guifg=#303030
|
||||
" highlight Statement cterm=NONE ctermfg=2
|
||||
" highlight String cterm=NONE ctermfg=darkred
|
||||
|
||||
let mapleader = ','
|
||||
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline_section_c = '%t'
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#extensions#tabline#fnamemod = ':t'
|
||||
let g:airline#extensions#tabline#show_tab_nr = 0
|
||||
let g:indent_guides_start_level = 2
|
||||
let g:indent_guides_guide_size = 1
|
||||
|
||||
let g:airline#extensions#tabline#buffer_idx_mode = 1
|
||||
nmap <leader>1 <Plug>AirlineSelectTab1
|
||||
nmap <leader>2 <Plug>AirlineSelectTab2
|
||||
nmap <leader>3 <Plug>AirlineSelectTab3
|
||||
nmap <leader>4 <Plug>AirlineSelectTab4
|
||||
nmap <leader>5 <Plug>AirlineSelectTab5
|
||||
nmap <leader>6 <Plug>AirlineSelectTab6
|
||||
nmap <leader>7 <Plug>AirlineSelectTab7
|
||||
nmap <leader>8 <Plug>AirlineSelectTab8
|
||||
nmap <leader>9 <Plug>AirlineSelectTab9
|
||||
|
||||
"let g:indent_guides_start_level = 2
|
||||
"let g:indent_guides_guide_size = 1
|
||||
|
||||
" Auto pastetoggle
|
||||
let &t_SI .= "\<Esc>[?2004h"
|
||||
let &t_EI .= "\<Esc>[?2004l"
|
||||
" let &t_SI .= "\<Esc>[?2004h"
|
||||
" let &t_EI .= "\<Esc>[?2004l"
|
||||
|
||||
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()
|
||||
" inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()
|
||||
|
||||
" Not entirely sure I need this. Auto pastetoggle within tmux
|
||||
"
|
||||
|
@ -172,9 +170,6 @@ nnoremap ; :
|
|||
nnoremap <Leader>[ :bprevious<CR>
|
||||
nnoremap <Leader>] :bnext<CR>
|
||||
|
||||
nnoremap <Leader>{ :bfirst<CR>
|
||||
nnoremap <Leader>} :blast<CR>
|
||||
|
||||
nnoremap <Leader>f :set nolist<CR>
|
||||
nnoremap <Leader>F :set list<CR>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue