Pentadactyl Config File - .pentadactylrc

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
fatboy
Astronaut
Astronaut
Posts: 556
Joined: 2017-12-19, 08:03
Location: Canada

Pentadactyl Config File - .pentadactylrc

Unread post by fatboy » 2023-05-16, 21:20

So I have been spending a bit of time getting my pentadactylrc file up to scratch.
I am very happy with it so far, and thought I might share it, to get more people interested in using it. It really is an amazing addon.

Code: Select all

colorscheme default
set history=10
setglobal showtabline=multitab
map -b j 8j
map -b k 8k

" Open Home Page
nmap -ex <g>g :open https://lite.qwant.com/?l=en&locale=en_ca&s=1&theme=1&ta=5
nmap -ex <g>h :open https://lite.qwant.com/?l=en&locale=en_ca&s=1&theme=1&ta=5
nmap -ex <g>H :tabopen about:newtab

" Reader Mode
nmap -ex <C-A-r>:command reader execute "open about:reader?url=" + content.location.href
" nmap -ex <C-r> :emenu View.Enter Reader View

"" Custom Search
command -nargs=* ddh open https://html.duckduckgo.com/html/search?q=<args>
command -nargs=* ddl open https://lite.duckduckgo.com/lite/search?q=<args>
command -nargs=* ddlt tabopen https://lite.duckduckgo.com/lite/search?q=<args>
command -nargs=* q open https://lite.qwant.com/?q=<args>&l=en&locale=en_ca&s=1&theme=1&ta=5
command -nargs=* qt tabopen https://lite.qwant.com/?q=<args>&l=en&locale=en_ca&s=1&theme=1&ta=5
command -nargs=* s  open https://searx.be/search?q=<args>
command -nargs=* sp tabopen https://startpage.com/sp/search?q=<args>
command -nargs=* sx tabopen https://searx.be/search?q=<args>
command -nargs=* yt tabopen https://yewtu.be/search?q=<args>
command -nargs=* gm tabopen https://lite.duckduckgo.com/lite/search?q=!gm <args>

"" C is for Control, S is for Shift, the <CR> is to execute the command immediately

" Speedtest (S)
nmap -ex <C-s>1 :background tabopen https://fast.com/
nmap -ex <C-s>2 :background tabopen https://librespeed.org/
nmap -ex <C-s>3 :background tabopen https://www.speedtest.net/

" Football (F)
nmap -ex <C-f>1 :background tabopen https://www.barcablaugranes.com/
nmap -ex <C-f>2 :background tabopen https://www.goal.com/en/

"" SA News (N)
nmap -ex <C-n>1 :background tabopen https://www.news24.com/
nmap -ex <C-n>2 :background tabopen https://mg.co.za/ 
nmap -ex <C-n>3 :background tabopen https://www.dailymaverick.co.za/
nmap -ex <C-n>4 :background tabopen https://www.cbc.ca/lite/news?sort=latest
nmap -ex <C-n>5 :background tabopen https://www.ctvnews.ca/canada 
nmap -ex <C-n>6 :background tabopen https://text.npr.org/ 
nmap -ex <C-n>7 :background tabopen https://lite.cnn.com/ 
nmap -ex <C-n>8 :background tabopen https://neuters.de/

"" Aggregators (A)
nmap -ex <C-a>1 :background tabopen https://brutalist.report/topic/news?
nmap -ex <C-a>2 :background tabopen https://readspike.com/ 

"" Tech (T)
nmap -ex <C-t>1 :background tabopen https://hackerweb.app/ 
nmap -ex <C-t>2 :background tabopen https://alterslash.org/

"" Weather (W)
nmap -ex <C-w>1 :background tabopen https://www.yr.no/en/
nmap -ex <C-w>2 :background tabopen https://weather.com/

"" Custom Keybindings
map <C-S-b> :sidebar! Bookmarks<CR>
map <C-b> :toolbartoggle Bookmarks Toolbar<CR>
map <C-h> :sidebar! History<CR>
nmap <C-S-d> :downloads<CR>
nmap <C-d> :emenu Bookmarks.Bookmark This Page<CR>
nmap <c> :tabclose<CR>
map <g>b :open about:mybookmarks<CR>
nmap <C-Right> :tabnext<CR>
nmap <C-Left> :tabprevious<CR>
nmap <C-t> :tabopen about:newtab<CR>
nmap <S-t> :background tabopen about:newtab<CR>
nmap <s> :ddl 
nmap <S-s> :ddlt 
nmap <q> :q 
nmap <S-q> :qt 
nmap <A-Down> :emenu View.Show All Tabs<CR>
nmap <S-y> :yt 
map <C-j> :execute yesScriptBrowserOverlay.toggle(setStyleDisabled);<CR>

Systemd Free - MX Linux, Antix Linux & Artix Linux

Locked