Compare commits
No commits in common. "d85d99fa5c660d29ca570b7410c925530386a891" and "1f1ad7a66ad5466c69eb71b2d7f4322485810504" have entirely different histories.
d85d99fa5c
...
1f1ad7a66a
@ -54,9 +54,9 @@ elif [[ "${HOSTNAME}" == "bespin" ]]; then
|
|||||||
elif [[ "${HOSTNAME}" == "dorky" ]]; then
|
elif [[ "${HOSTNAME}" == "dorky" ]]; then
|
||||||
userStyle="${yellow}"
|
userStyle="${yellow}"
|
||||||
elif [[ "${HOSTNAME}" == "emmett" ]]; then
|
elif [[ "${HOSTNAME}" == "emmett" ]]; then
|
||||||
userStyle="${green}"
|
userStyle="${yellow}"
|
||||||
elif [[ "${HOSTNAME}" == "dudley" ]]; then
|
elif [[ "${HOSTNAME}" == "dudley" ]]; then
|
||||||
userStyle="${cyan}"
|
userStyle="${orange}"
|
||||||
elif [[ "${HOSTNAME}" == "lars" ]]; then
|
elif [[ "${HOSTNAME}" == "lars" ]]; then
|
||||||
userStyle="${white}"
|
userStyle="${white}"
|
||||||
else
|
else
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
" Use the Solarized Dark theme
|
||||||
|
set background=dark
|
||||||
|
colorscheme solarized
|
||||||
" Use 14pt Monaco
|
" Use 14pt Monaco
|
||||||
set guifont=Monaco:h14
|
set guifont=Monaco:h14
|
||||||
" Don’t blink cursor in normal mode
|
" Don’t blink cursor in normal mode
|
||||||
|
@ -217,10 +217,6 @@ function! DisableIndentY()
|
|||||||
set indentexpr&
|
set indentexpr&
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Javascript
|
|
||||||
" -------------------------
|
|
||||||
au BufRead,BufNewFile *.js,*.javascript set tabstop=2 shiftwidth=2 softtabstop=2 nowrap
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
" ------------------------
|
" ------------------------
|
||||||
@ -550,13 +546,40 @@ function! BgToggle()
|
|||||||
endfunction
|
endfunction
|
||||||
nnoremap <F5> :call BgToggle()<cr>
|
nnoremap <F5> :call BgToggle()<cr>
|
||||||
|
|
||||||
|
" to install vim-colors-solarized plugin:
|
||||||
|
" git clone git://github.com/altercation/vim-colors-solarized.git ~/.vim/bundle/vim-colors-solarized
|
||||||
|
"
|
||||||
|
let g:solarized_termcolors=256
|
||||||
|
|
||||||
|
"" If the following line is commented out,
|
||||||
|
"" F5/background toggle will change from
|
||||||
|
"" dark to light. If the line is enabled,
|
||||||
|
"" the background color will remain the same
|
||||||
|
"" dark default terminal backgorund color.
|
||||||
|
"let g:solarized_termtrans = 1
|
||||||
|
"
|
||||||
|
let g:solarized_degrade = 0
|
||||||
|
let g:solarized_bold = 1
|
||||||
|
let g:solarized_underline = 1
|
||||||
|
let g:solarized_italic = 1
|
||||||
|
let g:solarized_contrast = "normal"
|
||||||
|
let g:solarized_visibility= "normal"
|
||||||
|
|
||||||
|
" install solarized by getting the
|
||||||
|
" solarized color scheme in vim format
|
||||||
|
" (solarized.vim) from here:
|
||||||
|
"
|
||||||
|
" wget https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim -O ~/.vim/colors/solarized.vim
|
||||||
|
"
|
||||||
|
" put it in ~/.vim/colors/solarized.vim
|
||||||
|
colorscheme solarized
|
||||||
|
|
||||||
" more color schemes:
|
" more color schemes:
|
||||||
"colorscheme blue
|
"colorscheme blue
|
||||||
"colorscheme darkblue
|
"colorscheme darkblue
|
||||||
"colorscheme default
|
"colorscheme default
|
||||||
"colorscheme delek
|
"colorscheme delek
|
||||||
colorscheme desert " <-- old standby
|
"colorscheme desert " <-- old standby
|
||||||
"colorscheme elflord
|
"colorscheme elflord
|
||||||
"colorscheme evening
|
"colorscheme evening
|
||||||
"colorscheme industry
|
"colorscheme industry
|
||||||
@ -587,14 +610,6 @@ nnoremap <S-L> :join<CR>
|
|||||||
map <S-j> 7j
|
map <S-j> 7j
|
||||||
map <S-k> 7k
|
map <S-k> 7k
|
||||||
|
|
||||||
" Bubble text up/down
|
|
||||||
" Single line:
|
|
||||||
nmap <C-k> ddkP
|
|
||||||
nmap <C-j> ddp
|
|
||||||
" Multiple lines:
|
|
||||||
vmap <C-k> xkP`[V`]
|
|
||||||
vmap <C-j> xp`[V`]
|
|
||||||
|
|
||||||
" -----------------------------
|
" -----------------------------
|
||||||
" Jedi Autocomplete Plugin
|
" Jedi Autocomplete Plugin
|
||||||
" -----------------------------
|
" -----------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user