Add FF cutsom tab file

This commit is contained in:
Bill Niblock 2016-11-05 19:18:12 -04:00
parent 84b4b806b7
commit c138c91cf5
2 changed files with 115 additions and 34 deletions

91
firefox/mytab.html Normal file
View file

@ -0,0 +1,91 @@
<!-- Custom HTML Homepage for niblock -->
<!DOCTYPE html>
<html>
<head>
<style>
html {
background-color: #0e0e0e;
color: #5555ff
}
body {
position:absolute; left: 20%; right: 20%; top: 30%;
margin-left: auto; margin-right: auto;
}
a {
color: #5555ff;
text-decoration: none;
transition: color 1s;
}
a:hover {
color: #555555;
text-decoration: none;
transition: color 1s;
}
#links {
position: relative;
float: left; width: 150px;
margin: 2%; padding: 0px 0px 12px 0px;
list-style: none;
border: 1px solid white;
border-radius: 10px;
background-color: #82db82;
}
#links #header {
background-color: #82db82;
color: black;
border-top-right-radius: 10px; border-top-left-radius: 10px;
}
#links li {
padding: 5px 10px;
background-color: black;
text-align: center;
}
footer {
position: fixed; bottom: 0px; left: 0px; right: 0px; width: 75%;
margin-left: auto; margin-right: auto;
text-align: center; letter-spacing: 5px;
font-family: monospace; font-weight: bold;
color: white;
}
</style>
</head>
<body>
<!-- Commonly visited links -->
<ul id="links">
<li id="header">Video</li>
<li><a href="https://www.youtube.com/feed/subscriptions">
YouTube</a></li>
<li><a href="https://www.twitch.tv/directory/following">
Twitch</a></li>
<li><a href="https://www.netflix.com">Netflix</a></li>
<li><a href="https://www.amazon.com/video">Amazon</a></li>
</ul>
<ul id="links">
<li id="header">Reddit</li>
<li><a href="https://www.reddit.com">Home</a></li>
<li><a href="https://www.reddit.com/r/vim">Vim</a></li>
<li><a href="https://www.reddit.com/r/sysadmin">Sys Admin</a></li>
<li><a href="https://www.reddit.com/r/unixporn">Unix Porn</a></li>
<li><a href="https://www.reddit.com/r/stoicism">Stoicism</a></li>
</ul>
<ul id="links">
<li id="header">News</li>
<li>Feedly</li>
<li>Hacker News</li>
</ul>
<ul id="links">
<li id="header">Other</li>
<li>Kingdom of Loathing</li>
</ul>
<ul id="links">
<li id="header">???</li>
</ul>
</body>
<footer>
<hr>
<p>ENDURE and RENOUNCE</p>
</footer>
</html>

View file

@ -21,29 +21,28 @@ set autoread
" Shows you which commands you're typing
set showcmd
" Enable line numbers, and make them relative
" Enable line numbers
set number
set rnu
" Indendation modifications
" Auto indent; set spacing; use spaces
set autoindent
set expandtab
set smarttab
set shiftwidth=5
set softtabstop=5
" Ruby-specific
augroup rubyfiletypes
set shiftwidth=4
set softtabstop=4
" File-Type Specifics
augroup customfiletypes
" Clear old autocmds in group
autocmd!
" Set auto-indent to two spaces, always expand tabs
autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et
autocmd FileType ruby,eruby,yaml set sw=2 sts=2
augroup END
" Spacing
" Set width; word wrap; scroll mods
set scrolloff=5
set tw=80
set textwidth=80
" set colorcolumn=80
set wrap
@ -60,22 +59,13 @@ set hlsearch
" Set default/backup colorscheme
colorscheme desert
"######
"# Plugins
"###
" Old Way: Pathogen, add-ons go in ~/.vim/bundle/
" runtime bundle/vim-pathogen/autoload/pathogen.vim
" execute pathogen#infect()
" New Way: Vim-Plug, add-ons configured in .vimrc-plugins
if filereadable(expand("~/.vimrc-plugins"))
source ~/.vimrc-plugins
endif
"######
"# Mappings
"##
"
" I make use of many mappings from vim-impaired (hlsearch, relative numbering,
" and several other toggles). I highly suggest investing the time to learn and
" take advantage of those very eash mappings!
" Map Leader key
let mapleader = ","
@ -86,10 +76,6 @@ nnoremap <silent> k gk
nnoremap <silent> ^ g^
nnoremap <silent> $ g$
" Shift between tabs with Shift+h/l
nnoremap <silent> <S-l> gt
nnoremap <silent> <S-h> gT
" Move between splits with CTRL+h/j/k/l
nnoremap <silent> <C-l> <C-w>l
nnoremap <silent> <C-k> <C-w>k
@ -99,12 +85,6 @@ nnoremap <silent> <C-h> <C-w>h
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
" Toggle relative numbering
nnoremap <silent> <leader>n :set rnu!<CR>
" Easy-toggle nohlsearch
nnoremap <silent> <leader>h :set nohlsearch!<CR>
" Edit dotfiles with <leader>d
" v is for vim
nnoremap <silent> <leader>dv :tabnew ~/.dotfiles/vim/vimrc<CR>
@ -119,8 +99,18 @@ nnoremap <silent> <leader>h :set nohlsearch!<CR>
" Remap ESC in insert mode
inoremap jk <esc>
" Toggle spell-check
nmap <silent> <leader>s :set spell!<CR>
" Remove Trailing Whitespaace
nnoremap <silent> <leader>rtw :%s/\s\+$//e<CR>
"######
"# Plugins
"###
" Old Way: Pathogen, add-ons go in ~/.vim/bundle/
" runtime bundle/vim-pathogen/autoload/pathogen.vim
" execute pathogen#infect()
" New Way: Vim-Plug, add-ons configured in .vimrc-plugins
if filereadable(expand("~/.vimrc-plugins"))
source ~/.vimrc-plugins
endif